net: smc1111: add 16 bits accessors, allow address shift
Smc network IPs can be wired up in different funny ways. For example the
lubbock pxa25x development platform wires all address lines shifted by
2, ie. bus A2 is smc91c96 A0, bus A3 is smc91c96 A1 etc ...

In order to cope with the different possible combination, add a shift
parameter for addresses.

By default, the old behaviour using the 32 bit accesses is kept.

Signed-off-by: Robert Jarzmik <robert.jarzmik@free.fr>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
1 parent 3155f5d commit d6f8016ce7bc877a19c95d92e2ce1786aed78e8d
@Robert Jarzmik Robert Jarzmik authored on 31 Jan 2015
Sascha Hauer committed on 4 Feb 2015
Showing 2 changed files
View
drivers/net/smc91111.c
View
include/net/smc91111.h