spider_net: fix compile issue introduced by driver move
authorJeff Kirsher <jeffrey.t.kirsher@intel.com>
Fri, 12 Aug 2011 06:06:28 +0000 (23:06 -0700)
committerDavid S. Miller <davem@davemloft.net>
Fri, 12 Aug 2011 06:06:28 +0000 (23:06 -0700)
commit5ff2241dd42ade03572753f9ed7743719b47c474
tree3e4d2fbf7e4bbb7de3675800856572e93a67a703
parentaf3dcd2f449b7243a4c7b987125ffc40fad262f0
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>
drivers/net/Kconfig
drivers/net/Makefile
drivers/net/ethernet/sun/Kconfig
drivers/net/ethernet/sun/Makefile