Skip to contentSkip to conversation

atl2: add atl2 driver

PATCH Applied [email protected] 1 participant 1 message Sep 22, 2008

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 20/21 atl2: add atl2 driver

From: Chris Snook <[email protected]>

Driver for Atheros L2 10/100 network device. Includes necessary changes for Kconfig, Makefile, and pci_ids.h.

---

 drivers/net/Kconfig       |   11 
 drivers/net/Makefile      |    1 
 drivers/net/atlx/Makefile |    2 
 drivers/net/atlx/atl2.c   | 3127 ++++++++++++++++++++++++++++++++++++
 drivers/net/atlx/atl2.h   |  530 ++++++
 include/linux/pci_ids.h   |    1 
 6 files changed, 3672 insertions(+)
drivers/net/Kconfig renamed from drivers/net/Kconfig~atl2-add-atl2-driver +11 -0
diff -puN drivers/net/Kconfig~atl2-add-atl2-driver drivers/net/Kconfig
@@ -1827,6 +1827,17 @@ config NE_H8300
 	  Say Y here if you want to use the NE2000 compatible
 	  controller on the Renesas H8/300 processor.
 
+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.
+
 source "drivers/net/fs_enet/Kconfig"
 
 endif # NET_ETHERNET
drivers/net/Makefile renamed from drivers/net/Makefile~atl2-add-atl2-driver +1 -0
diff -puN drivers/net/Makefile~atl2-add-atl2-driver drivers/net/Makefile
@@ -15,6 +15,7 @@ obj-$(CONFIG_EHEA) += ehea/
 obj-$(CONFIG_CAN) += can/
 obj-$(CONFIG_BONDING) += bonding/
 obj-$(CONFIG_ATL1) += atlx/
+obj-$(CONFIG_ATL2) += atlx/
 obj-$(CONFIG_ATL1E) += atl1e/
 obj-$(CONFIG_GIANFAR) += gianfar_driver.o
 obj-$(CONFIG_TEHUTI) += tehuti.o
drivers/net/atlx/Makefile renamed from drivers/net/atlx/Makefile~atl2-add-atl2-driver +2 -0
diff -puN drivers/net/atlx/Makefile~atl2-add-atl2-driver drivers/net/atlx/Makefile
@@ -1 +1,3 @@
 obj-$(CONFIG_ATL1)	+= atl1.o
+obj-$(CONFIG_ATL2)	+= atl2.o
+
drivers/net/atlx/atl2.c new file +3127 -0

2,973 lines not on this page · raw message

drivers/net/atlx/atl2.h new file +530 -0

530 lines not on this page · raw message

include/linux/pci_ids.h renamed from include/linux/pci_ids.h~atl2-add-atl2-driver +1 -0
diff -puN include/linux/pci_ids.h~atl2-add-atl2-driver include/linux/pci_ids.h

Lines of this file are not shown. View the raw message.

The rest of this diff is not shown. View the raw message.

_

Part of the diff is not shown here. View the raw message.