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 | 33c1002ed912ac9dacedd5d5b166da3b72d18460 (patch) | |
tree | c129987c6935542a8bd95924873ac6bf0e1e756c /drivers/ide/pci/aec62xx.c | |
parent | 1c3dd326ad790934fd88ec086e75a9d61ddaef8a (diff) |
ide: add IDE_HFLAG_NO_ATAPI_DMA host flag
Add IDE_HFLAG_NO_ATAPI_DMA host flag and set it in host drivers which
don't support ATAPI DMA. Then remove no longer needed hwif->atapi_dma.
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Diffstat (limited to 'drivers/ide/pci/aec62xx.c')
-rw-r--r-- | drivers/ide/pci/aec62xx.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/ide/pci/aec62xx.c b/drivers/ide/pci/aec62xx.c index 3a4c2c26a77e..7bf922fc7a07 100644 --- a/drivers/ide/pci/aec62xx.c +++ b/drivers/ide/pci/aec62xx.c | |||
@@ -247,6 +247,7 @@ static ide_pci_device_t aec62xx_chipsets[] __devinitdata = { | |||
247 | .autodma = AUTODMA, | 247 | .autodma = AUTODMA, |
248 | .enablebits = {{0x4a,0x02,0x02}, {0x4a,0x04,0x04}}, | 248 | .enablebits = {{0x4a,0x02,0x02}, {0x4a,0x04,0x04}}, |
249 | .bootable = OFF_BOARD, | 249 | .bootable = OFF_BOARD, |
250 | .host_flags = IDE_HFLAG_NO_ATAPI_DMA, | ||
250 | .pio_mask = ATA_PIO4, | 251 | .pio_mask = ATA_PIO4, |
251 | .udma_mask = 0x07, /* udma0-2 */ | 252 | .udma_mask = 0x07, /* udma0-2 */ |
252 | },{ /* 1 */ | 253 | },{ /* 1 */ |
@@ -256,6 +257,7 @@ static ide_pci_device_t aec62xx_chipsets[] __devinitdata = { | |||
256 | .init_hwif = init_hwif_aec62xx, | 257 | .init_hwif = init_hwif_aec62xx, |
257 | .autodma = NOAUTODMA, | 258 | .autodma = NOAUTODMA, |
258 | .bootable = OFF_BOARD, | 259 | .bootable = OFF_BOARD, |
260 | .host_flags = IDE_HFLAG_NO_ATAPI_DMA, | ||
259 | .pio_mask = ATA_PIO4, | 261 | .pio_mask = ATA_PIO4, |
260 | .udma_mask = 0x1f, /* udma0-4 */ | 262 | .udma_mask = 0x1f, /* udma0-4 */ |
261 | },{ /* 2 */ | 263 | },{ /* 2 */ |
@@ -266,6 +268,7 @@ static ide_pci_device_t aec62xx_chipsets[] __devinitdata = { | |||
266 | .autodma = AUTODMA, | 268 | .autodma = AUTODMA, |
267 | .enablebits = {{0x4a,0x02,0x02}, {0x4a,0x04,0x04}}, | 269 | .enablebits = {{0x4a,0x02,0x02}, {0x4a,0x04,0x04}}, |
268 | .bootable = NEVER_BOARD, | 270 | .bootable = NEVER_BOARD, |
271 | .host_flags = IDE_HFLAG_NO_ATAPI_DMA, | ||
269 | .pio_mask = ATA_PIO4, | 272 | .pio_mask = ATA_PIO4, |
270 | .udma_mask = 0x1f, /* udma0-4 */ | 273 | .udma_mask = 0x1f, /* udma0-4 */ |
271 | },{ /* 3 */ | 274 | },{ /* 3 */ |
@@ -275,6 +278,7 @@ static ide_pci_device_t aec62xx_chipsets[] __devinitdata = { | |||
275 | .init_hwif = init_hwif_aec62xx, | 278 | .init_hwif = init_hwif_aec62xx, |
276 | .autodma = AUTODMA, | 279 | .autodma = AUTODMA, |
277 | .bootable = OFF_BOARD, | 280 | .bootable = OFF_BOARD, |
281 | .host_flags = IDE_HFLAG_NO_ATAPI_DMA, | ||
278 | .pio_mask = ATA_PIO4, | 282 | .pio_mask = ATA_PIO4, |
279 | .udma_mask = 0x3f, /* udma0-5 */ | 283 | .udma_mask = 0x3f, /* udma0-5 */ |
280 | },{ /* 4 */ | 284 | },{ /* 4 */ |
@@ -285,6 +289,7 @@ static ide_pci_device_t aec62xx_chipsets[] __devinitdata = { | |||
285 | .autodma = AUTODMA, | 289 | .autodma = AUTODMA, |
286 | .enablebits = {{0x4a,0x02,0x02}, {0x4a,0x04,0x04}}, | 290 | .enablebits = {{0x4a,0x02,0x02}, {0x4a,0x04,0x04}}, |
287 | .bootable = OFF_BOARD, | 291 | .bootable = OFF_BOARD, |
292 | .host_flags = IDE_HFLAG_NO_ATAPI_DMA, | ||
288 | .pio_mask = ATA_PIO4, | 293 | .pio_mask = ATA_PIO4, |
289 | .udma_mask = 0x3f, /* udma0-5 */ | 294 | .udma_mask = 0x3f, /* udma0-5 */ |
290 | } | 295 | } |