diff options
author | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 2007-10-18 18:30:06 -0400 |
---|---|---|
committer | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 2007-10-18 18:30:06 -0400 |
commit | 47b687882c02f802dd5bbe1227effe006820246e (patch) | |
tree | 7b9048ebfa0a53203e4e3c55649f28e352a143cc /drivers/ide/pci/amd74xx.c | |
parent | 7cab14a79973893392111b8f887856a54621f759 (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/amd74xx.c')
-rw-r--r-- | drivers/ide/pci/amd74xx.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/ide/pci/amd74xx.c b/drivers/ide/pci/amd74xx.c index 11d20bb7b85f..26263a189448 100644 --- a/drivers/ide/pci/amd74xx.c +++ b/drivers/ide/pci/amd74xx.c | |||
@@ -278,7 +278,6 @@ static void __devinit init_hwif_amd74xx(ide_hwif_t *hwif) | |||
278 | .name = name_str, \ | 278 | .name = name_str, \ |
279 | .init_chipset = init_chipset_amd74xx, \ | 279 | .init_chipset = init_chipset_amd74xx, \ |
280 | .init_hwif = init_hwif_amd74xx, \ | 280 | .init_hwif = init_hwif_amd74xx, \ |
281 | .autodma = AUTODMA, \ | ||
282 | .enablebits = {{0x40,0x02,0x02}, {0x40,0x01,0x01}}, \ | 281 | .enablebits = {{0x40,0x02,0x02}, {0x40,0x01,0x01}}, \ |
283 | .host_flags = IDE_HFLAG_PIO_NO_BLACKLIST | \ | 282 | .host_flags = IDE_HFLAG_PIO_NO_BLACKLIST | \ |
284 | IDE_HFLAG_PIO_NO_DOWNGRADE | \ | 283 | IDE_HFLAG_PIO_NO_DOWNGRADE | \ |
@@ -292,7 +291,6 @@ static void __devinit init_hwif_amd74xx(ide_hwif_t *hwif) | |||
292 | .name = name_str, \ | 291 | .name = name_str, \ |
293 | .init_chipset = init_chipset_amd74xx, \ | 292 | .init_chipset = init_chipset_amd74xx, \ |
294 | .init_hwif = init_hwif_amd74xx, \ | 293 | .init_hwif = init_hwif_amd74xx, \ |
295 | .autodma = AUTODMA, \ | ||
296 | .enablebits = {{0x50,0x02,0x02}, {0x50,0x01,0x01}}, \ | 294 | .enablebits = {{0x50,0x02,0x02}, {0x50,0x01,0x01}}, \ |
297 | .host_flags = IDE_HFLAG_PIO_NO_BLACKLIST | \ | 295 | .host_flags = IDE_HFLAG_PIO_NO_BLACKLIST | \ |
298 | IDE_HFLAG_PIO_NO_DOWNGRADE | \ | 296 | IDE_HFLAG_PIO_NO_DOWNGRADE | \ |