alistair23-linux/drivers/net/ethernet/smsc
Tony Lindgren 3f823c15d5 net: smc91x: Fix device tree based configuration so it's usable
Commit 89ce376c6b (drivers/net: Use of_match_ptr() macro in smc91x.c)
added minimal device tree support to smc91x, but it's not working on
many platforms because of the lack of some key configuration bits.

Fix the issue by parsing the necessary configuration like the
smc911x driver is doing. As most smc91x users seem to use 16-bit
access, let's default to that if no reg-io-width is specified.

Cc: Nicolas Pitre <nico@fluxnic.net>
Cc: Mark Rutland <mark.rutland@arm.com>
Cc: netdev@vger.kernel.org
Cc: devicetree@vger.kernel.org
Acked-by: Nishanth Menon <nm@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2013-12-11 16:36:22 -05:00
..
epic100.c epic100: replace printk with netdev_ calls 2013-11-02 01:19:24 -04:00
Kconfig netdev: smc91x: enable for xtensa 2013-11-08 13:27:55 -05:00
Makefile
smc91c92_cs.c smc91c92_cs: replace printk with netdev_ calls 2013-11-02 01:19:25 -04:00
smc91x.c net: smc91x: Fix device tree based configuration so it's usable 2013-12-11 16:36:22 -05:00
smc91x.h net: smc91: fix crash regression on the versatile 2013-11-29 16:23:35 -05:00
smc911x.c smc911x: replace printk with netdev_ calls 2013-11-02 01:19:24 -04:00
smc911x.h smc911x: replace printk with netdev_ calls 2013-11-02 01:19:24 -04:00
smc9194.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next 2013-11-13 17:40:34 +09:00
smc9194.h
smsc911x.c smsc911x: replace printk with netdev_ calls 2013-11-02 01:19:24 -04:00
smsc911x.h smsc911x: Unconditionally include linux/smscphy.h in smsc911x.h 2012-01-07 12:22:11 -08:00
smsc9420.c smsc9420: Use netif_<level> 2013-11-07 02:14:32 -05:00
smsc9420.h