ar71xx: ag71xx: use NETDEV_TX_OK
[openwrt.git] / target / linux / ar71xx / patches-2.6.33 / 001-ar71xx_core.patch
1 Index: linux-2.6.33/arch/mips/Makefile
2 ===================================================================
3 --- linux-2.6.33.orig/arch/mips/Makefile        2010-02-28 16:43:15.000000000 +0100
4 +++ linux-2.6.33/arch/mips/Makefile     2010-02-28 16:45:56.397211344 +0100
5 @@ -637,6 +637,13 @@
6  load-$(CONFIG_CPU_CAVIUM_OCTEON)       += 0xffffffff81100000
7  endif
8  
9 +#
10 +# Atheros AR71xx
11 +#
12 +core-$(CONFIG_ATHEROS_AR71XX)  += arch/mips/ar71xx/
13 +cflags-$(CONFIG_ATHEROS_AR71XX)        += -I$(srctree)/arch/mips/include/asm/mach-ar71xx
14 +load-$(CONFIG_ATHEROS_AR71XX)  += 0xffffffff80060000
15 +
16  # temporary until string.h is fixed
17  cflags-y += -ffreestanding
18  
19 Index: linux-2.6.33/arch/mips/Kconfig
20 ===================================================================
21 --- linux-2.6.33.orig/arch/mips/Kconfig 2010-02-28 16:43:15.000000000 +0100
22 +++ linux-2.6.33/arch/mips/Kconfig      2010-02-28 16:46:56.150331076 +0100
23 @@ -48,6 +48,23 @@
24           Support for the Texas Instruments AR7 System-on-a-Chip
25           family: TNETD7100, 7200 and 7300.
26  
27 +config ATHEROS_AR71XX
28 +       bool "Atheros AR71xx based boards"
29 +       select CEVT_R4K
30 +       select CSRC_R4K
31 +       select DMA_NONCOHERENT
32 +       select HW_HAS_PCI
33 +       select IRQ_CPU
34 +       select ARCH_REQUIRE_GPIOLIB
35 +       select SYS_HAS_CPU_MIPS32_R1
36 +       select SYS_HAS_CPU_MIPS32_R2
37 +       select SYS_SUPPORTS_32BIT_KERNEL
38 +       select SYS_SUPPORTS_BIG_ENDIAN
39 +       select SYS_HAS_EARLY_PRINTK
40 +       select MIPS_MACHINE
41 +       help
42 +         Support for Atheros AR71xx based boards.
43 +
44  config BCM47XX
45         bool "BCM47XX based boards"
46         select CEVT_R4K
47 @@ -682,6 +699,7 @@
48  endchoice
49  
50  source "arch/mips/alchemy/Kconfig"
51 +source "arch/mips/ar71xx/Kconfig"
52  source "arch/mips/bcm63xx/Kconfig"
53  source "arch/mips/jazz/Kconfig"
54  source "arch/mips/lasat/Kconfig"