diff options
author | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 2008-07-23 21:55:55 +0400 |
---|---|---|
committer | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 2008-07-23 21:55:55 +0400 |
commit | c30daac190de23779090c645e680c7977377032c (patch) | |
tree | c2169a32701d1da7271d6635c347f30f7bfa1985 /drivers/ide/pci | |
parent | ba4b2e607e4e9eaa929935325dafd5c86d3b5262 (diff) | |
download | linux-c30daac190de23779090c645e680c7977377032c.tar.xz |
ide: filter out invalid transfer mode values in set_xfer_rate()
Filter out invalid transfer mode values (0x02-0x07) in write handler
for obsoleted /proc/ide/hd?/settings:current_speed setting.
While at it:
* Use XFER_UDMA_6 define.
Suggested-by: Sergei Shtylyov <sshtylyov@ru.mvista.com>
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Diffstat (limited to 'drivers/ide/pci')
0 files changed, 0 insertions, 0 deletions