diff options
author | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 2007-08-27 19:35:22 +0200 |
---|---|---|
committer | Jeff Garzik <jeff@garzik.org> | 2007-08-31 04:00:19 -0400 |
commit | 91a6d4ed333a47003f07636b3bd143521e0bbad1 (patch) | |
tree | 43f7dc981119e0a76a9f4efc5eca51f451fef924 /include/linux | |
parent | c5cf0ffa71d32c03607d287b76483479afb0bcd3 (diff) | |
download | kernel-crypto-91a6d4ed333a47003f07636b3bd143521e0bbad1.tar.gz kernel-crypto-91a6d4ed333a47003f07636b3bd143521e0bbad1.tar.xz kernel-crypto-91a6d4ed333a47003f07636b3bd143521e0bbad1.zip |
ata: add ATA_MWDMA* and ATA_SWDMA* defines
Cc: Jeff Garzik <jeff@garzik.org>
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'include/linux')
-rw-r--r-- | include/linux/ata.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/include/linux/ata.h b/include/linux/ata.h index 23a22df039d..c043c1ccf1c 100644 --- a/include/linux/ata.h +++ b/include/linux/ata.h @@ -73,6 +73,19 @@ enum { ATA_PIO5 = ATA_PIO4 | (1 << 5), ATA_PIO6 = ATA_PIO5 | (1 << 6), + ATA_SWDMA0 = (1 << 0), + ATA_SWDMA1 = ATA_SWDMA0 | (1 << 1), + ATA_SWDMA2 = ATA_SWDMA1 | (1 << 2), + + ATA_SWDMA2_ONLY = (1 << 2), + + ATA_MWDMA0 = (1 << 0), + ATA_MWDMA1 = ATA_MWDMA0 | (1 << 1), + ATA_MWDMA2 = ATA_MWDMA1 | (1 << 2), + + ATA_MWDMA12_ONLY = (1 << 1) | (1 << 2), + ATA_MWDMA2_ONLY = (1 << 2), + ATA_UDMA0 = (1 << 0), ATA_UDMA1 = ATA_UDMA0 | (1 << 1), ATA_UDMA2 = ATA_UDMA1 | (1 << 2), |