aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/ide/pci/cs5520.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/cs5520.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/cs5520.c')
-rw-r--r--drivers/ide/pci/cs5520.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/ide/pci/cs5520.c b/drivers/ide/pci/cs5520.c
index b7906a980120..efd844a87aa6 100644
--- a/drivers/ide/pci/cs5520.c
+++ b/drivers/ide/pci/cs5520.c
@@ -153,10 +153,10 @@ static void __devinit init_hwif_cs5520(ide_hwif_t *hwif)
153 .init_setup_dma = cs5520_init_setup_dma, \ 153 .init_setup_dma = cs5520_init_setup_dma, \
154 .init_hwif = init_hwif_cs5520, \ 154 .init_hwif = init_hwif_cs5520, \
155 .autodma = AUTODMA, \ 155 .autodma = AUTODMA, \
156 .bootable = ON_BOARD, \
157 .host_flags = IDE_HFLAG_ISA_PORTS | \ 156 .host_flags = IDE_HFLAG_ISA_PORTS | \
158 IDE_HFLAG_VDMA | \ 157 IDE_HFLAG_VDMA | \
159 IDE_HFLAG_NO_ATAPI_DMA, \ 158 IDE_HFLAG_NO_ATAPI_DMA | \
159 IDE_HFLAG_BOOTABLE, \
160 .pio_mask = ATA_PIO4, \ 160 .pio_mask = ATA_PIO4, \
161 } 161 }
162 162