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/sl82c105.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/sl82c105.c')
-rw-r--r-- | drivers/ide/pci/sl82c105.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/ide/pci/sl82c105.c b/drivers/ide/pci/sl82c105.c index 97c1331e5ec3..e6eb5c7de7ae 100644 --- a/drivers/ide/pci/sl82c105.c +++ b/drivers/ide/pci/sl82c105.c | |||
@@ -404,9 +404,8 @@ static ide_pci_device_t sl82c105_chipset __devinitdata = { | |||
404 | .name = "W82C105", | 404 | .name = "W82C105", |
405 | .init_chipset = init_chipset_sl82c105, | 405 | .init_chipset = init_chipset_sl82c105, |
406 | .init_hwif = init_hwif_sl82c105, | 406 | .init_hwif = init_hwif_sl82c105, |
407 | .autodma = NOAUTODMA, | ||
408 | .enablebits = {{0x40,0x01,0x01}, {0x40,0x10,0x10}}, | 407 | .enablebits = {{0x40,0x01,0x01}, {0x40,0x10,0x10}}, |
409 | .host_flags = IDE_HFLAG_BOOTABLE, | 408 | .host_flags = IDE_HFLAG_NO_AUTODMA | IDE_HFLAG_BOOTABLE, |
410 | .pio_mask = ATA_PIO5, | 409 | .pio_mask = ATA_PIO5, |
411 | }; | 410 | }; |
412 | 411 | ||