diff options
author | Alan Stern <stern@rowland.harvard.edu> | 2008-12-15 10:40:06 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2009-01-07 13:00:12 -0500 |
commit | c838ea4626d6e982489ff519f9ecf5e1649ca90b (patch) | |
tree | 74d9f7e85b99c836ee14afb204416ee6e41450e9 /Documentation/kernel-parameters.txt | |
parent | 25ff1c316f6a763f1eefe7f8984b2d8c03888432 (diff) |
USB: storage: make the "quirks=" module parameter writable
This patch (as1190) makes usb-storage's "quirks=" module parameter
writable, so that users can add entries for their devices at runtime
with no need to reboot or reload usb-storage.
New codes are added for the SANE_SENSE, CAPACITY_HEURISTICS, and
CAPACITY_OK flags.
Signed-off-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'Documentation/kernel-parameters.txt')
-rw-r--r-- | Documentation/kernel-parameters.txt | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/Documentation/kernel-parameters.txt b/Documentation/kernel-parameters.txt index 8eb6e35405cd..a58fc8b73398 100644 --- a/Documentation/kernel-parameters.txt +++ b/Documentation/kernel-parameters.txt | |||
@@ -2396,14 +2396,21 @@ and is between 256 and 4096 characters. It is defined in the file | |||
2396 | and Product ID values (4-digit hex numbers) and | 2396 | and Product ID values (4-digit hex numbers) and |
2397 | Flags is a set of characters, each corresponding | 2397 | Flags is a set of characters, each corresponding |
2398 | to a common usb-storage quirk flag as follows: | 2398 | to a common usb-storage quirk flag as follows: |
2399 | a = SANE_SENSE (collect more than 18 bytes | ||
2400 | of sense data); | ||
2399 | c = FIX_CAPACITY (decrease the reported | 2401 | c = FIX_CAPACITY (decrease the reported |
2400 | device capacity by one sector); | 2402 | device capacity by one sector); |
2403 | h = CAPACITY_HEURISTICS (decrease the | ||
2404 | reported device capacity by one | ||
2405 | sector if the number is odd); | ||
2401 | i = IGNORE_DEVICE (don't bind to this | 2406 | i = IGNORE_DEVICE (don't bind to this |
2402 | device); | 2407 | device); |
2403 | l = NOT_LOCKABLE (don't try to lock and | 2408 | l = NOT_LOCKABLE (don't try to lock and |
2404 | unlock ejectable media); | 2409 | unlock ejectable media); |
2405 | m = MAX_SECTORS_64 (don't transfer more | 2410 | m = MAX_SECTORS_64 (don't transfer more |
2406 | than 64 sectors = 32 KB at a time); | 2411 | than 64 sectors = 32 KB at a time); |
2412 | o = CAPACITY_OK (accept the capacity | ||
2413 | reported by the device); | ||
2407 | r = IGNORE_RESIDUE (the device reports | 2414 | r = IGNORE_RESIDUE (the device reports |
2408 | bogus residue values); | 2415 | bogus residue values); |
2409 | s = SINGLE_LUN (the device has only one | 2416 | s = SINGLE_LUN (the device has only one |