add ar7 2.6.23 patches and config
[openwrt/svn-archive/archive.git] / target / linux / ar7 / patches-2.6.23 / 200-ethernet_driver.patch
1 Index: linux-2.6.23-rc6/drivers/net/Kconfig
2 ===================================================================
3 --- linux-2.6.23-rc6.orig/drivers/net/Kconfig 2007-09-21 16:24:02.000000000 +0800
4 +++ linux-2.6.23-rc6/drivers/net/Kconfig 2007-09-21 16:24:13.000000000 +0800
5 @@ -1965,6 +1965,15 @@
6 To compile this driver as a module, choose M here: the module
7 will be called sc92031. This is recommended.
8
9 +config CPMAC
10 + tristate "TI AR7 CPMAC Ethernet support (EXPERIMENTAL)"
11 + depends on NET_ETHERNET && EXPERIMENTAL && AR7
12 + select PHYLIB
13 + select FIXED_PHY
14 + select FIXED_MII_100_FDX
15 + help
16 + TI AR7 CPMAC Ethernet support
17 +
18 config NET_POCKET
19 bool "Pocket and portable adapters"
20 depends on PARPORT
21 Index: linux-2.6.23-rc6/drivers/net/Makefile
22 ===================================================================
23 --- linux-2.6.23-rc6.orig/drivers/net/Makefile 2007-09-21 16:24:02.000000000 +0800
24 +++ linux-2.6.23-rc6/drivers/net/Makefile 2007-09-21 16:24:13.000000000 +0800
25 @@ -155,6 +155,7 @@
26 obj-$(CONFIG_8139TOO) += 8139too.o
27 obj-$(CONFIG_ZNET) += znet.o
28 obj-$(CONFIG_LAN_SAA9730) += saa9730.o
29 +obj-$(CONFIG_CPMAC) += cpmac.o
30 obj-$(CONFIG_DEPCA) += depca.o
31 obj-$(CONFIG_EWRK3) += ewrk3.o
32 obj-$(CONFIG_ATP) += atp.o