aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/ide/pci/atiixp.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/atiixp.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/atiixp.c')
-rw-r--r--drivers/ide/pci/atiixp.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/drivers/ide/pci/atiixp.c b/drivers/ide/pci/atiixp.c
index 9bb1b93325c6..f546a86f8b19 100644
--- a/drivers/ide/pci/atiixp.c
+++ b/drivers/ide/pci/atiixp.c
@@ -204,15 +204,14 @@ static ide_pci_device_t atiixp_pci_info[] __devinitdata = {
204 .init_hwif = init_hwif_atiixp, 204 .init_hwif = init_hwif_atiixp,
205 .autodma = AUTODMA, 205 .autodma = AUTODMA,
206 .enablebits = {{0x48,0x01,0x00}, {0x48,0x08,0x00}}, 206 .enablebits = {{0x48,0x01,0x00}, {0x48,0x08,0x00}},
207 .bootable = ON_BOARD, 207 .host_flags = IDE_HFLAG_BOOTABLE,
208 .pio_mask = ATA_PIO4, 208 .pio_mask = ATA_PIO4,
209 },{ /* 1 */ 209 },{ /* 1 */
210 .name = "SB600_PATA", 210 .name = "SB600_PATA",
211 .init_hwif = init_hwif_atiixp, 211 .init_hwif = init_hwif_atiixp,
212 .autodma = AUTODMA, 212 .autodma = AUTODMA,
213 .enablebits = {{0x48,0x01,0x00}, {0x00,0x00,0x00}}, 213 .enablebits = {{0x48,0x01,0x00}, {0x00,0x00,0x00}},
214 .bootable = ON_BOARD, 214 .host_flags = IDE_HFLAG_SINGLE | IDE_HFLAG_BOOTABLE,
215 .host_flags = IDE_HFLAG_SINGLE,
216 .pio_mask = ATA_PIO4, 215 .pio_mask = ATA_PIO4,
217 }, 216 },
218}; 217};