diff options
author | Tony Lindgren <[email protected]> | 2013-12-11 13:04:27 -0800 |
---|---|---|
committer | David S. Miller <[email protected]> | 2013-12-11 16:36:22 -0500 |
commit | 3f823c15d53dc78b50d6f561caf36e8109df1193 (patch) | |
tree | a1bd2f4c5a05c98f44cde5d1623c3cc00856dcf3 /drivers/net/xen-netback/netback.c | |
parent | 610438b74496b2986a9025f8e23c134cb638e338 (diff) |
net: smc91x: Fix device tree based configuration so it's usable
Commit 89ce376c6bdc (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 <[email protected]>
Cc: Mark Rutland <[email protected]>
Cc: [email protected]
Cc: [email protected]
Acked-by: Nishanth Menon <[email protected]>
Signed-off-by: Tony Lindgren <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'drivers/net/xen-netback/netback.c')
0 files changed, 0 insertions, 0 deletions