diff options
author | Brett Russ <russb@emc.com> | 2005-09-02 03:53:34 +0200 |
---|---|---|
committer | Jeff Garzik <jgarzik@pobox.com> | 2005-09-07 07:54:54 +0200 |
commit | 7da79312830e6d9b3f6ee06b86c3a35caba2f6e7 (patch) | |
tree | afd386f0cee850f62fdb9245105e02fe49631d28 /drivers/scsi/Kconfig | |
parent | Merge master.kernel.org:/pub/scm/linux/kernel/git/paulus/ppc64-2.6 (diff) | |
download | linux-7da79312830e6d9b3f6ee06b86c3a35caba2f6e7.tar.xz linux-7da79312830e6d9b3f6ee06b86c3a35caba2f6e7.zip |
[PATCH] libata: fix pio_mask values (take 2)
ata_get_mode_mask() uses bits 3 and 4 in the pio_mask to represent PIO
modes 3 and 4. The value read from the drive, which reports support
for PIO3 and PIO4 in bits 0 and 1, is shifted left by 3 bits and OR'd
with 0x7 (which then corresponds to PIO 2-0 in libata). Thus, the
drivers below need adjustments to comply with the way pio_mask is
used. I changed the masks from the commented values to all support
PIO4-0, since the spec mandates that PIO0-2 are supported and there's
no reason not to support PIO3 IMO.
Signed-off-by: Brett Russ <russb@emc.com>
Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
Diffstat (limited to 'drivers/scsi/Kconfig')
0 files changed, 0 insertions, 0 deletions