net: Fix sungem_phy sharing.
authorDavid S. Miller <davem@davemloft.net>
Tue, 16 Aug 2011 06:10:39 +0000 (23:10 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 16 Aug 2011 07:16:49 +0000 (00:16 -0700)
commit19e2f6fe9601ca5c846b7163e6d6d00f87b34760
tree4c13d42b3aa0f8415f72bb075ac89841667a6cd9
parentef37d38a1fe78ba627b8178af02df31e59b18896
net: Fix sungem_phy sharing.

Since sungem_phy is used by multiple, unrelated, drivers make it
build as a real module under drivers/net.

depmod will pick up the symbol dependency and make sure sungem_phy.ko
gets loaded any time sungem.ko or spider_net.ko is loaded.

Tested-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/Kconfig
drivers/net/Makefile
drivers/net/ethernet/sun/Makefile
drivers/net/ethernet/sun/sungem.c
drivers/net/ethernet/sun/sungem_phy.c [deleted file]
drivers/net/ethernet/toshiba/Makefile
drivers/net/ethernet/toshiba/spider_net.c
drivers/net/sungem_phy.c [new file with mode: 0644]
include/linux/sungem_phy.h