summaryrefslogtreecommitdiffstats
path: root/include/linux/ide.h
diff options
context:
space:
mode:
authorBartlomiej Zolnierkiewicz <bzolnier@gmail.com>2010-01-18 07:20:35 +0000
committerDavid S. Miller <davem@davemloft.net>2010-01-19 01:42:01 -0800
commit3fccaa192b9501e79a57e02e62b6bf420d2b461e (patch)
treefec8af09d6e4fcfc26e771a22fb55184e7c7e32b /include/linux/ide.h
parentd2d4e780aff2fab46a792ebc89f80d1a6872b325 (diff)
downloadop-kernel-dev-3fccaa192b9501e79a57e02e62b6bf420d2b461e.zip
op-kernel-dev-3fccaa192b9501e79a57e02e62b6bf420d2b461e.tar.gz
ide: add drive->dma_mode field
Add dma_mode field to ide_drive_t matching dma_mode field used in struct ata_device. The validity of the field is restricted to ->dma_pio_mode method only currently in IDE subsystem. Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux/ide.h')
-rw-r--r--include/linux/ide.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/ide.h b/include/linux/ide.h
index b5d2e96..746ef9f 100644
--- a/include/linux/ide.h
+++ b/include/linux/ide.h
@@ -516,6 +516,7 @@ struct ide_drive_s {
u8 current_speed; /* current transfer rate set */
u8 desired_speed; /* desired transfer rate set */
u8 pio_mode; /* for ->set_pio_mode _only_ */
+ u8 dma_mode; /* for ->dma_pio_mode _only_ */
u8 dn; /* now wide spread use */
u8 acoustic; /* acoustic management */
u8 media; /* disk, cdrom, tape, floppy, ... */
OpenPOWER on IntegriCloud