]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/commit
net: phy: smsc: Move SMSC PHY constants to <linux/smscphy.h>
authorJavier Martinez Canillas <javier@dowhile0.org>
Wed, 4 Jan 2012 01:23:18 +0000 (20:23 -0500)
committerDavid S. Miller <davem@davemloft.net>
Wed, 4 Jan 2012 01:23:18 +0000 (20:23 -0500)
commit43c6759e73907e4c8e6624f70f5c4a860518b203
tree501232103624ab09adb94f7b7d8f3ee5e70e7a95
parent57adc1fcbae2c13104ce291b40f23e40a414fa87
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>
drivers/net/ethernet/smsc/smsc911x.h
drivers/net/phy/smsc.c
include/linux/smscphy.h [new file with mode: 0644]