diff --git a/drivers/net/Kconfig b/drivers/net/Kconfig index a96cf1871336941b3a6a2fc87bf2ace2b0666ca7..134c3a4ff423c6caf0c8e2241d8e475ce980ea83 100644 --- a/drivers/net/Kconfig +++ b/drivers/net/Kconfig @@ -643,17 +643,6 @@ config JME To compile this driver as a module, choose M here. The module will be called jme. -config S6GMAC - tristate "S6105 GMAC ethernet support" - depends on XTENSA_VARIANT_S6000 - select PHYLIB - help - This driver supports the on chip ethernet device on the - S6105 xtensa processor. - - To compile this driver as a module, choose M here. The module - will be called s6gmac. - endif # NETDEV_1000 # diff --git a/drivers/net/Makefile b/drivers/net/Makefile index d7ac2f8e031ca4127cba6e5641293c92f9e3419f..938484f8a4673f4ba47b8fc5de9bb74b6095330f 100644 --- a/drivers/net/Makefile +++ b/drivers/net/Makefile @@ -83,7 +83,6 @@ obj-$(CONFIG_LANTIQ_ETOP) += lantiq_etop.o obj-$(CONFIG_DNET) += dnet.o obj-$(CONFIG_MACB) += macb.o -obj-$(CONFIG_S6GMAC) += s6gmac.o obj-$(CONFIG_ARM) += arm/ obj-$(CONFIG_DEV_APPLETALK) += appletalk/ diff --git a/drivers/net/ethernet/Kconfig b/drivers/net/ethernet/Kconfig index 8f404ea4f9785ed57cd71a19a4343ef4b872f61c..f53a4bc53ddb1ac95a0781a9c9ef653cb919fdee 100644 --- a/drivers/net/ethernet/Kconfig +++ b/drivers/net/ethernet/Kconfig @@ -43,6 +43,18 @@ source "drivers/net/ethernet/pasemi/Kconfig" source "drivers/net/ethernet/qlogic/Kconfig" source "drivers/net/ethernet/racal/Kconfig" source "drivers/net/ethernet/realtek/Kconfig" + +config S6GMAC + tristate "S6105 GMAC ethernet support" + depends on XTENSA_VARIANT_S6000 + select PHYLIB + ---help--- + This driver supports the on chip ethernet device on the + S6105 xtensa processor. + + To compile this driver as a module, choose M here. The module + will be called s6gmac. + source "drivers/net/ethernet/seeq/Kconfig" source "drivers/net/ethernet/sis/Kconfig" source "drivers/net/ethernet/sfc/Kconfig" diff --git a/drivers/net/ethernet/Makefile b/drivers/net/ethernet/Makefile index 6cf7f99fe3d80bfcea2ef6a948f2fe4a9d266d2c..4491d8491adb7c11fa2596a207827f146d084c63 100644 --- a/drivers/net/ethernet/Makefile +++ b/drivers/net/ethernet/Makefile @@ -34,6 +34,7 @@ obj-$(CONFIG_NET_VENDOR_PASEMI) += pasemi/ obj-$(CONFIG_NET_VENDOR_QLOGIC) += qlogic/ obj-$(CONFIG_NET_VENDOR_RACAL) += racal/ obj-$(CONFIG_NET_VENDOR_REALTEK) += realtek/ +obj-$(CONFIG_S6GMAC) += s6gmac.o obj-$(CONFIG_NET_VENDOR_SEEQ) += seeq/ obj-$(CONFIG_NET_VENDOR_SIS) += sis/ obj-$(CONFIG_SFC) += sfc/ diff --git a/drivers/net/s6gmac.c b/drivers/net/ethernet/s6gmac.c similarity index 100% rename from drivers/net/s6gmac.c rename to drivers/net/ethernet/s6gmac.c