diff options
author | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 2007-07-19 19:11:55 -0400 |
---|---|---|
committer | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 2007-07-19 19:11:55 -0400 |
commit | a5d8c5c834d3cabf4b7b477c3f6ee923c25026fc (patch) | |
tree | 19fc04470569a3c2f227d5aac3078a15ac65bb32 /drivers/ide/pci/cmd64x.c | |
parent | 2229833c1365346b64357a9263fa724f74f5e376 (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/cmd64x.c')
-rw-r--r-- | drivers/ide/pci/cmd64x.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/ide/pci/cmd64x.c b/drivers/ide/pci/cmd64x.c index 5171e94facdc..8150a023dd7a 100644 --- a/drivers/ide/pci/cmd64x.c +++ b/drivers/ide/pci/cmd64x.c | |||
@@ -617,7 +617,6 @@ static ide_pci_device_t cmd64x_chipsets[] __devinitdata = { | |||
617 | .init_setup = init_setup_cmd64x, | 617 | .init_setup = init_setup_cmd64x, |
618 | .init_chipset = init_chipset_cmd64x, | 618 | .init_chipset = init_chipset_cmd64x, |
619 | .init_hwif = init_hwif_cmd64x, | 619 | .init_hwif = init_hwif_cmd64x, |
620 | .channels = 2, | ||
621 | .autodma = AUTODMA, | 620 | .autodma = AUTODMA, |
622 | .enablebits = {{0x00,0x00,0x00}, {0x51,0x08,0x08}}, | 621 | .enablebits = {{0x00,0x00,0x00}, {0x51,0x08,0x08}}, |
623 | .bootable = ON_BOARD, | 622 | .bootable = ON_BOARD, |
@@ -627,7 +626,6 @@ static ide_pci_device_t cmd64x_chipsets[] __devinitdata = { | |||
627 | .init_setup = init_setup_cmd646, | 626 | .init_setup = init_setup_cmd646, |
628 | .init_chipset = init_chipset_cmd64x, | 627 | .init_chipset = init_chipset_cmd64x, |
629 | .init_hwif = init_hwif_cmd64x, | 628 | .init_hwif = init_hwif_cmd64x, |
630 | .channels = 2, | ||
631 | .autodma = AUTODMA, | 629 | .autodma = AUTODMA, |
632 | .enablebits = {{0x51,0x04,0x04}, {0x51,0x08,0x08}}, | 630 | .enablebits = {{0x51,0x04,0x04}, {0x51,0x08,0x08}}, |
633 | .bootable = ON_BOARD, | 631 | .bootable = ON_BOARD, |
@@ -637,7 +635,6 @@ static ide_pci_device_t cmd64x_chipsets[] __devinitdata = { | |||
637 | .init_setup = init_setup_cmd64x, | 635 | .init_setup = init_setup_cmd64x, |
638 | .init_chipset = init_chipset_cmd64x, | 636 | .init_chipset = init_chipset_cmd64x, |
639 | .init_hwif = init_hwif_cmd64x, | 637 | .init_hwif = init_hwif_cmd64x, |
640 | .channels = 2, | ||
641 | .autodma = AUTODMA, | 638 | .autodma = AUTODMA, |
642 | .enablebits = {{0x51,0x04,0x04}, {0x51,0x08,0x08}}, | 639 | .enablebits = {{0x51,0x04,0x04}, {0x51,0x08,0x08}}, |
643 | .bootable = ON_BOARD, | 640 | .bootable = ON_BOARD, |
@@ -647,7 +644,6 @@ static ide_pci_device_t cmd64x_chipsets[] __devinitdata = { | |||
647 | .init_setup = init_setup_cmd64x, | 644 | .init_setup = init_setup_cmd64x, |
648 | .init_chipset = init_chipset_cmd64x, | 645 | .init_chipset = init_chipset_cmd64x, |
649 | .init_hwif = init_hwif_cmd64x, | 646 | .init_hwif = init_hwif_cmd64x, |
650 | .channels = 2, | ||
651 | .autodma = AUTODMA, | 647 | .autodma = AUTODMA, |
652 | .enablebits = {{0x51,0x04,0x04}, {0x51,0x08,0x08}}, | 648 | .enablebits = {{0x51,0x04,0x04}, {0x51,0x08,0x08}}, |
653 | .bootable = ON_BOARD, | 649 | .bootable = ON_BOARD, |