ChangeSet 1.2231.1.211, 2005/03/28 20:14:58-08:00, [EMAIL PROTECTED]
[PATCH] dvb: skystar2: fix MAC address reading
fixed MAC address reading (eeprom address to read, was not correctly
set,
respectively overwritten)
Signed-off-by: Johannes Stezenbach <[EMAIL PROTECTED]>
Signed-off-by: Andrew Morton <[EMAIL PROTECTED]>
Signed-off-by: Linus Torvalds <[EMAIL PROTECTED]>
skystar2.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff -Nru a/drivers/media/dvb/b2c2/skystar2.c
b/drivers/media/dvb/b2c2/skystar2.c
--- a/drivers/media/dvb/b2c2/skystar2.c 2005-03-28 21:54:26 -08:00
+++ b/drivers/media/dvb/b2c2/skystar2.c 2005-03-28 21:54:26 -08:00
@@ -231,8 +231,8 @@
{
if (device == 0x20000000)
*ret = bus | ((addr >> 8) & 3);
-
- *ret = bus;
+ else
+ *ret = bus;
}
static u32 flex_i2c_read(struct adapter *adapter, u32 device, u32 bus, u32
addr, u8 *buf, u32 len)
-
To unsubscribe from this list: send the line "unsubscribe bk-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at http://vger.kernel.org/majordomo-info.html