aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorBartlomiej Zolnierkiewicz <bzolnier@gmail.com>2007-10-19 18:32:30 -0400
committerBartlomiej Zolnierkiewicz <bzolnier@gmail.com>2007-10-19 18:32:30 -0400
commit8acf28c090f0e5e049f56b27bdd7cf1fb40c6b98 (patch)
treecbf910b986d423d030c5917515b3c68368aed70f /include
parent528a572daea90aa41db92683e5a8756acef514c4 (diff)
ide: add IDE_HFLAG_FORCE_LEGACY_IRQS host flag
Add IDE_HFLAG_FORCE_LEGACY_IRQS host flag to tell ide_pci_setup_ports() to always set hwif->irq to legacy IRQ 14/15 and convert generic IDE PCI and via82cxxx host drivers to use it. While at it: * Add IDE_HFLAGS_UMC define (generic IDE PCI host driver). * Remove no longer needed init_hwif_generic() (generic IDE PCI host driver). * Set d->udma_mask instead of hwif->ultra_mask (via82cxxx host driver). Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Diffstat (limited to 'include')
-rw-r--r--include/linux/ide.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/ide.h b/include/linux/ide.h
index b676e51d74f1..ff9d293f9ae9 100644
--- a/include/linux/ide.h
+++ b/include/linux/ide.h
@@ -1263,6 +1263,8 @@ enum {
1263 IDE_HFLAG_SERIALIZE = (1 << 20), 1263 IDE_HFLAG_SERIALIZE = (1 << 20),
1264 /* use legacy IRQs */ 1264 /* use legacy IRQs */
1265 IDE_HFLAG_LEGACY_IRQS = (1 << 21), 1265 IDE_HFLAG_LEGACY_IRQS = (1 << 21),
1266 /* force use of legacy IRQs */
1267 IDE_HFLAG_FORCE_LEGACY_IRQS = (1 << 22),
1266}; 1268};
1267 1269
1268#ifdef CONFIG_BLK_DEV_OFFBOARD 1270#ifdef CONFIG_BLK_DEV_OFFBOARD