Remove preinit.arch, not used, compile NAPI support for R6040, change the profile...
[openwrt/svn-archive/archive.git] / target / linux / rdc-2.6 / patches / 002-r6040_ethernet.patch
1 diff -urN linux-2.6.17/drivers/net/Kconfig linux-2.6.17.new/drivers/net/Kconfig
2 --- linux-2.6.17/drivers/net/Kconfig 2006-06-18 03:49:35.000000000 +0200
3 +++ linux-2.6.17.new/drivers/net/Kconfig 2006-09-25 13:14:27.000000000 +0200
4 @@ -1358,6 +1358,23 @@
5 <file:Documentation/networking/net-modules.txt>. The module will be
6 called apricot.
7
8 +config R6040
9 + tristate "RDC Fast-Ethernet support (EXPERIMENTAL)"
10 + depends on NET_PCI && EXPERIMENTAL
11 + select MII
12 + help
13 + If you have a network (Ethernet) controller of this type, say Y and
14 + read the Ethernet-HOWTO, available from
15 + <http://www.tldp.org/docs.html#howto>.
16 +
17 + To compile this driver as a module, choose M here and read
18 + <file:Documentation/networking/net-modules.txt>. The module will be
19 + called r6040.
20 +
21 +
22 +config R6040_NAPI
23 + bool "NAPI support for R6040"
24 + default y
25 config B44
26 tristate "Broadcom 4400 ethernet support (EXPERIMENTAL)"
27 depends on NET_PCI && PCI && EXPERIMENTAL
28 diff -urN linux-2.6.17/drivers/net/Makefile linux-2.6.17.new/drivers/net/Makefile
29 --- linux-2.6.17/drivers/net/Makefile 2006-06-18 03:49:35.000000000 +0200
30 +++ linux-2.6.17.new/drivers/net/Makefile 2006-09-25 13:14:45.000000000 +0200
31 @@ -106,6 +106,7 @@
32 obj-$(CONFIG_NE3210) += ne3210.o 8390.o
33 obj-$(CONFIG_NET_SB1250_MAC) += sb1250-mac.o
34 obj-$(CONFIG_B44) += b44.o
35 +obj-$(CONFIG_R6040) += r6040.o
36 obj-$(CONFIG_FORCEDETH) += forcedeth.o
37 obj-$(CONFIG_NE_H8300) += ne-h8300.o 8390.o
38