add ar7 2.6.22 patches by matteo (work in progress, not booting yet)
[openwrt/openwrt.git] / target / linux / ar7-2.6 / patches-2.6.22 / 200-ethernet_driver.patch
1 diff -Nru linux-2.6.19.2/drivers/net/Kconfig linux-ar7/drivers/net/Kconfig
2 --- linux-2.6.19.2/drivers/net/Kconfig 2006-12-12 02:32:53.000000000 +0700
3 +++ linux-ar7/drivers/net/Kconfig 2007-01-29 21:52:22.000000000 +0700
4 @@ -1777,6 +1777,15 @@
5 workstations.
6 See <http://www.semiconductors.philips.com/pip/SAA9730_flyer_1>.
7
8 +config CPMAC
9 + tristate "TI AR7 CPMAC Ethernet support (EXPERIMENTAL)"
10 + depends on NET_ETHERNET && EXPERIMENTAL && AR7
11 + select PHYLIB
12 + select FIXED_PHY
13 + select FIXED_MII_100_FDX
14 + help
15 + TI AR7 CPMAC Ethernet support
16 +
17 config NET_POCKET
18 bool "Pocket and portable adapters"
19 depends on NET_ETHERNET && PARPORT
20 diff -Nru linux-2.6.19.2/drivers/net/Makefile linux-ar7/drivers/net/Makefile
21 --- linux-2.6.19.2/drivers/net/Makefile 2006-12-12 02:32:53.000000000 +0700
22 +++ linux-ar7/drivers/net/Makefile 2007-01-29 21:52:22.000000000 +0700
23 @@ -148,6 +148,7 @@
24 obj-$(CONFIG_8139TOO) += 8139too.o
25 obj-$(CONFIG_ZNET) += znet.o
26 obj-$(CONFIG_LAN_SAA9730) += saa9730.o
27 +obj-$(CONFIG_CPMAC) += cpmac.o
28 obj-$(CONFIG_DEPCA) += depca.o
29 obj-$(CONFIG_EWRK3) += ewrk3.o
30 obj-$(CONFIG_ATP) += atp.o