aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/ide/pci/pdc202xx_old.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_old.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_old.c')
-rw-r--r--drivers/ide/pci/pdc202xx_old.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/drivers/ide/pci/pdc202xx_old.c b/drivers/ide/pci/pdc202xx_old.c
index 25cebfe18ddd..eb4e4a61d06e 100644
--- a/drivers/ide/pci/pdc202xx_old.c
+++ b/drivers/ide/pci/pdc202xx_old.c
@@ -441,7 +441,6 @@ static ide_pci_device_t pdc202xx_chipsets[] __devinitdata = {
441 .init_chipset = init_chipset_pdc202xx, 441 .init_chipset = init_chipset_pdc202xx,
442 .init_hwif = init_hwif_pdc202xx, 442 .init_hwif = init_hwif_pdc202xx,
443 .init_dma = init_dma_pdc202xx, 443 .init_dma = init_dma_pdc202xx,
444 .channels = 2,
445 .autodma = AUTODMA, 444 .autodma = AUTODMA,
446 .bootable = OFF_BOARD, 445 .bootable = OFF_BOARD,
447 .extra = 16, 446 .extra = 16,
@@ -452,7 +451,6 @@ static ide_pci_device_t pdc202xx_chipsets[] __devinitdata = {
452 .init_chipset = init_chipset_pdc202xx, 451 .init_chipset = init_chipset_pdc202xx,
453 .init_hwif = init_hwif_pdc202xx, 452 .init_hwif = init_hwif_pdc202xx,
454 .init_dma = init_dma_pdc202xx, 453 .init_dma = init_dma_pdc202xx,
455 .channels = 2,
456 .autodma = AUTODMA, 454 .autodma = AUTODMA,
457 .bootable = OFF_BOARD, 455 .bootable = OFF_BOARD,
458 .extra = 48, 456 .extra = 48,
@@ -463,7 +461,6 @@ static ide_pci_device_t pdc202xx_chipsets[] __devinitdata = {
463 .init_chipset = init_chipset_pdc202xx, 461 .init_chipset = init_chipset_pdc202xx,
464 .init_hwif = init_hwif_pdc202xx, 462 .init_hwif = init_hwif_pdc202xx,
465 .init_dma = init_dma_pdc202xx, 463 .init_dma = init_dma_pdc202xx,
466 .channels = 2,
467 .autodma = AUTODMA, 464 .autodma = AUTODMA,
468 .bootable = OFF_BOARD, 465 .bootable = OFF_BOARD,
469 .extra = 48, 466 .extra = 48,
@@ -474,7 +471,6 @@ static ide_pci_device_t pdc202xx_chipsets[] __devinitdata = {
474 .init_chipset = init_chipset_pdc202xx, 471 .init_chipset = init_chipset_pdc202xx,
475 .init_hwif = init_hwif_pdc202xx, 472 .init_hwif = init_hwif_pdc202xx,
476 .init_dma = init_dma_pdc202xx, 473 .init_dma = init_dma_pdc202xx,
477 .channels = 2,
478 .autodma = AUTODMA, 474 .autodma = AUTODMA,
479 .bootable = OFF_BOARD, 475 .bootable = OFF_BOARD,
480 .extra = 48, 476 .extra = 48,
@@ -485,7 +481,6 @@ static ide_pci_device_t pdc202xx_chipsets[] __devinitdata = {
485 .init_chipset = init_chipset_pdc202xx, 481 .init_chipset = init_chipset_pdc202xx,
486 .init_hwif = init_hwif_pdc202xx, 482 .init_hwif = init_hwif_pdc202xx,
487 .init_dma = init_dma_pdc202xx, 483 .init_dma = init_dma_pdc202xx,
488 .channels = 2,
489 .autodma = AUTODMA, 484 .autodma = AUTODMA,
490 .bootable = OFF_BOARD, 485 .bootable = OFF_BOARD,
491 .extra = 48, 486 .extra = 48,