aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/ide/pci/piix.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/piix.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/piix.c')
-rw-r--r--drivers/ide/pci/piix.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/drivers/ide/pci/piix.c b/drivers/ide/pci/piix.c
index 3694db62f257..287f4e38981e 100644
--- a/drivers/ide/pci/piix.c
+++ b/drivers/ide/pci/piix.c
@@ -417,7 +417,7 @@ static void __devinit init_hwif_piix(ide_hwif_t *hwif)
417 .init_hwif = init_hwif_piix, \ 417 .init_hwif = init_hwif_piix, \
418 .autodma = AUTODMA, \ 418 .autodma = AUTODMA, \
419 .enablebits = {{0x41,0x80,0x80}, {0x43,0x80,0x80}}, \ 419 .enablebits = {{0x41,0x80,0x80}, {0x43,0x80,0x80}}, \
420 .bootable = ON_BOARD, \ 420 .host_flags = IDE_HFLAG_BOOTABLE, \
421 .pio_mask = ATA_PIO4, \ 421 .pio_mask = ATA_PIO4, \
422 .udma_mask = udma, \ 422 .udma_mask = udma, \
423 } 423 }
@@ -436,8 +436,7 @@ static ide_pci_device_t piix_pci_info[] __devinitdata = {
436 .init_hwif = init_hwif_piix, 436 .init_hwif = init_hwif_piix,
437 .autodma = NODMA, 437 .autodma = NODMA,
438 .enablebits = {{0x6d,0xc0,0x80}, {0x6d,0xc0,0xc0}}, 438 .enablebits = {{0x6d,0xc0,0x80}, {0x6d,0xc0,0xc0}},
439 .bootable = ON_BOARD, 439 .host_flags = IDE_HFLAG_ISA_PORTS | IDE_HFLAG_BOOTABLE,
440 .host_flags = IDE_HFLAG_ISA_PORTS,
441 .pio_mask = ATA_PIO4, 440 .pio_mask = ATA_PIO4,
442 }, 441 },
443 442