--- zzzz-none-000/linux-2.4.17/arch/mips/mips-boards/malta/malta_setup.c 2001-09-09 17:43:02.000000000 +0000 +++ sangam-fb-322/linux-2.4.17/arch/mips/mips-boards/malta/malta_setup.c 2004-11-24 13:22:38.000000000 +0000 @@ -46,7 +46,7 @@ extern void set_debug_traps(void); extern void rs_kgdb_hook(int); extern void breakpoint(void); -static int remote_debug = 0; +int remote_debug = 0; #endif extern struct ide_ops std_ide_ops; @@ -85,6 +85,12 @@ */ enable_dma(4); + argptr = prom_getcmdline(); + if ((argptr = strstr(argptr, "ip=")) == NULL) { + argptr = prom_getcmdline(); + strcat(argptr, " ip=bootp"); + } + #ifdef CONFIG_SERIAL_CONSOLE argptr = prom_getcmdline(); if ((argptr = strstr(argptr, "console=")) == NULL) {