aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/ide/pci/triflex.c
diff options
context:
space:
mode:
authorBartlomiej Zolnierkiewicz <bzolnier@gmail.com>2007-10-18 18:30:06 -0400
committerBartlomiej Zolnierkiewicz <bzolnier@gmail.com>2007-10-18 18:30:06 -0400
commit47b687882c02f802dd5bbe1227effe006820246e (patch)
tree7b9048ebfa0a53203e4e3c55649f28e352a143cc /drivers/ide/pci/triflex.c
parent7cab14a79973893392111b8f887856a54621f759 (diff)
ide: add IDE_HFLAG_NO_{DMA,AUTODMA} host flags
Add IDE_HFLAG_NO_{DMA,AUTODMA} host flags. Convert all host drivers using ide_pci_device_t to use these flags instead of d->autodma and then remove no longer needed d->autodma. Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Diffstat (limited to 'drivers/ide/pci/triflex.c')
-rw-r--r--drivers/ide/pci/triflex.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/ide/pci/triflex.c b/drivers/ide/pci/triflex.c
index 8f89b6dd5e6c..c5edb1171c10 100644
--- a/drivers/ide/pci/triflex.c
+++ b/drivers/ide/pci/triflex.c
@@ -111,7 +111,6 @@ static void __devinit init_hwif_triflex(ide_hwif_t *hwif)
111static ide_pci_device_t triflex_device __devinitdata = { 111static ide_pci_device_t triflex_device __devinitdata = {
112 .name = "TRIFLEX", 112 .name = "TRIFLEX",
113 .init_hwif = init_hwif_triflex, 113 .init_hwif = init_hwif_triflex,
114 .autodma = AUTODMA,
115 .enablebits = {{0x80, 0x01, 0x01}, {0x80, 0x02, 0x02}}, 114 .enablebits = {{0x80, 0x01, 0x01}, {0x80, 0x02, 0x02}},
116 .host_flags = IDE_HFLAG_BOOTABLE, 115 .host_flags = IDE_HFLAG_BOOTABLE,
117 .pio_mask = ATA_PIO4, 116 .pio_mask = ATA_PIO4,