atl*: Move the Atheros drivers
authorJeff Kirsher <jeffrey.t.kirsher@intel.com>
Fri, 20 May 2011 13:55:16 +0000 (06:55 -0700)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Thu, 11 Aug 2011 23:29:59 +0000 (16:29 -0700)
Move the Atheros drivers into drivers/net/ethernet/atheros/ and
make the necessary Kconfig and Makefile changes.

CC: Jay Cliburn <jcliburn@gmail.com>
CC: Chris Snook <chris.snook@gmail.com>
CC: Jie Yang <jie.yang@atheros.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
27 files changed:
MAINTAINERS
drivers/net/Kconfig
drivers/net/Makefile
drivers/net/ethernet/Kconfig
drivers/net/ethernet/Makefile
drivers/net/ethernet/atheros/Kconfig [new file with mode: 0644]
drivers/net/ethernet/atheros/Makefile [new file with mode: 0644]
drivers/net/ethernet/atheros/atl1c/Makefile [moved from drivers/net/atl1c/Makefile with 100% similarity]
drivers/net/ethernet/atheros/atl1c/atl1c.h [moved from drivers/net/atl1c/atl1c.h with 100% similarity]
drivers/net/ethernet/atheros/atl1c/atl1c_ethtool.c [moved from drivers/net/atl1c/atl1c_ethtool.c with 100% similarity]
drivers/net/ethernet/atheros/atl1c/atl1c_hw.c [moved from drivers/net/atl1c/atl1c_hw.c with 100% similarity]
drivers/net/ethernet/atheros/atl1c/atl1c_hw.h [moved from drivers/net/atl1c/atl1c_hw.h with 100% similarity]
drivers/net/ethernet/atheros/atl1c/atl1c_main.c [moved from drivers/net/atl1c/atl1c_main.c with 100% similarity]
drivers/net/ethernet/atheros/atl1e/Makefile [moved from drivers/net/atl1e/Makefile with 100% similarity]
drivers/net/ethernet/atheros/atl1e/atl1e.h [moved from drivers/net/atl1e/atl1e.h with 100% similarity]
drivers/net/ethernet/atheros/atl1e/atl1e_ethtool.c [moved from drivers/net/atl1e/atl1e_ethtool.c with 100% similarity]
drivers/net/ethernet/atheros/atl1e/atl1e_hw.c [moved from drivers/net/atl1e/atl1e_hw.c with 100% similarity]
drivers/net/ethernet/atheros/atl1e/atl1e_hw.h [moved from drivers/net/atl1e/atl1e_hw.h with 100% similarity]
drivers/net/ethernet/atheros/atl1e/atl1e_main.c [moved from drivers/net/atl1e/atl1e_main.c with 100% similarity]
drivers/net/ethernet/atheros/atl1e/atl1e_param.c [moved from drivers/net/atl1e/atl1e_param.c with 100% similarity]
drivers/net/ethernet/atheros/atlx/Makefile [moved from drivers/net/atlx/Makefile with 100% similarity]
drivers/net/ethernet/atheros/atlx/atl1.c [moved from drivers/net/atlx/atl1.c with 100% similarity]
drivers/net/ethernet/atheros/atlx/atl1.h [moved from drivers/net/atlx/atl1.h with 100% similarity]
drivers/net/ethernet/atheros/atlx/atl2.c [moved from drivers/net/atlx/atl2.c with 100% similarity]
drivers/net/ethernet/atheros/atlx/atl2.h [moved from drivers/net/atlx/atl2.h with 100% similarity]
drivers/net/ethernet/atheros/atlx/atlx.c [moved from drivers/net/atlx/atlx.c with 100% similarity]
drivers/net/ethernet/atheros/atlx/atlx.h [moved from drivers/net/atlx/atlx.h with 100% similarity]

index 88ff9ef..26fa497 100644 (file)
@@ -1282,7 +1282,7 @@ L:        netdev@vger.kernel.org
 W:     http://sourceforge.net/projects/atl1
 W:     http://atl1.sourceforge.net
 S:     Maintained
-F:     drivers/net/atlx/
+F:     drivers/net/ethernet/atheros/
 
 ATM
 M:     Chas Williams <chas@cmf.nrl.navy.mil>
index 8799caf..e6be712 100644 (file)
@@ -760,17 +760,6 @@ config FEC_MPC52xx_MDIO
          If not sure, enable.
          If compiled as module, it will be called fec_mpc52xx_phy.
 
-config ATL2
-       tristate "Atheros L2 Fast Ethernet support"
-       depends on PCI
-       select CRC32
-       select MII
-       help
-         This driver supports the Atheros L2 fast ethernet adapter.
-
-         To compile this driver as a module, choose M here.  The module
-         will be called atl2.
-
 config XILINX_EMACLITE
        tristate "Xilinx 10/100 Ethernet Lite support"
        depends on PPC32 || MICROBLAZE
@@ -1031,40 +1020,6 @@ config XILINX_LL_TEMAC
          This driver supports the Xilinx 10/100/1000 LocalLink TEMAC
          core used in Xilinx Spartan and Virtex FPGAs
 
