diff options
author | Jeff Kirsher <jeffrey.t.kirsher@intel.com> | 2011-08-11 23:06:28 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-08-11 23:06:28 -0700 |
commit | 5ff2241dd42ade03572753f9ed7743719b47c474 (patch) | |
tree | 3e4d2fbf7e4bbb7de3675800856572e93a67a703 /drivers/net/Kconfig | |
parent | af3dcd2f449b7243a4c7b987125ffc40fad262f0 (diff) | |
download | linux-5ff2241dd42ade03572753f9ed7743719b47c474.tar.bz2 |
spider_net: fix compile issue introduced by driver move
Both Spider net driver and Sun GEM driver use the sungem_phy.o object.
This fix creates a Kconfig object for sungem_phy (like MDIO) so that
both drivers require the SUNGEM_PHY object.
This has been compile tested for the Sun GEM driver.
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/Kconfig')
-rw-r--r-- | drivers/net/Kconfig | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/net/Kconfig b/drivers/net/Kconfig index e6be7123f9ca..c8779c13af89 100644 --- a/drivers/net/Kconfig +++ b/drivers/net/Kconfig @@ -934,6 +934,7 @@ config SPIDER_NET tristate "Spider Gigabit Ethernet driver" depends on PCI && (PPC_IBM_CELL_BLADE || PPC_CELLEB) select FW_LOADER + select SUNGEM_PHY help This driver supports the Gigabit Ethernet chips present on the Cell Processor-Based Blades from IBM. @@ -1083,6 +1084,9 @@ if NETDEV_10000 config MDIO tristate +config SUNGEM_PHY + tristate + endif # NETDEV_10000 source "drivers/net/tokenring/Kconfig" |