[PATCH] floppy: Correct documentation of driver options when usedas a module.

From: Ben Harris
Date: Fri Oct 18 2013 - 16:44:17 EST


From: Ben Harris <bjh21@xxxxxxxxx>

The options have to be passed space-separated and prefixed by "floppy=", rather than separately and unprefixed.

This fixes <http://bugs.debian.org/726655>.

Signed-off-by: Ben Harris <bjh21@xxxxxxxxx>
---
This patch is against Linux 3.12-rc5.

--- linux-3.12-rc5/Documentation/blockdev/floppy.txt.orig 2013-10-13 23:41:28.000000000 +0100
+++ linux-3.12-rc5/Documentation/blockdev/floppy.txt 2013-10-18 21:03:27.000000000 +0100
@@ -39,15 +39,15 @@ Module configuration options
============================

If you use the floppy driver as a module, use the following syntax:
-modprobe floppy <options>
+modprobe floppy floppy="<options>"

Example:
- modprobe floppy omnibook messages
+ modprobe floppy floppy="omnibook messages"

If you need certain options enabled every time you load the floppy driver,
you can put:

- options floppy omnibook messages
+ options floppy floppy="omnibook messages"

in a configuration file in /etc/modprobe.d/.

--
Ben Harris, University of Cambridge Computing Service.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/