aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/ide/pci/hpt34x.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/hpt34x.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/hpt34x.c')
-rw-r--r--drivers/ide/pci/hpt34x.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/ide/pci/hpt34x.c b/drivers/ide/pci/hpt34x.c
index 1d6c6be257a7..470e06bd3f2d 100644
--- a/drivers/ide/pci/hpt34x.c
+++ b/drivers/ide/pci/hpt34x.c
@@ -152,9 +152,8 @@ static ide_pci_device_t hpt34x_chipset __devinitdata = {
152 .name = "HPT34X", 152 .name = "HPT34X",
153 .init_chipset = init_chipset_hpt34x, 153 .init_chipset = init_chipset_hpt34x,
154 .init_hwif = init_hwif_hpt34x, 154 .init_hwif = init_hwif_hpt34x,
155 .autodma = NOAUTODMA,
156 .extra = 16, 155 .extra = 16,
157 .host_flags = IDE_HFLAG_NO_ATAPI_DMA, 156 .host_flags = IDE_HFLAG_NO_ATAPI_DMA | IDE_HFLAG_NO_AUTODMA,
158 .pio_mask = ATA_PIO5, 157 .pio_mask = ATA_PIO5,
159}; 158};
160 159