ide: ide.c 'clear' fix, update "ide=nodma" documentation
authorDavid Fries <david@fries.net>
Wed, 25 Feb 2009 19:28:21 +0000 (20:28 +0100)
committerBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Wed, 25 Feb 2009 19:28:21 +0000 (20:28 +0100)
commit0af80c04e2f2e45ae09fceb17df8050f828a5c40
treee37ae72a3c38447ede3d835325c24570f499477e
parentc15d8a6499d04e5d2cac07f8120f207bb275f60f
ide: ide.c 'clear' fix, update "ide=nodma" documentation

Documentation/kernel-parameters.txt
- ide=nodma is no longer valid.

drivers/ide/Kconfig
- The module is ide-core.ko not ide.

drivers/ide/ide.c
- It took me a while to figure out what the arguments %d.%d:%d to nodma
  module parameter ment, so I added a comment to each.
- Added a comment to each of the sscanf lines.
- There is a bug, if j is 0 it would previously clear all the other bits
  except the current device, changed in three different places.
  mask &= (1 << i) should be mask &= ~(1 << i).

Signed-off-by: David Fries <david@fries.net>
[bart: s/disk/device/ in ide.c, beautify patch description]
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Documentation/kernel-parameters.txt
drivers/ide/Kconfig
drivers/ide/ide.c