summaryrefslogtreecommitdiffstats
path: root/drivers/net/Kconfig
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2011-08-16 08:10:39 +0200
committerDavid S. Miller <davem@davemloft.net>2011-08-16 09:16:49 +0200
commit19e2f6fe9601ca5c846b7163e6d6d00f87b34760 (patch)
tree4c13d42b3aa0f8415f72bb075ac89841667a6cd9 /drivers/net/Kconfig
parentsungem: sungem_phy.h moved (diff)
downloadlinux-19e2f6fe9601ca5c846b7163e6d6d00f87b34760.tar.xz
linux-19e2f6fe9601ca5c846b7163e6d6d00f87b34760.zip
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>
Diffstat (limited to 'drivers/net/Kconfig')
-rw-r--r--drivers/net/Kconfig3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/net/Kconfig b/drivers/net/Kconfig
index 31d87929c1ad..ef6b6bee11da 100644
--- a/drivers/net/Kconfig
+++ b/drivers/net/Kconfig
@@ -186,6 +186,9 @@ config MII
source "drivers/net/phy/Kconfig"
+config SUNGEM_PHY
+ tristate
+
#
# Ethernet
#