[PATCH] 2.3.13: Floppy options are ignored at boot time

Luca Montecchiani (m.luca@iname.com)
Fri, 13 Aug 1999 03:23:27 +0200


Using 2.3.13 on my old thinkpad laptop I've noticed that
"floppy=thinkpad" lilo option doesn't work anymore.

In short it's impossible to give _any_ floppy cmdline at boot time.
Using floppy.o as a module work fine as usual.

I've also found an unused define FLOPPY_SETUP.

Follow the patch:

--- floppy.c.ori Fri Aug 13 01:23:31 1999
+++ floppy.c Fri Aug 13 03:02:03 1999
@@ -4061,7 +4061,6 @@
{ "no_unexpected_interrupts", 0, &print_unex, 0, 0 },
{ "L40SX", 0, &print_unex, 0, 0 } };

-#define FLOPPY_SETUP
void __init floppy_setup(char *str)
{
int i;
@@ -4457,6 +4456,9 @@
#endif

#else
+
+__setup ("floppy=", floppy_setup);
+
/* eject the boot floppy (if we need the drive for a different root floppy) */
/* This should only be called at boot time when we're sure that there's no
* resource contention. */

ciao, luca

----------------------------------------------------------------
E-mail......: Luca Montecchiani <m.luca@iname.com>
W.W.W.......: http://i.am/m.luca
Speakfreely.: sflwl -hlwl.fourmilab.ch luca@
I.C.Q.......: 17655604
----------------------=(Linux since 1995)=----------------------

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/