converted atheros ethernet driver to phy layer
[openwrt/svn-archive/archive.git] / target / linux / atheros / patches / 130-ar2313_ethernet.patch
1 Index: linux-2.6.23/drivers/net/Kconfig
2 ===================================================================
3 --- linux-2.6.23.orig/drivers/net/Kconfig 2007-10-14 00:55:22.000000000 +0200
4 +++ linux-2.6.23/drivers/net/Kconfig 2007-10-14 00:56:32.000000000 +0200
5 @@ -348,6 +348,12 @@
6 AX88796 driver, using platform bus to provide
7 chip detection and resources
8
9 +config AR2313
10 + tristate "AR2313 Ethernet support"
11 + depends on NET_ETHERNET && ATHEROS
12 + help
13 + Support for the AR231x/531x ethernet controller
14 +
15 config MACE
16 tristate "MACE (Power Mac ethernet) support"
17 depends on PPC_PMAC && PPC32
18 Index: linux-2.6.23/drivers/net/Makefile
19 ===================================================================
20 --- linux-2.6.23.orig/drivers/net/Makefile 2007-10-14 00:55:22.000000000 +0200
21 +++ linux-2.6.23/drivers/net/Makefile 2007-10-14 00:56:55.000000000 +0200
22 @@ -182,6 +182,7 @@
23 obj-$(CONFIG_LGUEST_NET) += lguest_net.o
24 obj-$(CONFIG_MIPS_JAZZ_SONIC) += jazzsonic.o
25 obj-$(CONFIG_MIPS_AU1X00_ENET) += au1000_eth.o
26 +obj-$(CONFIG_AR2313) += ar2313/
27 obj-$(CONFIG_MIPS_SIM_NET) += mipsnet.o
28 obj-$(CONFIG_SGI_IOC3_ETH) += ioc3-eth.o
29 obj-$(CONFIG_DECLANCE) += declance.o