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/pdc202xx_old.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/pdc202xx_old.c')
-rw-r--r-- | drivers/ide/pci/pdc202xx_old.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/drivers/ide/pci/pdc202xx_old.c b/drivers/ide/pci/pdc202xx_old.c index 903bf715fab3..217701f28511 100644 --- a/drivers/ide/pci/pdc202xx_old.c +++ b/drivers/ide/pci/pdc202xx_old.c | |||
@@ -422,8 +422,8 @@ static ide_pci_device_t pdc202xx_chipsets[] __devinitdata = { | |||
422 | .init_hwif = init_hwif_pdc202xx, | 422 | .init_hwif = init_hwif_pdc202xx, |
423 | .init_dma = init_dma_pdc202xx, | 423 | .init_dma = init_dma_pdc202xx, |
424 | .autodma = AUTODMA, | 424 | .autodma = AUTODMA, |
425 | .bootable = OFF_BOARD, | ||
426 | .extra = 16, | 425 | .extra = 16, |
426 | .host_flags = IDE_HFLAG_OFF_BOARD, | ||
427 | .pio_mask = ATA_PIO4, | 427 | .pio_mask = ATA_PIO4, |
428 | .udma_mask = 0x07, /* udma0-2 */ | 428 | .udma_mask = 0x07, /* udma0-2 */ |
429 | },{ /* 1 */ | 429 | },{ /* 1 */ |
@@ -433,8 +433,8 @@ static ide_pci_device_t pdc202xx_chipsets[] __devinitdata = { | |||
433 | .init_hwif = init_hwif_pdc202xx, | 433 | .init_hwif = init_hwif_pdc202xx, |
434 | .init_dma = init_dma_pdc202xx, | 434 | .init_dma = init_dma_pdc202xx, |
435 | .autodma = AUTODMA, | 435 | .autodma = AUTODMA, |
436 | .bootable = OFF_BOARD, | ||
437 | .extra = 48, | 436 | .extra = 48, |
437 | .host_flags = IDE_HFLAG_OFF_BOARD, | ||
438 | .pio_mask = ATA_PIO4, | 438 | .pio_mask = ATA_PIO4, |
439 | .udma_mask = 0x1f, /* udma0-4 */ | 439 | .udma_mask = 0x1f, /* udma0-4 */ |
440 | },{ /* 2 */ | 440 | },{ /* 2 */ |
@@ -444,8 +444,8 @@ static ide_pci_device_t pdc202xx_chipsets[] __devinitdata = { | |||
444 | .init_hwif = init_hwif_pdc202xx, | 444 | .init_hwif = init_hwif_pdc202xx, |
445 | .init_dma = init_dma_pdc202xx, | 445 | .init_dma = init_dma_pdc202xx, |
446 | .autodma = AUTODMA, | 446 | .autodma = AUTODMA, |
447 | .bootable = OFF_BOARD, | ||
448 | .extra = 48, | 447 | .extra = 48, |
448 | .host_flags = IDE_HFLAG_OFF_BOARD, | ||
449 | .pio_mask = ATA_PIO4, | 449 | .pio_mask = ATA_PIO4, |
450 | .udma_mask = 0x1f, /* udma0-4 */ | 450 | .udma_mask = 0x1f, /* udma0-4 */ |
451 | },{ /* 3 */ | 451 | },{ /* 3 */ |
@@ -455,8 +455,8 @@ static ide_pci_device_t pdc202xx_chipsets[] __devinitdata = { | |||
455 | .init_hwif = init_hwif_pdc202xx, | 455 | .init_hwif = init_hwif_pdc202xx, |
456 | .init_dma = init_dma_pdc202xx, | 456 | .init_dma = init_dma_pdc202xx, |
457 | .autodma = AUTODMA, | 457 | .autodma = AUTODMA, |
458 | .bootable = OFF_BOARD, | ||
459 | .extra = 48, | 458 | .extra = 48, |
459 | .host_flags = IDE_HFLAG_OFF_BOARD, | ||
460 | .pio_mask = ATA_PIO4, | 460 | .pio_mask = ATA_PIO4, |
461 | .udma_mask = 0x3f, /* udma0-5 */ | 461 | .udma_mask = 0x3f, /* udma0-5 */ |
462 | },{ /* 4 */ | 462 | },{ /* 4 */ |
@@ -466,8 +466,8 @@ static ide_pci_device_t pdc202xx_chipsets[] __devinitdata = { | |||
466 | .init_hwif = init_hwif_pdc202xx, | 466 | .init_hwif = init_hwif_pdc202xx, |
467 | .init_dma = init_dma_pdc202xx, | 467 | .init_dma = init_dma_pdc202xx, |
468 | .autodma = AUTODMA, | 468 | .autodma = AUTODMA, |
469 | .bootable = OFF_BOARD, | ||
470 | .extra = 48, | 469 | .extra = 48, |
470 | .host_flags = IDE_HFLAG_OFF_BOARD, | ||
471 | .pio_mask = ATA_PIO4, | 471 | .pio_mask = ATA_PIO4, |
472 | .udma_mask = 0x3f, /* udma0-5 */ | 472 | .udma_mask = 0x3f, /* udma0-5 */ |
473 | } | 473 | } |