diff options
author | Tejun Heo <htejun@gmail.com> | 2007-11-27 19:43:40 +0900 |
---|---|---|
committer | Jeff Garzik <jeff@garzik.org> | 2008-01-23 05:24:11 -0500 |
commit | 70cd071e4ecc06c985189665af75c108601fd5a3 (patch) | |
tree | f28aae811d01f8ef44f27e5d469fe330ff834980 /security/security.c | |
parent | 6357357cae7794dcb89cace758108dec612e7ed5 (diff) |
libata: clean up xfermode / PATA timing related stuff
* s/ATA_BITS_(PIO|MWDMA|UDMA)/ATA_NR_\1_MODES/g
* Consistently use 0xff to indicate invalid transfer mode (0x00 is
valid for PIO_SLOW).
* Make ata_xfer_mode2mask() return proper mode mask instead of just
the highest bit.
* Sort ata_timing table in increasing xfermode order and update
ata_timing_find_mode() accordingly.
This patch doesn't introduce any behavior change.
Signed-off-by: Tejun Heo <htejun@gmail.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'security/security.c')
0 files changed, 0 insertions, 0 deletions