diff options
author | Robert Jarzmik <robert.jarzmik@free.fr> | 2015-01-31 14:10:09 +0100 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2015-02-04 12:52:43 +0100 |
commit | a8d19f1f2f24b1021d641316c8810f68b2f0c9fd (patch) | |
tree | 9ed2e7c3a9a75fb6d696b7209841339be193a104 /include | |
parent | d6f8016ce7bc877a19c95d92e2ce1786aed78e8d (diff) | |
download | barebox-a8d19f1f2f24b1021d641316c8810f68b2f0c9fd.tar.gz barebox-a8d19f1f2f24b1021d641316c8810f68b2f0c9fd.tar.xz |
net: smc1111: extend the driver for 91c94 and 91c96 support
All the smcs family chips 91c94, 91c96, 91c100, 91c111 share almost the
same behavior and register sets. The noticeable exceptions are coped
with in this patch, ie :
- 91c94 and 91c96 only have an internal 10 Mbps phy
The registers used for phy discovery on later chips will corrupt the
91c96 state.
- 91c94 and 91c96 have a control and config register quite different
from their 91c1xx conterparts
A platform data user defined couple of registers is introduced. If
these values are 0, 91c1xx legacy behavior is assumed.
Signed-off-by: Robert Jarzmik <robert.jarzmik@free.fr>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'include')
-rw-r--r-- | include/net/smc91111.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/net/smc91111.h b/include/net/smc91111.h index 5191c85079..ba9da0b8dd 100644 --- a/include/net/smc91111.h +++ b/include/net/smc91111.h @@ -11,6 +11,8 @@ struct smc91c111_pdata { int qemu_fixup; int addr_shift; int bus_width; + int config_setup; + int control_setup; }; #endif /* __SMC91111_H__ */ |