From 73b9a8bf9bfb4a3652c27914b021595e46686a88 Mon Sep 17 00:00:00 2001
From: Gabor Juhos <juhosg@openwrt.org>
Date: Fri, 10 Feb 2012 11:46:10 +0000
Subject: [PATCH] ar71xx: allow to build ag71xx w/o PCI support enabled

SVN-Revision: 30407
---
 .../ar71xx/patches-3.2/420-net-ar71xx_mac_driver.patch   | 9 +++++++++
 1 file changed, 9 insertions(+)

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 b65b3289a7..f117133169 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.
-- 
2.30.2