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/atiixp.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/atiixp.c')
-rw-r--r-- | drivers/ide/pci/atiixp.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/ide/pci/atiixp.c b/drivers/ide/pci/atiixp.c index f546a86f8b19..65de9363fc0d 100644 --- a/drivers/ide/pci/atiixp.c +++ b/drivers/ide/pci/atiixp.c | |||
@@ -202,14 +202,12 @@ static ide_pci_device_t atiixp_pci_info[] __devinitdata = { | |||
202 | { /* 0 */ | 202 | { /* 0 */ |
203 | .name = "ATIIXP", | 203 | .name = "ATIIXP", |
204 | .init_hwif = init_hwif_atiixp, | 204 | .init_hwif = init_hwif_atiixp, |
205 | .autodma = AUTODMA, | ||
206 | .enablebits = {{0x48,0x01,0x00}, {0x48,0x08,0x00}}, | 205 | .enablebits = {{0x48,0x01,0x00}, {0x48,0x08,0x00}}, |
207 | .host_flags = IDE_HFLAG_BOOTABLE, | 206 | .host_flags = IDE_HFLAG_BOOTABLE, |
208 | .pio_mask = ATA_PIO4, | 207 | .pio_mask = ATA_PIO4, |
209 | },{ /* 1 */ | 208 | },{ /* 1 */ |
210 | .name = "SB600_PATA", | 209 | .name = "SB600_PATA", |
211 | .init_hwif = init_hwif_atiixp, | 210 | .init_hwif = init_hwif_atiixp, |
212 | .autodma = AUTODMA, | ||
213 | .enablebits = {{0x48,0x01,0x00}, {0x00,0x00,0x00}}, | 211 | .enablebits = {{0x48,0x01,0x00}, {0x00,0x00,0x00}}, |
214 | .host_flags = IDE_HFLAG_SINGLE | IDE_HFLAG_BOOTABLE, | 212 | .host_flags = IDE_HFLAG_SINGLE | IDE_HFLAG_BOOTABLE, |
215 | .pio_mask = ATA_PIO4, | 213 | .pio_mask = ATA_PIO4, |