d094b9ba88aca6d85a948dc417d93c920f130199
[openwrt/svn-archive/archive.git] / target / linux / brcm47xx / patches-2.6.25 / 100-board_support.patch
1 Index: linux-2.6.25/arch/mips/Kconfig
2 ===================================================================
3 --- linux-2.6.25.orig/arch/mips/Kconfig 2008-04-26 21:56:21.000000000 +0100
4 +++ linux-2.6.25/arch/mips/Kconfig 2008-04-26 22:08:17.000000000 +0100
5 @@ -50,8 +50,10 @@ config BCM47XX
6 select SYS_SUPPORTS_32BIT_KERNEL
7 select SYS_SUPPORTS_LITTLE_ENDIAN
8 select SSB
9 + select SSB_SERIAL
10 select SSB_DRIVER_MIPS
11 select SSB_DRIVER_EXTIF
12 + select SSB_DRIVER_PCICORE
13 select SSB_PCICORE_HOSTMODE if PCI
14 select GENERIC_GPIO
15 select SYS_HAS_EARLY_PRINTK
16 @@ -790,6 +792,7 @@ config CSRC_SB1250
17
18 config CFE
19 bool
20 + # Common Firmware Environment
21
22 config DMA_COHERENT
23 bool
24 Index: linux-2.6.25/include/asm-mips/bootinfo.h
25 ===================================================================
26 --- linux-2.6.25.orig/include/asm-mips/bootinfo.h 2008-04-26 21:56:21.000000000 +0100
27 +++ linux-2.6.25/include/asm-mips/bootinfo.h 2008-04-26 21:57:10.000000000 +0100
28 @@ -94,6 +94,12 @@
29 #define MACH_MSP7120_FPGA 5 /* PMC-Sierra MSP7120 Emulation */
30 #define MACH_MSP_OTHER 255 /* PMC-Sierra unknown board type */
31
32 +/*
33 + * Valid machtype for group Broadcom
34 + */
35 +#define MACH_GROUP_BRCM 23 /* Broadcom */
36 +#define MACH_BCM47XX 1 /* Broadcom BCM47xx */
37 +
38 #define CL_SIZE COMMAND_LINE_SIZE
39
40 extern char *system_type;
41 Index: linux-2.6.25/include/linux/pci_ids.h
42 ===================================================================
43 --- linux-2.6.25.orig/include/linux/pci_ids.h 2008-04-26 21:56:21.000000000 +0100
44 +++ linux-2.6.25/include/linux/pci_ids.h 2008-04-26 21:57:10.000000000 +0100
45 @@ -2000,6 +2000,7 @@
46 #define PCI_DEVICE_ID_TIGON3_5906M 0x1713
47 #define PCI_DEVICE_ID_BCM4401 0x4401
48 #define PCI_DEVICE_ID_BCM4401B0 0x4402
49 +#define PCI_DEVICE_ID_BCM4713 0x4713
50
51 #define PCI_VENDOR_ID_TOPIC 0x151f
52 #define PCI_DEVICE_ID_TOPIC_TP560 0x0000