ar71xx: add preliminary support for Mikrotik RB2011L
[openwrt/svn-archive/archive.git] / target / linux / ar71xx / patches-3.3 / 420-net-ar71xx_mac_driver.patch
1 --- a/drivers/net/ethernet/atheros/Kconfig
2 +++ b/drivers/net/ethernet/atheros/Kconfig
3 @@ -5,7 +5,7 @@
4 config NET_VENDOR_ATHEROS
5 bool "Atheros devices"
6 default y
7 - depends on PCI
8 + depends on (PCI || ATH79)
9 ---help---
10 If you have a network (Ethernet) card belonging to this class, say Y
11 and read the Ethernet-HOWTO, available from
12 @@ -67,4 +67,6 @@ config ATL1C
13 To compile this driver as a module, choose M here. The module
14 will be called atl1c.
15
16 +source drivers/net/ethernet/atheros/ag71xx/Kconfig
17 +
18 endif # NET_VENDOR_ATHEROS
19 --- a/drivers/net/ethernet/atheros/Makefile
20 +++ b/drivers/net/ethernet/atheros/Makefile
21 @@ -2,6 +2,7 @@
22 # Makefile for the Atheros network device drivers.
23 #
24
25 +obj-$(CONFIG_AG71XX) += ag71xx/
26 obj-$(CONFIG_ATL1) += atlx/
27 obj-$(CONFIG_ATL2) += atlx/
28 obj-$(CONFIG_ATL1E) += atl1e/