[package] remove the ar7-atm hotplug for the moment since it makes the driver oops
[openwrt-10.03/.git] / target / linux / sibyte / patches / 100-honuor_config_cmdline.patch
1 --- a/arch/mips/sibyte/cfe/setup.c
2 +++ b/arch/mips/sibyte/cfe/setup.c
3 @@ -293,7 +293,11 @@ void __init prom_init(void)
4                          * It's OK for direct boot to not provide a
5                          *  command line
6                          */
7 +#ifdef CONFIG_CMDLINE
8 +                       strlcpy(arcs_cmdline, CONFIG_CMDLINE, COMMAND_LINE_SIZE);
9 +#else
10                         strcpy(arcs_cmdline, "root=/dev/ram0 ");
11 +#endif
12                 } else {
13                         /* The loader should have set the command line */
14                         /* too early for panic to do any good */