aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/ide.h
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
commitcaea7602f309cbd55ba609800fd3c3e5d19ab684 (patch)
treefbf1fab750452317a1a38f9ec38b18ad6b1323c3 /include/linux/ide.h
parent272a370900e5d2ae84662338397bb7b2375ff5cf (diff)
ide: add IDE_HFLAG_{IO_32BIT,UNMASK_IRQS} host flags
Add IDE_HFLAG_{IO_32BIT,UNMASK_IRQS} host flag to tell ide_pci_setup_ports() to set drive->{io_32bit,unmask} for both drives on the interface. Convert amd74xx, sl82c105 and via82cxxx host drivers to use these new host flags. While at it: * Add IDE_HFLAGS_AMD define (amd74xx host driver). * Add IDE_HFLAGS_VIA define (via82cxxx host driver). Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Diffstat (limited to 'include/linux/ide.h')
-rw-r--r--include/linux/ide.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/linux/ide.h b/include/linux/ide.h
index c5b52dd16a89..258a15cc2746 100644
--- a/include/linux/ide.h
+++ b/include/linux/ide.h
@@ -1267,6 +1267,10 @@ enum {
1267 IDE_HFLAG_FORCE_LEGACY_IRQS = (1 << 22), 1267 IDE_HFLAG_FORCE_LEGACY_IRQS = (1 << 22),
1268 /* limit LBA48 requests to 256 sectors */ 1268 /* limit LBA48 requests to 256 sectors */
1269 IDE_HFLAG_RQSIZE_256 = (1 << 23), 1269 IDE_HFLAG_RQSIZE_256 = (1 << 23),
1270 /* use 32-bit I/O ops */
1271 IDE_HFLAG_IO_32BIT = (1 << 24),
1272 /* unmask IRQs */
1273 IDE_HFLAG_UNMASK_IRQS = (1 << 25),
1270}; 1274};
1271 1275
1272#ifdef CONFIG_BLK_DEV_OFFBOARD 1276#ifdef CONFIG_BLK_DEV_OFFBOARD