diff options
author | Abylay Ospan <aospan@netup.ru> | 2009-09-16 13:11:15 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2009-09-18 23:15:49 -0400 |
commit | 2034188a0bff7bd80ae0e0201e03d5a6cb37a153 (patch) | |
tree | 3a8df390d567f143c20b54cc7c85584d14f61c9c /drivers/media/video | |
parent | 8386c27f4786482c569a0f53f78ca6624068ba10 (diff) |
V4L/DVB (12957): Fix MAC address reading from EEPROM in NetUP Dual DVB-S2 CI card.
Signed-off-by: Abylay Ospan <aospan@netup.ru>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/video')
-rw-r--r-- | drivers/media/video/cx23885/netup-eeprom.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/media/video/cx23885/netup-eeprom.c b/drivers/media/video/cx23885/netup-eeprom.c index 042bbbbd48f8..98a48f500684 100644 --- a/drivers/media/video/cx23885/netup-eeprom.c +++ b/drivers/media/video/cx23885/netup-eeprom.c | |||
@@ -97,11 +97,11 @@ void netup_get_card_info(struct i2c_adapter *i2c_adap, | |||
97 | { | 97 | { |
98 | int i, j; | 98 | int i, j; |
99 | 99 | ||
100 | cinfo->rev = netup_eeprom_read(i2c_adap, 13); | 100 | cinfo->rev = netup_eeprom_read(i2c_adap, 63); |
101 | 101 | ||
102 | for (i = 0, j = 0; i < 6; i++, j++) | 102 | for (i = 64, j = 0; i < 70; i++, j++) |
103 | cinfo->port[0].mac[j] = netup_eeprom_read(i2c_adap, i); | 103 | cinfo->port[0].mac[j] = netup_eeprom_read(i2c_adap, i); |
104 | 104 | ||
105 | for (i = 6, j = 0; i < 12; i++, j++) | 105 | for (i = 70, j = 0; i < 76; i++, j++) |
106 | cinfo->port[1].mac[j] = netup_eeprom_read(i2c_adap, i); | 106 | cinfo->port[1].mac[j] = netup_eeprom_read(i2c_adap, i); |
107 | }; | 107 | }; |