aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/ide/pci/pdc202xx_new.c
diff options
context:
space:
mode:
authorBartlomiej Zolnierkiewicz <bzolnier@gmail.com>2007-07-19 19:11:55 -0400
committerBartlomiej Zolnierkiewicz <bzolnier@gmail.com>2007-07-19 19:11:55 -0400
commita5d8c5c834d3cabf4b7b477c3f6ee923c25026fc (patch)
tree19fc04470569a3c2f227d5aac3078a15ac65bb32 /drivers/ide/pci/pdc202xx_new.c
parent2229833c1365346b64357a9263fa724f74f5e376 (diff)
ide: add ide_pci_device_t.host_flags (take 2)
* Rename ide_pci_device_t.flags to ide_pci_device_t.host_flags and IDEPCI_FLAG_ISA_PORTS flag to IDE_HFLAG_ISA_PORTS. * Add IDE_HFLAG_SINGLE flag for single channel devices. * Convert core code and all IDE PCI drivers to use IDE_HFLAG_SINGLE and remove no longer needed ide_pci_device_t.channels field. v2: * Fix issues noticed by Sergei: - correct code alignment in scc_pata.c - s/IDE_HFLAG_SINGLE/~IDE_HFLAG_SINGLE/ in serverworks.c Acked-by: Sergei Shtylyov <sshtylyov@ru.mvista.com> Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Diffstat (limited to 'drivers/ide/pci/pdc202xx_new.c')
-rw-r--r--drivers/ide/pci/pdc202xx_new.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/drivers/ide/pci/pdc202xx_new.c b/drivers/ide/pci/pdc202xx_new.c
index 06c5e93d37a2..f8508d9cccd3 100644
--- a/drivers/ide/pci/pdc202xx_new.c
+++ b/drivers/ide/pci/pdc202xx_new.c
@@ -566,7 +566,6 @@ static ide_pci_device_t pdcnew_chipsets[] __devinitdata = {
566 .init_setup = init_setup_pdcnew, 566 .init_setup = init_setup_pdcnew,
567 .init_chipset = init_chipset_pdcnew, 567 .init_chipset = init_chipset_pdcnew,
568 .init_hwif = init_hwif_pdc202new, 568 .init_hwif = init_hwif_pdc202new,
569 .channels = 2,
570 .autodma = AUTODMA, 569 .autodma = AUTODMA,
571 .bootable = OFF_BOARD, 570 .bootable = OFF_BOARD,
572 .udma_mask = 0x3f, /* udma0-5 */ 571 .udma_mask = 0x3f, /* udma0-5 */
@@ -575,7 +574,6 @@ static ide_pci_device_t pdcnew_chipsets[] __devinitdata = {
575 .init_setup = init_setup_pdcnew, 574 .init_setup = init_setup_pdcnew,
576 .init_chipset = init_chipset_pdcnew, 575 .init_chipset = init_chipset_pdcnew,
577 .init_hwif = init_hwif_pdc202new, 576 .init_hwif = init_hwif_pdc202new,
578 .channels = 2,
579 .autodma = AUTODMA, 577 .autodma = AUTODMA,
580 .bootable = OFF_BOARD, 578 .bootable = OFF_BOARD,
581 .udma_mask = 0x7f, /* udma0-6*/ 579 .udma_mask = 0x7f, /* udma0-6*/
@@ -584,7 +582,6 @@ static ide_pci_device_t pdcnew_chipsets[] __devinitdata = {
584 .init_setup = init_setup_pdc20270, 582 .init_setup = init_setup_pdc20270,
585 .init_chipset = init_chipset_pdcnew, 583 .init_chipset = init_chipset_pdcnew,
586 .init_hwif = init_hwif_pdc202new, 584 .init_hwif = init_hwif_pdc202new,
587 .channels = 2,
588 .autodma = AUTODMA, 585 .autodma = AUTODMA,
589 .bootable = OFF_BOARD, 586 .bootable = OFF_BOARD,
590 .udma_mask = 0x3f, /* udma0-5 */ 587 .udma_mask = 0x3f, /* udma0-5 */
@@ -593,7 +590,6 @@ static ide_pci_device_t pdcnew_chipsets[] __devinitdata = {
593 .init_setup = init_setup_pdcnew, 590 .init_setup = init_setup_pdcnew,
594 .init_chipset = init_chipset_pdcnew, 591 .init_chipset = init_chipset_pdcnew,
595 .init_hwif = init_hwif_pdc202new, 592 .init_hwif = init_hwif_pdc202new,
596 .channels = 2,
597 .autodma = AUTODMA, 593 .autodma = AUTODMA,
598 .bootable = OFF_BOARD, 594 .bootable = OFF_BOARD,
599 .udma_mask = 0x7f, /* udma0-6*/ 595 .udma_mask = 0x7f, /* udma0-6*/
@@ -602,7 +598,6 @@ static ide_pci_device_t pdcnew_chipsets[] __devinitdata = {
602 .init_setup = init_setup_pdcnew, 598 .init_setup = init_setup_pdcnew,
603 .init_chipset = init_chipset_pdcnew, 599 .init_chipset = init_chipset_pdcnew,
604 .init_hwif = init_hwif_pdc202new, 600 .init_hwif = init_hwif_pdc202new,
605 .channels = 2,
606 .autodma = AUTODMA, 601 .autodma = AUTODMA,
607 .bootable = OFF_BOARD, 602 .bootable = OFF_BOARD,
608 .udma_mask = 0x7f, /* udma0-6*/ 603 .udma_mask = 0x7f, /* udma0-6*/
@@ -611,7 +606,6 @@ static ide_pci_device_t pdcnew_chipsets[] __devinitdata = {
611 .init_setup = init_setup_pdc20276, 606 .init_setup = init_setup_pdc20276,
612 .init_chipset = init_chipset_pdcnew, 607 .init_chipset = init_chipset_pdcnew,
613 .init_hwif = init_hwif_pdc202new, 608 .init_hwif = init_hwif_pdc202new,
614 .channels = 2,
615 .autodma = AUTODMA, 609 .autodma = AUTODMA,
616 .bootable = OFF_BOARD, 610 .bootable = OFF_BOARD,
617 .udma_mask = 0x7f, /* udma0-6*/ 611 .udma_mask = 0x7f, /* udma0-6*/
@@ -620,7 +614,6 @@ static ide_pci_device_t pdcnew_chipsets[] __devinitdata = {
620 .init_setup = init_setup_pdcnew, 614 .init_setup = init_setup_pdcnew,
621 .init_chipset = init_chipset_pdcnew, 615 .init_chipset = init_chipset_pdcnew,
622 .init_hwif = init_hwif_pdc202new, 616 .init_hwif = init_hwif_pdc202new,
623 .channels = 2,
624 .autodma = AUTODMA, 617 .autodma = AUTODMA,
625 .bootable = OFF_BOARD, 618 .bootable = OFF_BOARD,
626 .udma_mask = 0x7f, /* udma0-6*/ 619 .udma_mask = 0x7f, /* udma0-6*/