aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStefan Lippers-Hollmann <s.l-h@gmx.de>2019-05-26 05:28:53 +0200
committerChristian Lamparter <chunkeey@gmail.com>2019-06-22 13:17:47 +0200
commitcba6832622cc952f5e1e91e6a2a406122c744dc5 (patch)
tree37d7811f965047347977e68f7111ed3e6019bd63
parent75be34528d6547ecbd5537cb207bc38115317d1e (diff)
downloadupstream-cba6832622cc952f5e1e91e6a2a406122c744dc5.tar.gz
upstream-cba6832622cc952f5e1e91e6a2a406122c744dc5.tar.bz2
upstream-cba6832622cc952f5e1e91e6a2a406122c744dc5.zip
kernel: alx driver for AR816x/AR817x Ethernet
These ethernet cards can be found onboard various x86 and x86_64 Gigabyte mainboards since the sandy-bridge/ ivy-bridge era. This driver supports the following QCA/"Killer" ethernet cards: 1969:1091 - AR8161 Gigabit Ethernet 1969:1090 - AR8162 Fast Ethernet 1969:10A1 - AR8171 Gigabit Ethernet 1969:10A0 - AR8172 Fast Ethernet 1969:E091 - Killer E2200 Gigabit Ethernet 1969:E0A1 - Killer E2400 Gigabit Ethernet 1969:E0B1 - Killer E2500 Gigabit Ethernet Successfully runtime tested with the onboard ethernet card of a Gigabyte GA-H77M-D3H ivy-bridge mainboard (x86_64/EFI image): 02:00.0 Ethernet controller [0200]: Qualcomm Atheros AR8161 [...] Subsystem: Gigabyte Technology Co., Ltd AR8161 [...] Kernel driver in use: alx Kernel modules: alx alx 0000:02:00.0 eth0: Qualcomm Atheros AR816x/AR817x Ethernet [...] alx 0000:02:00.0 eth0: NIC Up: 1 Gbps Full Signed-off-by: Stefan Lippers-Hollmann <s.l-h@gmx.de> Signed-off-by: Christian Lamparter <chunkeey@gmail.com> [fix typo, shorten subject to <50 characters, shorten lines to <76 chars.]
-rw-r--r--package/kernel/linux/modules/netdevices.mk12
1 files changed, 12 insertions, 0 deletions
diff --git a/package/kernel/linux/modules/netdevices.mk b/package/kernel/linux/modules/netdevices.mk
index 3f36332ba2..4ed5736bb2 100644
--- a/package/kernel/linux/modules/netdevices.mk
+++ b/package/kernel/linux/modules/netdevices.mk
@@ -33,6 +33,18 @@ endef
$(eval $(call KernelPackage,skge))
+define KernelPackage/alx
+ SUBMENU:=$(NETWORK_DEVICES_MENU)
+ TITLE:=Qualcomm Atheros AR816x/AR817x PCI-E Ethernet Network Driver
+ DEPENDS:=@PCI_SUPPORT +kmod-mdio
+ KCONFIG:=CONFIG_ALX
+ FILES:=$(LINUX_DIR)/drivers/net/ethernet/atheros/alx/alx.ko
+ AUTOLOAD:=$(call AutoProbe,alx)
+endef
+
+$(eval $(call KernelPackage,alx))
+
+
define KernelPackage/atl2
SUBMENU:=$(NETWORK_DEVICES_MENU)
TITLE:=Atheros L2 Fast Ethernet support