aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/ide/pci/serverworks.c
diff options
context:
space:
mode:
authorBartlomiej Zolnierkiewicz <bzolnier@gmail.com>2007-07-19 19:11:59 -0400
committerBartlomiej Zolnierkiewicz <bzolnier@gmail.com>2007-07-19 19:11:59 -0400
commit4099d14322149c7a467e4997b87be4ba8eb78697 (patch)
tree133a913d7f9c2dacaaaef5cfdf2ae6911dc21f4c /drivers/ide/pci/serverworks.c
parent6a824c92db4d606c324272c4eed366fb71672440 (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/serverworks.c')
-rw-r--r--drivers/ide/pci/serverworks.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/ide/pci/serverworks.c b/drivers/ide/pci/serverworks.c
index 1fe29d9e68fa..9fead2e7d4c8 100644
--- a/drivers/ide/pci/serverworks.c
+++ b/drivers/ide/pci/serverworks.c
@@ -451,6 +451,7 @@ static ide_pci_device_t serverworks_chipsets[] __devinitdata = {
451 .init_hwif = init_hwif_svwks, 451 .init_hwif = init_hwif_svwks,
452 .autodma = AUTODMA, 452 .autodma = AUTODMA,
453 .bootable = ON_BOARD, 453 .bootable = ON_BOARD,
454 .pio_mask = ATA_PIO4,
454 },{ /* 1 */ 455 },{ /* 1 */
455 .name = "SvrWks CSB5", 456 .name = "SvrWks CSB5",
456 .init_setup = init_setup_svwks, 457 .init_setup = init_setup_svwks,
@@ -458,6 +459,7 @@ static ide_pci_device_t serverworks_chipsets[] __devinitdata = {
458 .init_hwif = init_hwif_svwks, 459 .init_hwif = init_hwif_svwks,
459 .autodma = AUTODMA, 460 .autodma = AUTODMA,
460 .bootable = ON_BOARD, 461 .bootable = ON_BOARD,
462 .pio_mask = ATA_PIO4,
461 },{ /* 2 */ 463 },{ /* 2 */
462 .name = "SvrWks CSB6", 464 .name = "SvrWks CSB6",
463 .init_setup = init_setup_csb6, 465 .init_setup = init_setup_csb6,
@@ -465,6 +467,7 @@ static ide_pci_device_t serverworks_chipsets[] __devinitdata = {
465 .init_hwif = init_hwif_svwks, 467 .init_hwif = init_hwif_svwks,
466 .autodma = AUTODMA, 468 .autodma = AUTODMA,
467 .bootable = ON_BOARD, 469 .bootable = ON_BOARD,
470 .pio_mask = ATA_PIO4,
468 },{ /* 3 */ 471 },{ /* 3 */
469 .name = "SvrWks CSB6", 472 .name = "SvrWks CSB6",
470 .init_setup = init_setup_csb6, 473 .init_setup = init_setup_csb6,
@@ -473,6 +476,7 @@ static ide_pci_device_t serverworks_chipsets[] __devinitdata = {
473 .autodma = AUTODMA, 476 .autodma = AUTODMA,
474 .bootable = ON_BOARD, 477 .bootable = ON_BOARD,
475 .host_flags = IDE_HFLAG_SINGLE, 478 .host_flags = IDE_HFLAG_SINGLE,
479 .pio_mask = ATA_PIO4,
476 },{ /* 4 */ 480 },{ /* 4 */
477 .name = "SvrWks HT1000", 481 .name = "SvrWks HT1000",
478 .init_setup = init_setup_svwks, 482 .init_setup = init_setup_svwks,
@@ -481,6 +485,7 @@ static ide_pci_device_t serverworks_chipsets[] __devinitdata = {
481 .autodma = AUTODMA, 485 .autodma = AUTODMA,
482 .bootable = ON_BOARD, 486 .bootable = ON_BOARD,
483 .host_flags = IDE_HFLAG_SINGLE, 487 .host_flags = IDE_HFLAG_SINGLE,
488 .pio_mask = ATA_PIO4,
484 } 489 }
485}; 490};
486 491