diff options
author | Javier Martinez Canillas <javier@dowhile0.org> | 2012-01-04 01:23:18 (GMT) |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-01-04 01:23:18 (GMT) |
commit | 43c6759e73907e4c8e6624f70f5c4a860518b203 (patch) | |
tree | 501232103624ab09adb94f7b7d8f3ee5e70e7a95 /drivers/net/ethernet/smsc/smsc911x.h | |
parent | 57adc1fcbae2c13104ce291b40f23e40a414fa87 (diff) | |
download | linux-43c6759e73907e4c8e6624f70f5c4a860518b203.tar.xz |
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/smsc911x.h')
-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 8d67aac..938ecf2 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__ */ |