aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/ide/pci/cmd64x.c
diff options
context:
space:
mode:
authorBartlomiej Zolnierkiewicz <bzolnier@gmail.com>2007-10-18 18:30:06 -0400
committerBartlomiej Zolnierkiewicz <bzolnier@gmail.com>2007-10-18 18:30:06 -0400
commit7cab14a79973893392111b8f887856a54621f759 (patch)
tree925ad89a10daa3584e05806eadffb628ef97313b /drivers/ide/pci/cmd64x.c
parent33c1002ed912ac9dacedd5d5b166da3b72d18460 (diff)
ide: add IDE_HFLAG_BOOTABLE host flag
Add IDE_HFLAG_BOOTABLE host flag and IDE_HFLAG_OFF_BOARD define. Convert all host drivers using ide_pci_device_t to use IDE_HFLAG_{BOOTABLE,OFF_BOARD} instead of d->bootable and then remove no longer needed d->bootable. Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Diffstat (limited to 'drivers/ide/pci/cmd64x.c')
-rw-r--r--drivers/ide/pci/cmd64x.c12
1 files changed, 4 insertions, 8 deletions
diff --git a/drivers/ide/pci/cmd64x.c b/drivers/ide/pci/cmd64x.c
index bd9adfbe982e..8e0ece5400b6 100644
--- a/drivers/ide/pci/cmd64x.c
+++ b/drivers/ide/pci/cmd64x.c
@@ -585,8 +585,7 @@ static ide_pci_device_t cmd64x_chipsets[] __devinitdata = {
585 .init_hwif = init_hwif_cmd64x, 585 .init_hwif = init_hwif_cmd64x,
586 .autodma = AUTODMA, 586 .autodma = AUTODMA,
587 .enablebits = {{0x00,0x00,0x00}, {0x51,0x08,0x08}}, 587 .enablebits = {{0x00,0x00,0x00}, {0x51,0x08,0x08}},
588 .bootable = ON_BOARD, 588 .host_flags = IDE_HFLAG_ABUSE_PREFETCH | IDE_HFLAG_BOOTABLE,
589 .host_flags = IDE_HFLAG_ABUSE_PREFETCH,
590 .pio_mask = ATA_PIO5, 589 .pio_mask = ATA_PIO5,
591 .udma_mask = 0x00, /* no udma */ 590 .udma_mask = 0x00, /* no udma */
592 },{ /* 1 */ 591 },{ /* 1 */
@@ -596,8 +595,7 @@ static ide_pci_device_t cmd64x_chipsets[] __devinitdata = {
596 .init_hwif = init_hwif_cmd64x, 595 .init_hwif = init_hwif_cmd64x,
597 .autodma = AUTODMA, 596 .autodma = AUTODMA,
598 .enablebits = {{0x51,0x04,0x04}, {0x51,0x08,0x08}}, 597 .enablebits = {{0x51,0x04,0x04}, {0x51,0x08,0x08}},
599 .bootable = ON_BOARD, 598 .host_flags = IDE_HFLAG_ABUSE_PREFETCH | IDE_HFLAG_BOOTABLE,
600 .host_flags = IDE_HFLAG_ABUSE_PREFETCH,
601 .pio_mask = ATA_PIO5, 599 .pio_mask = ATA_PIO5,
602 .udma_mask = 0x07, /* udma0-2 */ 600 .udma_mask = 0x07, /* udma0-2 */
603 },{ /* 2 */ 601 },{ /* 2 */
@@ -607,8 +605,7 @@ static ide_pci_device_t cmd64x_chipsets[] __devinitdata = {
607 .init_hwif = init_hwif_cmd64x, 605 .init_hwif = init_hwif_cmd64x,
608 .autodma = AUTODMA, 606 .autodma = AUTODMA,
609 .enablebits = {{0x51,0x04,0x04}, {0x51,0x08,0x08}}, 607 .enablebits = {{0x51,0x04,0x04}, {0x51,0x08,0x08}},
610 .bootable = ON_BOARD, 608 .host_flags = IDE_HFLAG_ABUSE_PREFETCH | IDE_HFLAG_BOOTABLE,
611 .host_flags = IDE_HFLAG_ABUSE_PREFETCH,
612 .pio_mask = ATA_PIO5, 609 .pio_mask = ATA_PIO5,
613 .udma_mask = 0x1f, /* udma0-4 */ 610 .udma_mask = 0x1f, /* udma0-4 */
614 },{ /* 3 */ 611 },{ /* 3 */
@@ -618,8 +615,7 @@ static ide_pci_device_t cmd64x_chipsets[] __devinitdata = {
618 .init_hwif = init_hwif_cmd64x, 615 .init_hwif = init_hwif_cmd64x,
619 .autodma = AUTODMA, 616 .autodma = AUTODMA,
620 .enablebits = {{0x51,0x04,0x04}, {0x51,0x08,0x08}}, 617 .enablebits = {{0x51,0x04,0x04}, {0x51,0x08,0x08}},
621 .bootable = ON_BOARD, 618 .host_flags = IDE_HFLAG_ABUSE_PREFETCH | IDE_HFLAG_BOOTABLE,
622 .host_flags = IDE_HFLAG_ABUSE_PREFETCH,
623 .pio_mask = ATA_PIO5, 619 .pio_mask = ATA_PIO5,
624 .udma_mask = 0x3f, /* udma0-5 */ 620 .udma_mask = 0x3f, /* udma0-5 */
625 } 621 }