diff options
author | Javier Martinez Canillas <javier@dowhile0.org> | 2012-01-03 20:23:18 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-01-03 20:23:18 -0500 |
commit | 43c6759e73907e4c8e6624f70f5c4a860518b203 (patch) | |
tree | 501232103624ab09adb94f7b7d8f3ee5e70e7a95 /drivers/net/ethernet/smsc | |
parent | 57adc1fcbae2c13104ce291b40f23e40a414fa87 (diff) | |
download | blackbird-op-linux-43c6759e73907e4c8e6624f70f5c4a860518b203.tar.gz blackbird-op-linux-43c6759e73907e4c8e6624f70f5c4a860518b203.zip |
net: phy: smsc: Move SMSC PHY constants to <linux/smscphy.h>
SMSC generation 4 LAN chips integrate an IEEE 802.3 ethernet physical layer.
The ethernet driver for this family of devices needs to access the SMSC PHY
registers and bit-fields.
So, this patch moves these constants to a place where it can be used for both
the PHY and LAN drivers.
Signed-off-by: Javier Martinez Canillas <javier@dowhile0.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/smsc')
-rw-r--r-- | drivers/net/ethernet/smsc/smsc911x.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/net/ethernet/smsc/smsc911x.h b/drivers/net/ethernet/smsc/smsc911x.h index 8d67aacf8867..938ecf290813 100644 --- a/drivers/net/ethernet/smsc/smsc911x.h +++ b/drivers/net/ethernet/smsc/smsc911x.h @@ -401,4 +401,8 @@ #include <asm/smsc911x.h> #endif +#ifdef CONFIG_SMSC_PHY +#include <linux/smscphy.h> +#endif + #endif /* __SMSC911X_H__ */ |