OSDN Git Service

ARM: dts: n900: Fix offset for smc91x ethernet
authorPali Rohár <pali.rohar@gmail.com>
Thu, 19 Feb 2015 16:49:50 +0000 (17:49 +0100)
committerTony Lindgren <tony@atomide.com>
Tue, 24 Feb 2015 18:35:43 +0000 (10:35 -0800)
commitcb9071d4bb0d61cc5a375cc9ed5fefed5bb65e09
tree3ba1650548072c5ab34f06d52b16e06b2b6b1763
parent1861cda0de66d02688a9b3cba658ff9ab847e26d
ARM: dts: n900: Fix offset for smc91x ethernet

Offset for smc91x must be zero otherwise smc91x linux kernel driver does not
detect smc91x ethernet hardware in qemu N900 machine.

The 0x300 offset was used to supress a warning the smsc911x
driver produces about non-standard offset as 0x300 seems to
be the EEPROM default. As only three address lines are
connected both 0 and 0x300 will work just fine with 0 being
correct. The warning about the non-standard offset can be
fixed by writing to EEPROM as that's needed in any case to
set the MAC address.

Signed-off-by: Pali Rohár <pali.rohar@gmail.com>
[tony@atomide.com: updated comments, just use 0 instead of 0x0]
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/boot/dts/omap3-n900.dts