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/amd74xx.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/amd74xx.c')
-rw-r--r-- | drivers/ide/pci/amd74xx.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/drivers/ide/pci/amd74xx.c b/drivers/ide/pci/amd74xx.c index 9e9e2b6ef6cb..11d20bb7b85f 100644 --- a/drivers/ide/pci/amd74xx.c +++ b/drivers/ide/pci/amd74xx.c | |||
@@ -280,10 +280,10 @@ static void __devinit init_hwif_amd74xx(ide_hwif_t *hwif) | |||
280 | .init_hwif = init_hwif_amd74xx, \ | 280 | .init_hwif = init_hwif_amd74xx, \ |
281 | .autodma = AUTODMA, \ | 281 | .autodma = AUTODMA, \ |
282 | .enablebits = {{0x40,0x02,0x02}, {0x40,0x01,0x01}}, \ | 282 | .enablebits = {{0x40,0x02,0x02}, {0x40,0x01,0x01}}, \ |
283 | .bootable = ON_BOARD, \ | 283 | .host_flags = IDE_HFLAG_PIO_NO_BLACKLIST | \ |
284 | .host_flags = IDE_HFLAG_PIO_NO_BLACKLIST \ | 284 | IDE_HFLAG_PIO_NO_DOWNGRADE | \ |
285 | | IDE_HFLAG_PIO_NO_DOWNGRADE \ | 285 | IDE_HFLAG_POST_SET_MODE | \ |
286 | | IDE_HFLAG_POST_SET_MODE, \ | 286 | IDE_HFLAG_BOOTABLE, \ |
287 | .pio_mask = ATA_PIO5, \ | 287 | .pio_mask = ATA_PIO5, \ |
288 | } | 288 | } |
289 | 289 | ||
@@ -294,10 +294,10 @@ static void __devinit init_hwif_amd74xx(ide_hwif_t *hwif) | |||
294 | .init_hwif = init_hwif_amd74xx, \ | 294 | .init_hwif = init_hwif_amd74xx, \ |
295 | .autodma = AUTODMA, \ | 295 | .autodma = AUTODMA, \ |
296 | .enablebits = {{0x50,0x02,0x02}, {0x50,0x01,0x01}}, \ | 296 | .enablebits = {{0x50,0x02,0x02}, {0x50,0x01,0x01}}, \ |
297 | .bootable = ON_BOARD, \ | 297 | .host_flags = IDE_HFLAG_PIO_NO_BLACKLIST | \ |
298 | .host_flags = IDE_HFLAG_PIO_NO_BLACKLIST \ | 298 | IDE_HFLAG_PIO_NO_DOWNGRADE | \ |
299 | | IDE_HFLAG_PIO_NO_DOWNGRADE \ | 299 | IDE_HFLAG_POST_SET_MODE | \ |
300 | | IDE_HFLAG_POST_SET_MODE, \ | 300 | IDE_HFLAG_BOOTABLE, \ |
301 | .pio_mask = ATA_PIO5, \ | 301 | .pio_mask = ATA_PIO5, \ |
302 | } | 302 | } |
303 | 303 | ||