aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/ide/pci/trm290.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/trm290.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/trm290.c')
-rw-r--r--drivers/ide/pci/trm290.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/drivers/ide/pci/trm290.c b/drivers/ide/pci/trm290.c
index 1307454f9c15..ad392025860e 100644
--- a/drivers/ide/pci/trm290.c
+++ b/drivers/ide/pci/trm290.c
@@ -325,12 +325,11 @@ static ide_pci_device_t trm290_chipset __devinitdata = {
325 .name = "TRM290", 325 .name = "TRM290",
326 .init_hwif = init_hwif_trm290, 326 .init_hwif = init_hwif_trm290,
327 .autodma = NOAUTODMA, 327 .autodma = NOAUTODMA,
328 .bootable = ON_BOARD, 328 .host_flags = IDE_HFLAG_NO_ATAPI_DMA |
329#if 0 /* play it safe for now */ 329#if 0 /* play it safe for now */
330 .host_flags = IDE_HFLAG_TRUST_BIOS_FOR_DMA | IDE_HFLAG_NO_ATAPI_DMA, 330 IDE_HFLAG_TRUST_BIOS_FOR_DMA |
331#else
332 .host_flags = IDE_HFLAG_NO_ATAPI_DMA,
333#endif 331#endif
332 IDE_HFLAG_BOOTABLE,
334}; 333};
335 334
336static int __devinit trm290_init_one(struct pci_dev *dev, const struct pci_device_id *id) 335static int __devinit trm290_init_one(struct pci_dev *dev, const struct pci_device_id *id)