diff options
author | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 2007-07-19 19:11:59 -0400 |
---|---|---|
committer | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 2007-07-19 19:11:59 -0400 |
commit | 4099d14322149c7a467e4997b87be4ba8eb78697 (patch) | |
tree | 133a913d7f9c2dacaaaef5cfdf2ae6911dc21f4c /drivers/ide/pci/aec62xx.c | |
parent | 6a824c92db4d606c324272c4eed366fb71672440 (diff) |
ide: add PIO masks
* Add ATA_PIO[0-6] defines to <linux/ata.h>.
* Add ->pio_mask field to ide_pci_device_t and ide_hwif_t.
* Add PIO masks to host drivers.
<linux/ata.h> change ACK-ed by Jeff Garzik <jeff@garzik.org>.
Acked-by: Sergei Shtylyov <sshtylyov@ru.mvista.com>
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 8396d711f232..74432830abf7 100644 --- a/drivers/ide/pci/aec62xx.c +++ b/drivers/ide/pci/aec62xx.c | |||
@@ -268,6 +268,7 @@ static ide_pci_device_t aec62xx_chipsets[] __devinitdata = { | |||
268 | .autodma = AUTODMA, | 268 | .autodma = AUTODMA, |
269 | .enablebits = {{0x4a,0x02,0x02}, {0x4a,0x04,0x04}}, | 269 | .enablebits = {{0x4a,0x02,0x02}, {0x4a,0x04,0x04}}, |
270 | .bootable = OFF_BOARD, | 270 | .bootable = OFF_BOARD, |
271 | .pio_mask = ATA_PIO4, | ||
271 | .udma_mask = 0x07, /* udma0-2 */ | 272 | .udma_mask = 0x07, /* udma0-2 */ |
272 | },{ /* 1 */ | 273 | },{ /* 1 */ |
273 | .name = "AEC6260", | 274 | .name = "AEC6260", |
@@ -276,6 +277,7 @@ static ide_pci_device_t aec62xx_chipsets[] __devinitdata = { | |||
276 | .init_hwif = init_hwif_aec62xx, | 277 | .init_hwif = init_hwif_aec62xx, |
277 | .autodma = NOAUTODMA, | 278 | .autodma = NOAUTODMA, |
278 | .bootable = OFF_BOARD, | 279 | .bootable = OFF_BOARD, |
280 | .pio_mask = ATA_PIO4, | ||
279 | .udma_mask = 0x1f, /* udma0-4 */ | 281 | .udma_mask = 0x1f, /* udma0-4 */ |
280 | },{ /* 2 */ | 282 | },{ /* 2 */ |
281 | .name = "AEC6260R", | 283 | .name = "AEC6260R", |
@@ -285,6 +287,7 @@ static ide_pci_device_t aec62xx_chipsets[] __devinitdata = { | |||
285 | .autodma = AUTODMA, | 287 | .autodma = AUTODMA, |
286 | .enablebits = {{0x4a,0x02,0x02}, {0x4a,0x04,0x04}}, | 288 | .enablebits = {{0x4a,0x02,0x02}, {0x4a,0x04,0x04}}, |
287 | .bootable = NEVER_BOARD, | 289 | .bootable = NEVER_BOARD, |
290 | .pio_mask = ATA_PIO4, | ||
288 | .udma_mask = 0x1f, /* udma0-4 */ | 291 | .udma_mask = 0x1f, /* udma0-4 */ |
289 | },{ /* 3 */ | 292 | },{ /* 3 */ |
290 | .name = "AEC6280", | 293 | .name = "AEC6280", |
@@ -293,6 +296,7 @@ static ide_pci_device_t aec62xx_chipsets[] __devinitdata = { | |||
293 | .init_hwif = init_hwif_aec62xx, | 296 | .init_hwif = init_hwif_aec62xx, |
294 | .autodma = AUTODMA, | 297 | .autodma = AUTODMA, |
295 | .bootable = OFF_BOARD, | 298 | .bootable = OFF_BOARD, |
299 | .pio_mask = ATA_PIO4, | ||
296 | .udma_mask = 0x3f, /* udma0-5 */ | 300 | .udma_mask = 0x3f, /* udma0-5 */ |
297 | },{ /* 4 */ | 301 | },{ /* 4 */ |
298 | .name = "AEC6280R", | 302 | .name = "AEC6280R", |
@@ -302,6 +306,7 @@ static ide_pci_device_t aec62xx_chipsets[] __devinitdata = { | |||
302 | .autodma = AUTODMA, | 306 | .autodma = AUTODMA, |
303 | .enablebits = {{0x4a,0x02,0x02}, {0x4a,0x04,0x04}}, | 307 | .enablebits = {{0x4a,0x02,0x02}, {0x4a,0x04,0x04}}, |
304 | .bootable = OFF_BOARD, | 308 | .bootable = OFF_BOARD, |
309 | .pio_mask = ATA_PIO4, | ||
305 | .udma_mask = 0x3f, /* udma0-5 */ | 310 | .udma_mask = 0x3f, /* udma0-5 */ |
306 | } | 311 | } |
307 | }; | 312 | }; |