Commit Graph
3 Commits
Author SHA1 Message Date
David S. Miller 19e2f6fe96 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 <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
2011-08-16 00:16:49 -07:00
Jeff Kirsher 5ff2241dd4 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 <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
2011-08-11 23:06:28 -07:00
Jeff Kirsher e689cf4a04 cassini/niu/sun*: Move the Sun drivers
Moves the Sun drivers into drivers/net/ethernet/sun/ and make
the necessary Kconfig and Makefile changes.

Oliver Hartkopp <[email protected]> suggested removing the
sun* prefix on the driver names.  This type of change I will
leave up to the driver maintainers.

CC: Sam Creasey <[email protected]>
CC: Adrian Sun <[email protected]>
CC: Benjamin Herrenscmidt <[email protected]>
Signed-off-by: Jeff Kirsher <[email protected]>
2011-08-11 02:33:43 -07:00