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/opti621.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/opti621.c')
-rw-r--r-- | drivers/ide/pci/opti621.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/ide/pci/opti621.c b/drivers/ide/pci/opti621.c index 6d2dd0f332c9..558cab537db8 100644 --- a/drivers/ide/pci/opti621.c +++ b/drivers/ide/pci/opti621.c | |||
@@ -344,7 +344,6 @@ static ide_pci_device_t opti621_chipsets[] __devinitdata = { | |||
344 | { /* 0 */ | 344 | { /* 0 */ |
345 | .name = "OPTI621", | 345 | .name = "OPTI621", |
346 | .init_hwif = init_hwif_opti621, | 346 | .init_hwif = init_hwif_opti621, |
347 | .autodma = AUTODMA, | ||
348 | .enablebits = {{0x45,0x80,0x00}, {0x40,0x08,0x00}}, | 347 | .enablebits = {{0x45,0x80,0x00}, {0x40,0x08,0x00}}, |
349 | .host_flags = IDE_HFLAG_TRUST_BIOS_FOR_DMA | | 348 | .host_flags = IDE_HFLAG_TRUST_BIOS_FOR_DMA | |
350 | IDE_HFLAG_BOOTABLE, | 349 | IDE_HFLAG_BOOTABLE, |
@@ -352,7 +351,6 @@ static ide_pci_device_t opti621_chipsets[] __devinitdata = { | |||
352 | },{ /* 1 */ | 351 | },{ /* 1 */ |
353 | .name = "OPTI621X", | 352 | .name = "OPTI621X", |
354 | .init_hwif = init_hwif_opti621, | 353 | .init_hwif = init_hwif_opti621, |
355 | .autodma = AUTODMA, | ||
356 | .enablebits = {{0x45,0x80,0x00}, {0x40,0x08,0x00}}, | 354 | .enablebits = {{0x45,0x80,0x00}, {0x40,0x08,0x00}}, |
357 | .host_flags = IDE_HFLAG_TRUST_BIOS_FOR_DMA | | 355 | .host_flags = IDE_HFLAG_TRUST_BIOS_FOR_DMA | |
358 | IDE_HFLAG_BOOTABLE, | 356 | IDE_HFLAG_BOOTABLE, |