projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8386c27
)
V4L/DVB (12957): Fix MAC address reading from EEPROM in NetUP Dual DVB-S2 CI card.
author
Abylay Ospan
<aospan@netup.ru>
Wed, 16 Sep 2009 17:11:15 +0000
(14:11 -0300)
committer
Mauro Carvalho Chehab
<mchehab@redhat.com>
Sat, 19 Sep 2009 03:15:49 +0000
(
00:15
-0300)
Signed-off-by: Abylay Ospan <aospan@netup.ru>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/cx23885/netup-eeprom.c
patch
|
blob
|
history
diff --git
a/drivers/media/video/cx23885/netup-eeprom.c
b/drivers/media/video/cx23885/netup-eeprom.c
index
042bbbb
..
98a48f5
100644
(file)
--- 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,
{
int i, j;
- cinfo->rev = netup_eeprom_read(i2c_adap,
1
3);
+ cinfo->rev = netup_eeprom_read(i2c_adap,
6
3);
- 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);
};