-config ATL1
-       tristate "Atheros/Attansic L1 Gigabit Ethernet support"
-       depends on PCI
-       select CRC32
-       select MII
-       help
-         This driver supports the Atheros/Attansic L1 gigabit ethernet
-         adapter.
-
-         To compile this driver as a module, choose M here.  The module
-         will be called atl1.
-
-config ATL1E
-       tristate "Atheros L1E Gigabit Ethernet support (EXPERIMENTAL)"
-       depends on PCI && EXPERIMENTAL
-       select CRC32
-       select MII
-       help
-         This driver supports the Atheros L1E gigabit ethernet adapter.
-
-         To compile this driver as a module, choose M here.  The module
-         will be called atl1e.
-
-config ATL1C
-       tristate "Atheros L1C Gigabit Ethernet support (EXPERIMENTAL)"
-       depends on PCI && EXPERIMENTAL
-       select CRC32
-       select MII
-       help
-         This driver supports the Atheros L1C gigabit ethernet adapter.
-
-         To compile this driver as a module, choose M here.  The module
-         will be called atl1c.
-
 config JME
        tristate "JMicron(R) PCI-Express Gigabit Ethernet support"
        depends on PCI
index ecd8c9f..d151075 100644 (file)
@@ -13,10 +13,6 @@ obj-$(CONFIG_TI_DAVINCI_CPDMA) += davinci_cpdma.o
 obj-$(CONFIG_IP1000) += ipg.o
 obj-$(CONFIG_CAN) += can/
 obj-$(CONFIG_BONDING) += bonding/
-obj-$(CONFIG_ATL1) += atlx/
-obj-$(CONFIG_ATL2) += atlx/
-obj-$(CONFIG_ATL1E) += atl1e/
-obj-$(CONFIG_ATL1C) += atl1c/
 obj-$(CONFIG_GIANFAR) += gianfar_driver.o
 obj-$(CONFIG_PTP_1588_CLOCK_GIANFAR) += gianfar_ptp.o
 obj-$(CONFIG_JME) += jme.o
index 8007e20..9410f20 100644 (file)
@@ -14,6 +14,7 @@ if ETHERNET
 source "drivers/net/ethernet/3com/Kconfig"
 source "drivers/net/ethernet/amd/Kconfig"
 source "drivers/net/ethernet/apple/Kconfig"
+source "drivers/net/ethernet/atheros/Kconfig"
 source "drivers/net/ethernet/broadcom/Kconfig"
 source "drivers/net/ethernet/brocade/Kconfig"
 source "drivers/net/ethernet/chelsio/Kconfig"
index 22ef380..5d89fd9 100644 (file)
@@ -6,6 +6,7 @@ obj-$(CONFIG_NET_VENDOR_3COM) += 3com/
 obj-$(CONFIG_NET_VENDOR_8390) += 8390/
 obj-$(CONFIG_NET_VENDOR_AMD) += amd/
 obj-$(CONFIG_NET_VENDOR_APPLE) += apple/
+obj-$(CONFIG_NET_VENDOR_ATHEROS) += atheros/
 obj-$(CONFIG_NET_VENDOR_BROADCOM) += broadcom/
 obj-$(CONFIG_NET_VENDOR_BROCADE) += brocade/
 obj-$(CONFIG_NET_VENDOR_CHELSIO) += chelsio/
diff --git a/drivers/net/ethernet/atheros/Kconfig b/drivers/net/ethernet/atheros/Kconfig
new file mode 100644 (file)
index 0000000..966c6c7
--- /dev/null
@@ -0,0 +1,65 @@
+#
+# Atheros device configuration
+#
+
+config NET_VENDOR_ATHEROS
+       bool "Atheros devices"
+       depends on PCI
+       ---help---
+         If you have a network (Ethernet) card belonging to this class, say Y
+         and read the Ethernet-HOWTO, available from
+         <http://www.tldp.org/docs.html#howto>.
+
+         Note that the answer to this question doesn't directly affect the
+         kernel: saying N will just cause the configurator to skip all
+         the questions about Atheros devices. If you say Y, you will be asked
+         for your specific card in the following questions.
+
+if NET_VENDOR_ATHEROS
+
+config ATL2
+       tristate "Atheros L2 Fast Ethernet support"
+       depends on PCI
+       select CRC32
+       select MII
+       ---help---
+         This driver supports the Atheros L2 fast ethernet adapter.
+
+         To compile this driver as a module, choose M here.  The module
+         will be called atl2.
+
+config ATL1
+       tristate "Atheros/Attansic L1 Gigabit Ethernet support"
+       depends on PCI
+       select CRC32
+       select MII
+       ---help---
+         This driver supports the Atheros/Attansic L1 gigabit ethernet
+         adapter.
+
+         To compile this driver as a module, choose M here.  The module
+         will be called atl1.
+
+config ATL1E
+       tristate "Atheros L1E Gigabit Ethernet support (EXPERIMENTAL)"
+       depends on PCI && EXPERIMENTAL
+       select CRC32
+       select MII
+       ---help---
+         This driver supports the Atheros L1E gigabit ethernet adapter.
+
+         To compile this driver as a module, choose M here.  The module
+         will be called atl1e.
+
+config ATL1C
+       tristate "Atheros L1C Gigabit Ethernet support (EXPERIMENTAL)"
+       depends on PCI && EXPERIMENTAL
+       select CRC32
+       select MII
+       ---help---
+         This driver supports the Atheros L1C gigabit ethernet adapter.
+
+         To compile this driver as a module, choose M here.  The module
+         will be called atl1c.
+
+endif # NET_VENDOR_ATHEROS
diff --git a/drivers/net/ethernet/atheros/Makefile b/drivers/net/ethernet/atheros/Makefile
new file mode 100644 (file)
index 0000000..e7e76fb
--- /dev/null
@@ -0,0 +1,8 @@
+#
+# Makefile for the Atheros network device drivers.
+#
+
+obj-$(CONFIG_ATL1) += atlx/
+obj-$(CONFIG_ATL2) += atlx/
+obj-$(CONFIG_ATL1E) += atl1e/
+obj-$(CONFIG_ATL1C) += atl1c/