diff options
author | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 2007-10-18 18:30:06 -0400 |
---|---|---|
committer | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 2007-10-18 18:30:06 -0400 |
commit | 7cab14a79973893392111b8f887856a54621f759 (patch) | |
tree | 925ad89a10daa3584e05806eadffb628ef97313b /drivers/ide/pci/via82cxxx.c | |
parent | 33c1002ed912ac9dacedd5d5b166da3b72d18460 (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/via82cxxx.c')
-rw-r--r-- | drivers/ide/pci/via82cxxx.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/drivers/ide/pci/via82cxxx.c b/drivers/ide/pci/via82cxxx.c index 648432f4c79e..23f7eac96af3 100644 --- a/drivers/ide/pci/via82cxxx.c +++ b/drivers/ide/pci/via82cxxx.c | |||
@@ -458,10 +458,10 @@ static ide_pci_device_t via82cxxx_chipsets[] __devinitdata = { | |||
458 | .init_hwif = init_hwif_via82cxxx, | 458 | .init_hwif = init_hwif_via82cxxx, |
459 | .autodma = NOAUTODMA, | 459 | .autodma = NOAUTODMA, |
460 | .enablebits = {{0x40,0x02,0x02}, {0x40,0x01,0x01}}, | 460 | .enablebits = {{0x40,0x02,0x02}, {0x40,0x01,0x01}}, |
461 | .bootable = ON_BOARD, | 461 | .host_flags = IDE_HFLAG_PIO_NO_BLACKLIST | |
462 | .host_flags = IDE_HFLAG_PIO_NO_BLACKLIST | 462 | IDE_HFLAG_PIO_NO_DOWNGRADE | |
463 | | IDE_HFLAG_PIO_NO_DOWNGRADE | 463 | IDE_HFLAG_POST_SET_MODE | |
464 | | IDE_HFLAG_POST_SET_MODE, | 464 | IDE_HFLAG_BOOTABLE, |
465 | .pio_mask = ATA_PIO5, | 465 | .pio_mask = ATA_PIO5, |
466 | },{ /* 1 */ | 466 | },{ /* 1 */ |
467 | .name = "VP_IDE", | 467 | .name = "VP_IDE", |
@@ -469,10 +469,10 @@ static ide_pci_device_t via82cxxx_chipsets[] __devinitdata = { | |||
469 | .init_hwif = init_hwif_via82cxxx, | 469 | .init_hwif = init_hwif_via82cxxx, |
470 | .autodma = AUTODMA, | 470 | .autodma = AUTODMA, |
471 | .enablebits = {{0x00,0x00,0x00}, {0x00,0x00,0x00}}, | 471 | .enablebits = {{0x00,0x00,0x00}, {0x00,0x00,0x00}}, |
472 | .bootable = ON_BOARD, | 472 | .host_flags = IDE_HFLAG_PIO_NO_BLACKLIST | |
473 | .host_flags = IDE_HFLAG_PIO_NO_BLACKLIST | 473 | IDE_HFLAG_PIO_NO_DOWNGRADE | |
474 | | IDE_HFLAG_PIO_NO_DOWNGRADE | 474 | IDE_HFLAG_POST_SET_MODE | |
475 | | IDE_HFLAG_POST_SET_MODE, | 475 | IDE_HFLAG_BOOTABLE, |
476 | .pio_mask = ATA_PIO5, | 476 | .pio_mask = ATA_PIO5, |
477 | } | 477 | } |
478 | }; | 478 | }; |