refresh kernel patches
[oweals/openwrt.git] / target / linux / rdc / patches / 002-r6040_ethernet.patch
1 Index: linux-2.6.24.7/drivers/net/Kconfig
2 ===================================================================
3 --- linux-2.6.24.7.orig/drivers/net/Kconfig
4 +++ linux-2.6.24.7/drivers/net/Kconfig
5 @@ -1449,6 +1449,24 @@ config APRICOT
6           To compile this driver as a module, choose M here. The module
7           will be called apricot.
8  
9 +config R6040
10 +       tristate "RDC Fast-Ethernet support (EXPERIMENTAL)"
11 +       depends on NET_PCI && EXPERIMENTAL
12 +       select MII
13 +       help
14 +         If you have a network (Ethernet) controller of this type, say Y and
15 +         read the Ethernet-HOWTO, available from
16 +          <http://www.tldp.org/docs.html#howto>.
17 +
18 +          To compile this driver as a module, choose M here and read
19 +          <file:Documentation/networking/net-modules.txt>.  The module will be
20 +          called r6040.
21 +
22 +
23 +config R6040_NAPI
24 +       bool "NAPI support for R6040"
25 +       depends on R6040
26 +       default y
27  config B44
28         tristate "Broadcom 440x/47xx ethernet support"
29         depends on SSB_POSSIBLE
30 Index: linux-2.6.24.7/drivers/net/Makefile
31 ===================================================================
32 --- linux-2.6.24.7.orig/drivers/net/Makefile
33 +++ linux-2.6.24.7/drivers/net/Makefile
34 @@ -116,6 +116,7 @@ obj-$(CONFIG_LNE390) += lne390.o 8390.o
35  obj-$(CONFIG_NE3210) += ne3210.o 8390.o
36  obj-$(CONFIG_SB1250_MAC) += sb1250-mac.o
37  obj-$(CONFIG_B44) += b44.o
38 +obj-$(CONFIG_R6040) += r6040.o
39  obj-$(CONFIG_FORCEDETH) += forcedeth.o
40  obj-$(CONFIG_NE_H8300) += ne-h8300.o
41  obj-$(CONFIG_AX88796) += ax88796.o