summaryrefslogtreecommitdiffstats
path: root/target/linux/ar71xx
diff options
context:
space:
mode:
authorjuhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73>2012-02-10 11:46:10 +0000
committerjuhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73>2012-02-10 11:46:10 +0000
commit1d05b280c96d4abc65cacfb766d9ececb1de691d (patch)
tree097dba2aef48be43a4163f85391bb45689808366 /target/linux/ar71xx
parent8940cbc303a16f2cb7dcbcf91d01401b5f14b742 (diff)
ar71xx: allow to build ag71xx w/o PCI support enabled
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30407 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/ar71xx')
-rw-r--r--target/linux/ar71xx/patches-3.2/420-net-ar71xx_mac_driver.patch9
1 files changed, 9 insertions, 0 deletions
diff --git a/target/linux/ar71xx/patches-3.2/420-net-ar71xx_mac_driver.patch b/target/linux/ar71xx/patches-3.2/420-net-ar71xx_mac_driver.patch
index b65b3289a..f11713316 100644
--- a/target/linux/ar71xx/patches-3.2/420-net-ar71xx_mac_driver.patch
+++ b/target/linux/ar71xx/patches-3.2/420-net-ar71xx_mac_driver.patch
@@ -1,5 +1,14 @@
--- a/drivers/net/ethernet/atheros/Kconfig
+++ b/drivers/net/ethernet/atheros/Kconfig
+@@ -5,7 +5,7 @@
+ config NET_VENDOR_ATHEROS
+ bool "Atheros devices"
+ default y
+- depends on PCI
++ depends on (PCI || ATH79)
+ ---help---
+ If you have a network (Ethernet) card belonging to this class, say Y
+ and read the Ethernet-HOWTO, available from
@@ -67,4 +67,6 @@ config ATL1C
To compile this driver as a module, choose M here. The module
will be called atl1c.