summaryrefslogtreecommitdiff
path: root/linux/drivers/media/video/cx23885
diff options
context:
space:
mode:
authorAbylay Ospan <aospan@netup.ru>2009-09-16 21:11:15 +0400
committerAbylay Ospan <aospan@netup.ru>2009-09-16 21:11:15 +0400
commit8a6da6023dbd9339fc8944814e85711b5e3bfd72 (patch)
treeb71c34ee8b9bbfc78e16f823f0cbb13698118b55 /linux/drivers/media/video/cx23885
parentd54457b30694e04b54a5e2742a2ae42274d54e50 (diff)
downloadmediapointer-dvb-s2-8a6da6023dbd9339fc8944814e85711b5e3bfd72.tar.gz
mediapointer-dvb-s2-8a6da6023dbd9339fc8944814e85711b5e3bfd72.tar.bz2
Fix MAC address reading from EEPROM in NetUP Dual DVB-S2 CI card.
From: Abylay Ospan <aospan@netup.ru> Signed-off-by: Abylay Ospan <aospan@netup.ru>
Diffstat (limited to 'linux/drivers/media/video/cx23885')
-rw-r--r--linux/drivers/media/video/cx23885/netup-eeprom.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/linux/drivers/media/video/cx23885/netup-eeprom.c b/linux/drivers/media/video/cx23885/netup-eeprom.c
index 26b934cd7..747a0a57c 100644
--- a/linux/drivers/media/video/cx23885/netup-eeprom.c
+++ b/linux/drivers/media/video/cx23885/netup-eeprom.c
@@ -97,12 +97,12 @@ void netup_get_card_info(struct i2c_adapter *i2c_adap,
{
int i, j;
- cinfo->rev = netup_eeprom_read(i2c_adap, 13);
+ cinfo->rev = netup_eeprom_read(i2c_adap, 63);
- for (i = 0, j = 0; i < 6; i++, j++)
+ for (i = 64, j = 0; i < 70; i++, j++)
cinfo->port[0].mac[j] = netup_eeprom_read(i2c_adap, i);
- for (i = 6, j = 0; i < 12; i++, j++)
+ for (i = 70, j = 0; i < 76; i++, j++)
cinfo->port[1].mac[j] = netup_eeprom_read(i2c_adap, i);
#if 0
printk(KERN_INFO "NetUP Dual DVB-S2 CI card rev=0x%x MAC1=%02X:%02X:"