[kernel] make mips_machine stuff available for other MIPS targets
[openwrt.git] / target / linux / brcm47xx / patches-2.6.25 / 100-board_support.patch
1 --- a/arch/mips/Kconfig
2 +++ b/arch/mips/Kconfig
3 @@ -50,8 +50,10 @@ config BCM47XX
4 select SYS_SUPPORTS_32BIT_KERNEL
5 select SYS_SUPPORTS_LITTLE_ENDIAN
6 select SSB
7 + select SSB_SERIAL
8 select SSB_DRIVER_MIPS
9 select SSB_DRIVER_EXTIF
10 + select SSB_DRIVER_PCICORE
11 select SSB_PCICORE_HOSTMODE if PCI
12 select GENERIC_GPIO
13 select SYS_HAS_EARLY_PRINTK
14 @@ -790,6 +792,7 @@ config CSRC_SB1250
15
16 config CFE
17 bool
18 + # Common Firmware Environment
19
20 config DMA_COHERENT
21 bool
22 --- a/include/asm-mips/bootinfo.h
23 +++ b/include/asm-mips/bootinfo.h
24 @@ -94,6 +94,12 @@
25 #define MACH_MSP7120_FPGA 5 /* PMC-Sierra MSP7120 Emulation */
26 #define MACH_MSP_OTHER 255 /* PMC-Sierra unknown board type */
27
28 +/*
29 + * Valid machtype for group Broadcom
30 + */
31 +#define MACH_GROUP_BRCM 23 /* Broadcom */
32 +#define MACH_BCM47XX 1 /* Broadcom BCM47xx */
33 +
34 #define CL_SIZE COMMAND_LINE_SIZE
35
36 extern char *system_type;
37 --- a/include/linux/pci_ids.h
38 +++ b/include/linux/pci_ids.h
39 @@ -2001,6 +2001,7 @@
40 #define PCI_DEVICE_ID_TIGON3_5906M 0x1713
41 #define PCI_DEVICE_ID_BCM4401 0x4401
42 #define PCI_DEVICE_ID_BCM4401B0 0x4402
43 +#define PCI_DEVICE_ID_BCM4713 0x4713
44
45 #define PCI_VENDOR_ID_TOPIC 0x151f
46 #define PCI_DEVICE_ID_TOPIC_TP560 0x0000
This page took 0.04548 seconds and 5 git commands to generate.