aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/ide/pci/pdc202xx_new.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/pdc202xx_new.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/pdc202xx_new.c')
-rw-r--r--drivers/ide/pci/pdc202xx_new.c21
1 files changed, 7 insertions, 14 deletions
diff --git a/drivers/ide/pci/pdc202xx_new.c b/drivers/ide/pci/pdc202xx_new.c
index 2238df9b8372..6bfc38f58cbf 100644
--- a/drivers/ide/pci/pdc202xx_new.c
+++ b/drivers/ide/pci/pdc202xx_new.c
@@ -552,70 +552,63 @@ static ide_pci_device_t pdcnew_chipsets[] __devinitdata = {
552 .init_chipset = init_chipset_pdcnew, 552 .init_chipset = init_chipset_pdcnew,
553 .init_hwif = init_hwif_pdc202new, 553 .init_hwif = init_hwif_pdc202new,
554 .autodma = AUTODMA, 554 .autodma = AUTODMA,
555 .bootable = OFF_BOARD, 555 .host_flags = IDE_HFLAG_POST_SET_MODE | IDE_HFLAG_OFF_BOARD,
556 .pio_mask = ATA_PIO4, 556 .pio_mask = ATA_PIO4,
557 .udma_mask = 0x3f, /* udma0-5 */ 557 .udma_mask = 0x3f, /* udma0-5 */
558 .host_flags = IDE_HFLAG_POST_SET_MODE,
559 },{ /* 1 */ 558 },{ /* 1 */
560 .name = "PDC20269", 559 .name = "PDC20269",
561 .init_setup = init_setup_pdcnew, 560 .init_setup = init_setup_pdcnew,
562 .init_chipset = init_chipset_pdcnew, 561 .init_chipset = init_chipset_pdcnew,
563 .init_hwif = init_hwif_pdc202new, 562 .init_hwif = init_hwif_pdc202new,
564 .autodma = AUTODMA, 563 .autodma = AUTODMA,
565 .bootable = OFF_BOARD, 564 .host_flags = IDE_HFLAG_POST_SET_MODE | IDE_HFLAG_OFF_BOARD,
566 .pio_mask = ATA_PIO4, 565 .pio_mask = ATA_PIO4,
567 .udma_mask = 0x7f, /* udma0-6*/ 566 .udma_mask = 0x7f, /* udma0-6*/
568 .host_flags = IDE_HFLAG_POST_SET_MODE,
569 },{ /* 2 */ 567 },{ /* 2 */
570 .name = "PDC20270", 568 .name = "PDC20270",
571 .init_setup = init_setup_pdc20270, 569 .init_setup = init_setup_pdc20270,
572 .init_chipset = init_chipset_pdcnew, 570 .init_chipset = init_chipset_pdcnew,
573 .init_hwif = init_hwif_pdc202new, 571 .init_hwif = init_hwif_pdc202new,
574 .autodma = AUTODMA, 572 .autodma = AUTODMA,
575 .bootable = OFF_BOARD, 573 .host_flags = IDE_HFLAG_POST_SET_MODE | IDE_HFLAG_OFF_BOARD,
576 .pio_mask = ATA_PIO4, 574 .pio_mask = ATA_PIO4,
577 .udma_mask = 0x3f, /* udma0-5 */ 575 .udma_mask = 0x3f, /* udma0-5 */
578 .host_flags = IDE_HFLAG_POST_SET_MODE,
579 },{ /* 3 */ 576 },{ /* 3 */
580 .name = "PDC20271", 577 .name = "PDC20271",
581 .init_setup = init_setup_pdcnew, 578 .init_setup = init_setup_pdcnew,
582 .init_chipset = init_chipset_pdcnew, 579 .init_chipset = init_chipset_pdcnew,
583 .init_hwif = init_hwif_pdc202new, 580 .init_hwif = init_hwif_pdc202new,
584 .autodma = AUTODMA, 581 .autodma = AUTODMA,
585 .bootable = OFF_BOARD, 582 .host_flags = IDE_HFLAG_POST_SET_MODE | IDE_HFLAG_OFF_BOARD,
586 .pio_mask = ATA_PIO4, 583 .pio_mask = ATA_PIO4,
587 .udma_mask = 0x7f, /* udma0-6*/ 584 .udma_mask = 0x7f, /* udma0-6*/
588 .host_flags = IDE_HFLAG_POST_SET_MODE,
589 },{ /* 4 */ 585 },{ /* 4 */
590 .name = "PDC20275", 586 .name = "PDC20275",
591 .init_setup = init_setup_pdcnew, 587 .init_setup = init_setup_pdcnew,
592 .init_chipset = init_chipset_pdcnew, 588 .init_chipset = init_chipset_pdcnew,
593 .init_hwif = init_hwif_pdc202new, 589 .init_hwif = init_hwif_pdc202new,
594 .autodma = AUTODMA, 590 .autodma = AUTODMA,
595 .bootable = OFF_BOARD, 591 .host_flags = IDE_HFLAG_POST_SET_MODE | IDE_HFLAG_OFF_BOARD,
596 .pio_mask = ATA_PIO4, 592 .pio_mask = ATA_PIO4,
597 .udma_mask = 0x7f, /* udma0-6*/ 593 .udma_mask = 0x7f, /* udma0-6*/
598 .host_flags = IDE_HFLAG_POST_SET_MODE,
599 },{ /* 5 */ 594 },{ /* 5 */
600 .name = "PDC20276", 595 .name = "PDC20276",
601 .init_setup = init_setup_pdc20276, 596 .init_setup = init_setup_pdc20276,
602 .init_chipset = init_chipset_pdcnew, 597 .init_chipset = init_chipset_pdcnew,
603 .init_hwif = init_hwif_pdc202new, 598 .init_hwif = init_hwif_pdc202new,
604 .autodma = AUTODMA, 599 .autodma = AUTODMA,
605 .bootable = OFF_BOARD, 600 .host_flags = IDE_HFLAG_POST_SET_MODE | IDE_HFLAG_OFF_BOARD,
606 .pio_mask = ATA_PIO4, 601 .pio_mask = ATA_PIO4,
607 .udma_mask = 0x7f, /* udma0-6*/ 602 .udma_mask = 0x7f, /* udma0-6*/
608 .host_flags = IDE_HFLAG_POST_SET_MODE,
609 },{ /* 6 */ 603 },{ /* 6 */
610 .name = "PDC20277", 604 .name = "PDC20277",
611 .init_setup = init_setup_pdcnew, 605 .init_setup = init_setup_pdcnew,
612 .init_chipset = init_chipset_pdcnew, 606 .init_chipset = init_chipset_pdcnew,
613 .init_hwif = init_hwif_pdc202new, 607 .init_hwif = init_hwif_pdc202new,
614 .autodma = AUTODMA, 608 .autodma = AUTODMA,
615 .bootable = OFF_BOARD, 609 .host_flags = IDE_HFLAG_POST_SET_MODE | IDE_HFLAG_OFF_BOARD,
616 .pio_mask = ATA_PIO4, 610 .pio_mask = ATA_PIO4,
617 .udma_mask = 0x7f, /* udma0-6*/ 611 .udma_mask = 0x7f, /* udma0-6*/
618 .host_flags = IDE_HFLAG_POST_SET_MODE,
619 } 612 }
620}; 613};
621 614