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>
This commit is contained in:
Javier Martinez Canillas
2012-01-03 20:23:18 -05:00
committed by David S. Miller
parent 57adc1fcba
commit 43c6759e73
3 changed files with 30 additions and 20 deletions

View File

@@ -401,4 +401,8 @@
#include <asm/smsc911x.h>
#endif
#ifdef CONFIG_SMSC_PHY
#include <linux/smscphy.h>
#endif
#endif /* __SMSC911X_H__ */