1 Index: linux-2.4.35.4/arch/mips/config-shared.in
2 ===================================================================
3 --- linux-2.4.35.4.orig/arch/mips/config-shared.in
4 +++ linux-2.4.35.4/arch/mips/config-shared.in
5 @@ -208,6 +208,14 @@ if [ "$CONFIG_SIBYTE_SB1xxx_SOC" = "y" ]
7 define_bool CONFIG_MIPS_RTC y
9 +dep_bool 'Support for Broadcom MIPS-based boards' CONFIG_MIPS_BRCM $CONFIG_EXPERIMENTAL
10 +dep_bool 'Support for Broadcom BCM947XX' CONFIG_BCM947XX $CONFIG_MIPS_BRCM
11 +if [ "$CONFIG_BCM947XX" = "y" ] ; then
12 + bool ' Support for Broadcom BCM4710' CONFIG_BCM4710
13 + bool ' Support for Broadcom BCM4310' CONFIG_BCM4310
14 + bool ' Support for Broadcom BCM4704' CONFIG_BCM4704
15 + bool ' Support for Broadcom BCM5365' CONFIG_BCM5365
17 bool 'Support for SNI RM200 PCI' CONFIG_SNI_RM200_PCI
18 bool 'Support for TANBAC TB0226 (Mbase)' CONFIG_TANBAC_TB0226
19 bool 'Support for TANBAC TB0229 (VR4131DIMM)' CONFIG_TANBAC_TB0229
20 @@ -229,6 +237,11 @@ define_bool CONFIG_RWSEM_GENERIC_SPINLOC
21 define_bool CONFIG_RWSEM_XCHGADD_ALGORITHM n
24 +# Provide an option for a default kernel command line
26 +string 'Default kernel command string' CONFIG_CMDLINE ""
29 # Select some configuration options automatically based on user selections.
31 if [ "$CONFIG_ACER_PICA_61" = "y" ]; then
32 @@ -554,6 +567,12 @@ if [ "$CONFIG_SIBYTE_SB1xxx_SOC" = "y" ]
33 define_bool CONFIG_SWAP_IO_SPACE_L y
34 define_bool CONFIG_BOOT_ELF32 y
36 +if [ "$CONFIG_BCM947XX" = "y" ] ; then
37 + define_bool CONFIG_PCI y
38 + define_bool CONFIG_NONCOHERENT_IO y
39 + define_bool CONFIG_NEW_TIME_C y
40 + define_bool CONFIG_NEW_IRQ y
42 if [ "$CONFIG_SNI_RM200_PCI" = "y" ]; then
43 define_bool CONFIG_ARC32 y
44 define_bool CONFIG_ARC_MEMORY y
45 @@ -1042,7 +1061,11 @@ comment 'Kernel hacking'
47 bool 'Are you using a crosscompiler' CONFIG_CROSSCOMPILE
48 bool 'Enable run-time debugging' CONFIG_RUNTIME_DEBUG
49 -bool 'Remote GDB kernel debugging' CONFIG_KGDB
50 +if [ "$CONFIG_BCM947XX" = "y" ] ; then
51 + bool 'Remote GDB kernel debugging' CONFIG_REMOTE_DEBUG
53 + bool 'Remote GDB kernel debugging' CONFIG_KGDB
55 dep_bool ' Console output to GDB' CONFIG_GDB_CONSOLE $CONFIG_KGDB
56 if [ "$CONFIG_KGDB" = "y" ]; then
57 define_bool CONFIG_DEBUG_INFO y
58 Index: linux-2.4.35.4/arch/mips/kernel/cpu-probe.c
59 ===================================================================
60 --- linux-2.4.35.4.orig/arch/mips/kernel/cpu-probe.c
61 +++ linux-2.4.35.4/arch/mips/kernel/cpu-probe.c
62 @@ -162,7 +162,7 @@ static inline int __cpu_has_fpu(void)
64 static inline void cpu_probe_legacy(struct cpuinfo_mips *c)
66 - switch (c->processor_id & 0xff00) {
67 + switch (c->processor_id & PRID_IMP_MASK) {
69 c->cputype = CPU_R2000;
70 c->isa_level = MIPS_CPU_ISA_I;
71 @@ -172,7 +172,7 @@ static inline void cpu_probe_legacy(stru
75 - if ((c->processor_id & 0xff) == PRID_REV_R3000A)
76 + if ((c->processor_id & PRID_REV_MASK) == PRID_REV_R3000A)
77 if (cpu_has_confreg())
78 c->cputype = CPU_R3081E;
80 @@ -187,12 +187,12 @@ static inline void cpu_probe_legacy(stru
83 if (read_c0_config() & CONF_SC) {
84 - if ((c->processor_id & 0xff) >= PRID_REV_R4400)
85 + if ((c->processor_id & PRID_REV_MASK) >= PRID_REV_R4400)
86 c->cputype = CPU_R4400PC;
88 c->cputype = CPU_R4000PC;
90 - if ((c->processor_id & 0xff) >= PRID_REV_R4400)
91 + if ((c->processor_id & PRID_REV_MASK) >= PRID_REV_R4400)
92 c->cputype = CPU_R4400SC;
94 c->cputype = CPU_R4000SC;
95 @@ -438,7 +438,7 @@ static inline void decode_config1(struct
96 static inline void cpu_probe_mips(struct cpuinfo_mips *c)
99 - switch (c->processor_id & 0xff00) {
100 + switch (c->processor_id & PRID_IMP_MASK) {
102 c->cputype = CPU_4KC;
103 c->isa_level = MIPS_CPU_ISA_M32;
104 @@ -479,10 +479,10 @@ static inline void cpu_probe_alchemy(str
107 c->options |= MIPS_CPU_PREFETCH;
108 - switch (c->processor_id & 0xff00) {
109 + switch (c->processor_id & PRID_IMP_MASK) {
110 case PRID_IMP_AU1_REV1:
111 case PRID_IMP_AU1_REV2:
112 - switch ((c->processor_id >> 24) & 0xff) {
113 + switch ((c->processor_id >> 24) & PRID_REV_MASK) {
115 c->cputype = CPU_AU1000;
117 @@ -510,10 +510,34 @@ static inline void cpu_probe_alchemy(str
121 +static inline void cpu_probe_broadcom(struct cpuinfo_mips *c)
124 + c->options |= MIPS_CPU_PREFETCH;
125 + switch (c->processor_id & PRID_IMP_MASK) {
126 + case PRID_IMP_BCM4710:
127 + c->cputype = CPU_BCM4710;
128 + c->options = MIPS_CPU_TLB | MIPS_CPU_4KEX |
129 + MIPS_CPU_4KTLB | MIPS_CPU_COUNTER;
130 + c->scache.flags = MIPS_CACHE_NOT_PRESENT;
133 + case PRID_IMP_BCM3302:
134 + c->cputype = CPU_BCM3302;
135 + c->options = MIPS_CPU_TLB | MIPS_CPU_4KEX |
136 + MIPS_CPU_4KTLB | MIPS_CPU_COUNTER;
137 + c->scache.flags = MIPS_CACHE_NOT_PRESENT;
140 + c->cputype = CPU_UNKNOWN;
145 static inline void cpu_probe_sibyte(struct cpuinfo_mips *c)
148 - switch (c->processor_id & 0xff00) {
149 + switch (c->processor_id & PRID_IMP_MASK) {
151 c->cputype = CPU_SB1;
152 c->isa_level = MIPS_CPU_ISA_M64;
153 @@ -535,7 +559,7 @@ static inline void cpu_probe_sibyte(stru
154 static inline void cpu_probe_sandcraft(struct cpuinfo_mips *c)
157 - switch (c->processor_id & 0xff00) {
158 + switch (c->processor_id & PRID_IMP_MASK) {
159 case PRID_IMP_SR71000:
160 c->cputype = CPU_SR71000;
161 c->isa_level = MIPS_CPU_ISA_M64;
162 @@ -560,7 +584,7 @@ __init void cpu_probe(void)
163 c->cputype = CPU_UNKNOWN;
165 c->processor_id = read_c0_prid();
166 - switch (c->processor_id & 0xff0000) {
167 + switch (c->processor_id & PRID_COMP_MASK) {
169 case PRID_COMP_LEGACY:
171 @@ -571,6 +595,9 @@ __init void cpu_probe(void)
172 case PRID_COMP_ALCHEMY:
173 cpu_probe_alchemy(c);
175 + case PRID_COMP_BROADCOM:
176 + cpu_probe_broadcom(c);
178 case PRID_COMP_SIBYTE:
181 Index: linux-2.4.35.4/arch/mips/kernel/head.S
182 ===================================================================
183 --- linux-2.4.35.4.orig/arch/mips/kernel/head.S
184 +++ linux-2.4.35.4/arch/mips/kernel/head.S
186 #include <asm/mipsregs.h>
187 #include <asm/stackframe.h>
189 +#ifdef CONFIG_BCM4710
191 +#define eret nop; nop; eret
199 * Reserved space for exception handlers.
200 * Necessary for machines which link their kernels at KSEG0.
205 /* The following two symbols are used for kernel profiling. */
207 Index: linux-2.4.35.4/arch/mips/kernel/proc.c
208 ===================================================================
209 --- linux-2.4.35.4.orig/arch/mips/kernel/proc.c
210 +++ linux-2.4.35.4/arch/mips/kernel/proc.c
211 @@ -78,9 +78,10 @@ static const char *cpu_name[] = {
212 [CPU_AU1550] "Au1550",
213 [CPU_24K] "MIPS 24K",
214 [CPU_AU1200] "Au1200",
215 + [CPU_BCM4710] "BCM4710",
216 + [CPU_BCM3302] "BCM3302",
220 static int show_cpuinfo(struct seq_file *m, void *v)
222 unsigned int version = current_cpu_data.processor_id;
223 Index: linux-2.4.35.4/arch/mips/kernel/setup.c
224 ===================================================================
225 --- linux-2.4.35.4.orig/arch/mips/kernel/setup.c
226 +++ linux-2.4.35.4/arch/mips/kernel/setup.c
227 @@ -493,6 +493,7 @@ void __init setup_arch(char **cmdline_p)
228 void swarm_setup(void);
230 void au1x00_setup(void);
231 + void brcm_setup(void);
232 void frame_info_init(void);
235 @@ -691,6 +692,11 @@ void __init setup_arch(char **cmdline_p)
236 pmc_yosemite_setup();
239 +#if defined(CONFIG_BCM4710) || defined(CONFIG_BCM4310)
240 + case MACH_GROUP_BRCM:
245 panic("Unsupported architecture");
247 Index: linux-2.4.35.4/arch/mips/kernel/traps.c
248 ===================================================================
249 --- linux-2.4.35.4.orig/arch/mips/kernel/traps.c
250 +++ linux-2.4.35.4/arch/mips/kernel/traps.c
251 @@ -920,6 +920,7 @@ void __init per_cpu_trap_init(void)
252 void __init trap_init(void)
254 extern char except_vec1_generic;
255 + extern char except_vec2_generic;
256 extern char except_vec3_generic, except_vec3_r4000;
257 extern char except_vec_ejtag_debug;
258 extern char except_vec4;
259 @@ -927,6 +928,7 @@ void __init trap_init(void)
261 /* Copy the generic exception handler code to it's final destination. */
262 memcpy((void *)(KSEG0 + 0x80), &except_vec1_generic, 0x80);
263 + memcpy((void *)(KSEG0 + 0x100), &except_vec2_generic, 0x80);
266 * Setup default vectors
267 @@ -985,6 +987,12 @@ void __init trap_init(void)
268 set_except_vector(13, handle_tr);
269 set_except_vector(22, handle_mdmx);
271 + if (current_cpu_data.cputype == CPU_SB1) {
272 + /* Enable timer interrupt and scd mapped interrupt */
273 + clear_c0_status(0xf000);
274 + set_c0_status(0xc00);
277 if (cpu_has_fpu && !cpu_has_nofpuex)
278 set_except_vector(15, handle_fpe);
280 Index: linux-2.4.35.4/arch/mips/Makefile
281 ===================================================================
282 --- linux-2.4.35.4.orig/arch/mips/Makefile
283 +++ linux-2.4.35.4/arch/mips/Makefile
284 @@ -726,6 +726,19 @@ LOADADDR += 0x80020000
288 +# Broadcom BCM947XX variants
290 +ifdef CONFIG_BCM947XX
291 +LIBS += arch/mips/bcm947xx/generic/brcm.o arch/mips/bcm947xx/bcm947xx.o
292 +SUBDIRS += arch/mips/bcm947xx/generic arch/mips/bcm947xx
293 +LOADADDR := 0x80001000
296 + $(MAKE) -C arch/$(ARCH)/bcm947xx/compressed
301 # Choosing incompatible machines durings configuration will result in
302 # error messages during linking. Select a default linkscript if
303 # none has been choosen above.
304 @@ -779,6 +792,7 @@ archclean:
305 $(MAKE) -C arch/$(ARCH)/tools clean
306 $(MAKE) -C arch/mips/baget clean
307 $(MAKE) -C arch/mips/lasat clean
308 + $(MAKE) -C arch/mips/bcm947xx/compressed clean
311 @$(MAKEBOOT) mrproper
312 Index: linux-2.4.35.4/arch/mips/mm/c-r4k.c
313 ===================================================================
314 --- linux-2.4.35.4.orig/arch/mips/mm/c-r4k.c
315 +++ linux-2.4.35.4/arch/mips/mm/c-r4k.c
316 @@ -1118,3 +1118,47 @@ void __init ld_mmu_r4xx0(void)
321 +#ifdef CONFIG_BCM4704
322 +static void __init mips32_icache_fill(unsigned long addr, uint nbytes)
324 + unsigned long ic_lsize = current_cpu_data.icache.linesz;
326 + for (i = 0; i < nbytes; i += ic_lsize)
327 + fill_icache_line((addr + i));
331 + * This must be run from the cache on 4704A0
332 + * so there are no mips core BIU ops in progress
333 + * when the PFC is enabled.
335 +#define PFC_CR0 0xff400000 /* control reg 0 */
336 +#define PFC_CR1 0xff400004 /* control reg 1 */
337 +static void __init enable_pfc(u32 mode)
340 + *(volatile u32 *)PFC_CR1 = 0xffff0000;
343 + *(volatile u32 *)PFC_CR0 = mode;
348 +void check_enable_mips_pfc(int val)
351 +#ifdef CONFIG_BCM4704
352 + struct cpuinfo_mips *c = ¤t_cpu_data;
354 + /* enable prefetch cache */
355 + if (((c->processor_id & (PRID_COMP_MASK | PRID_IMP_MASK)) == PRID_IMP_BCM3302)
356 + && (read_c0_diag() & (1 << 29))) {
357 + mips32_icache_fill((unsigned long) &enable_pfc, 64);
364 Index: linux-2.4.35.4/arch/mips/pci/Makefile
365 ===================================================================
366 --- linux-2.4.35.4.orig/arch/mips/pci/Makefile
367 +++ linux-2.4.35.4/arch/mips/pci/Makefile
368 @@ -13,7 +13,9 @@ obj-$(CONFIG_MIPS_GT64120) += ops-gt6412
369 obj-$(CONFIG_MIPS_MSC) += ops-msc.o
370 obj-$(CONFIG_MIPS_NILE4) += ops-nile4.o
371 obj-$(CONFIG_SNI_RM200_PCI) += ops-sni.o
372 +ifndef CONFIG_BCM947XX
375 obj-$(CONFIG_PCI_AUTO) += pci_auto.o
377 include $(TOPDIR)/Rules.make
378 Index: linux-2.4.35.4/drivers/char/serial.c
379 ===================================================================
380 --- linux-2.4.35.4.orig/drivers/char/serial.c
381 +++ linux-2.4.35.4/drivers/char/serial.c
382 @@ -444,6 +444,10 @@ static _INLINE_ unsigned int serial_in(s
383 return inb(info->port+1);
386 +#ifdef CONFIG_BCM4310
387 + readb((unsigned long) info->iomem_base +
388 + (UART_SCR<<info->iomem_reg_shift));
390 return readb((unsigned long) info->iomem_base +
391 (offset<<info->iomem_reg_shift));
393 @@ -464,6 +468,9 @@ static _INLINE_ void serial_out(struct a
395 writeb(value, (unsigned long) info->iomem_base +
396 (offset<<info->iomem_reg_shift));
397 +#ifdef CONFIG_BCM4704
398 + *((volatile unsigned int *) KSEG1ADDR(0x18000000));
402 outb(value, info->port+offset);
403 @@ -1728,7 +1735,7 @@ static void change_speed(struct async_st
404 /* Special case since 134 is really 134.5 */
405 quot = (2*baud_base / 269);
407 - quot = baud_base / baud;
408 + quot = (baud_base + (baud / 2)) / baud;
410 /* If the quotient is zero refuse the change */
411 if (!quot && old_termios) {
412 @@ -1745,12 +1752,12 @@ static void change_speed(struct async_st
413 /* Special case since 134 is really 134.5 */
414 quot = (2*baud_base / 269);
416 - quot = baud_base / baud;
417 + quot = (baud_base + (baud / 2)) / baud;
420 /* As a last resort, if the quotient is zero, default to 9600 bps */
422 - quot = baud_base / 9600;
423 + quot = (baud_base + 4800) / 9600;
425 * Work around a bug in the Oxford Semiconductor 952 rev B
426 * chip which causes it to seriously miscalculate baud rates
427 @@ -5994,6 +6001,13 @@ static int __init serial_console_setup(s
428 * Divisor, bytesize and parity
430 state = rs_table + co->index;
432 + * Safe guard: state structure must have been initialized
434 + if (state->iomem_base == NULL) {
435 + printk("!unable to setup serial console!\n");
439 state->flags |= ASYNC_CONS_FLOW;
440 info = &async_sercons;
441 @@ -6007,7 +6021,7 @@ static int __init serial_console_setup(s
442 info->io_type = state->io_type;
443 info->iomem_base = state->iomem_base;
444 info->iomem_reg_shift = state->iomem_reg_shift;
445 - quot = state->baud_base / baud;
446 + quot = (state->baud_base + (baud / 2)) / baud;
447 cval = cflag & (CSIZE | CSTOPB);
448 #if defined(__powerpc__) || defined(__alpha__)
450 Index: linux-2.4.35.4/drivers/net/Makefile
451 ===================================================================
452 --- linux-2.4.35.4.orig/drivers/net/Makefile
453 +++ linux-2.4.35.4/drivers/net/Makefile
455 # Makefile for the Linux network (ethercard) device drivers.
458 +EXTRA_CFLAGS := -I$(TOPDIR)/arch/mips/bcm947xx/include
463 Index: linux-2.4.35.4/drivers/parport/Config.in
464 ===================================================================
465 --- linux-2.4.35.4.orig/drivers/parport/Config.in
466 +++ linux-2.4.35.4/drivers/parport/Config.in
467 @@ -11,6 +11,7 @@ comment 'Parallel port support'
468 tristate 'Parallel port support' CONFIG_PARPORT
469 if [ "$CONFIG_PARPORT" != "n" ]; then
470 dep_tristate ' PC-style hardware' CONFIG_PARPORT_PC $CONFIG_PARPORT
471 + dep_tristate ' Asus WL500g parallel port' CONFIG_PARPORT_SPLINK $CONFIG_PARPORT
472 if [ "$CONFIG_PARPORT_PC" != "n" -a "$CONFIG_SERIAL" != "n" ]; then
473 if [ "$CONFIG_SERIAL" = "m" ]; then
474 define_tristate CONFIG_PARPORT_PC_CML1 m
475 Index: linux-2.4.35.4/drivers/parport/Makefile
476 ===================================================================
477 --- linux-2.4.35.4.orig/drivers/parport/Makefile
478 +++ linux-2.4.35.4/drivers/parport/Makefile
479 @@ -22,6 +22,7 @@ endif
481 obj-$(CONFIG_PARPORT) += parport.o
482 obj-$(CONFIG_PARPORT_PC) += parport_pc.o
483 +obj-$(CONFIG_PARPORT_SPLINK) += parport_splink.o
484 obj-$(CONFIG_PARPORT_PC_PCMCIA) += parport_cs.o
485 obj-$(CONFIG_PARPORT_AMIGA) += parport_amiga.o
486 obj-$(CONFIG_PARPORT_MFC3) += parport_mfc3.o
487 Index: linux-2.4.35.4/include/asm-mips/bootinfo.h
488 ===================================================================
489 --- linux-2.4.35.4.orig/include/asm-mips/bootinfo.h
490 +++ linux-2.4.35.4/include/asm-mips/bootinfo.h
492 #define MACH_GROUP_HP_LJ 20 /* Hewlett Packard LaserJet */
493 #define MACH_GROUP_LASAT 21
494 #define MACH_GROUP_TITAN 22 /* PMC-Sierra Titan */
495 +#define MACH_GROUP_BRCM 23 /* Broadcom */
498 * Valid machtype values for group unknown (low order halfword of mips_machtype)
500 #define MACH_TANBAC_TB0229 7 /* TANBAC TB0229 (VR4131DIMM) */
503 + * Valid machtypes for group Broadcom
505 +#define MACH_BCM93725 0
506 +#define MACH_BCM93725_VJ 1
507 +#define MACH_BCM93730 2
508 +#define MACH_BCM947XX 3
509 +#define MACH_BCM933XX 4
512 * Valid machtype for group TITAN
514 #define MACH_TITAN_YOSEMITE 1 /* PMC-Sierra Yosemite */
515 Index: linux-2.4.35.4/include/asm-mips/cpu.h
516 ===================================================================
517 --- linux-2.4.35.4.orig/include/asm-mips/cpu.h
518 +++ linux-2.4.35.4/include/asm-mips/cpu.h
523 +#define PRID_COPT_MASK 0xff000000
524 +#define PRID_COMP_MASK 0x00ff0000
525 +#define PRID_IMP_MASK 0x0000ff00
526 +#define PRID_REV_MASK 0x000000ff
528 #define PRID_COMP_LEGACY 0x000000
529 #define PRID_COMP_MIPS 0x010000
530 #define PRID_COMP_BROADCOM 0x020000
532 #define PRID_IMP_RM7000 0x2700
533 #define PRID_IMP_NEVADA 0x2800 /* RM5260 ??? */
534 #define PRID_IMP_RM9000 0x3400
535 +#define PRID_IMP_BCM4710 0x4000
536 #define PRID_IMP_R5432 0x5400
537 #define PRID_IMP_R5500 0x5500
538 #define PRID_IMP_4KC 0x8000
540 #define PRID_IMP_4KEC 0x8400
541 #define PRID_IMP_4KSC 0x8600
542 #define PRID_IMP_25KF 0x8800
543 +#define PRID_IMP_BCM3302 0x9000
544 +#define PRID_IMP_BCM3303 0x9100
545 #define PRID_IMP_24K 0x9300
547 #define PRID_IMP_UNKNOWN 0xff00
549 +#define BCM330X(id) \
550 + (((id & (PRID_COMP_MASK | PRID_IMP_MASK)) == (PRID_COMP_BROADCOM | PRID_IMP_BCM3302)) \
551 + || ((id & (PRID_COMP_MASK | PRID_IMP_MASK)) == (PRID_COMP_BROADCOM | PRID_IMP_BCM3303)))
554 * These are the PRID's for when 23:16 == PRID_COMP_SIBYTE
557 #define CPU_AU1550 57
559 #define CPU_AU1200 59
561 +#define CPU_BCM4710 60
562 +#define CPU_BCM3302 61
566 * ISA Level encodings
567 Index: linux-2.4.35.4/include/asm-mips/r4kcache.h
568 ===================================================================
569 --- linux-2.4.35.4.orig/include/asm-mips/r4kcache.h
570 +++ linux-2.4.35.4/include/asm-mips/r4kcache.h
571 @@ -567,4 +567,17 @@ static inline void blast_scache128_page_
572 cache128_unroll32(addr|ws,Index_Writeback_Inv_SD);
575 +extern inline void fill_icache_line(unsigned long addr)
577 + __asm__ __volatile__(
578 + ".set noreorder\n\t"
580 + "cache %1, (%0)\n\t"
588 #endif /* __ASM_R4KCACHE_H */
589 Index: linux-2.4.35.4/include/asm-mips/serial.h
590 ===================================================================
591 --- linux-2.4.35.4.orig/include/asm-mips/serial.h
592 +++ linux-2.4.35.4/include/asm-mips/serial.h
594 #define TXX927_SERIAL_PORT_DEFNS
597 +#ifdef CONFIG_BCM947XX
598 +/* reserve 4 ports to be configured at runtime */
599 +#define BCM947XX_SERIAL_PORT_DEFNS { 0, }, { 0, }, { 0, }, { 0, },
601 +#define BCM947XX_SERIAL_PORT_DEFNS
604 #ifdef CONFIG_HAVE_STD_PC_SERIAL_PORT
605 #define STD_SERIAL_PORT_DEFNS \
606 /* UART CLK PORT IRQ FLAGS */ \
608 #define SERIAL_PORT_DFNS \
609 ATLAS_SERIAL_PORT_DEFNS \
610 AU1000_SERIAL_PORT_DEFNS \
611 + BCM947XX_SERIAL_PORT_DEFNS \
612 COBALT_SERIAL_PORT_DEFNS \
613 DDB5477_SERIAL_PORT_DEFNS \
614 EV96100_SERIAL_PORT_DEFNS \
615 Index: linux-2.4.35.4/init/do_mounts.c
616 ===================================================================
617 --- linux-2.4.35.4.orig/init/do_mounts.c
618 +++ linux-2.4.35.4/init/do_mounts.c
619 @@ -254,7 +254,13 @@ static struct dev_name_struct {
623 +#if defined(CONFIG_MTD_BLOCK) || defined(CONFIG_MTD_BLOCK_RO)
624 { "mtdblock", 0x1f00 },
625 + { "mtdblock0",0x1f00 },
626 + { "mtdblock1",0x1f01 },
627 + { "mtdblock2",0x1f02 },
628 + { "mtdblock3",0x1f03 },