summaryrefslogtreecommitdiff
path: root/include/linux/ide.h
diff options
context:
space:
mode:
authorBartlomiej Zolnierkiewicz <bzolnier@gmail.com>2007-10-20 02:32:30 +0400
committerBartlomiej Zolnierkiewicz <bzolnier@gmail.com>2007-10-20 02:32:30 +0400
commit272a370900e5d2ae84662338397bb7b2375ff5cf (patch)
treecb3fa16d92e7a48108956948425f7ed4f69ae5e4 /include/linux/ide.h
parent8acf28c090f0e5e049f56b27bdd7cf1fb40c6b98 (diff)
downloadlinux-272a370900e5d2ae84662338397bb7b2375ff5cf.tar.xz
ide: add IDE_HFLAG_RQSIZE_256 host flag
Add IDE_HFLAG_RQSIZE_256 host flag to tell ide_pci_setup_ports() to set hwif->rqsize to 256 sectors. Convert pdc202xx_old host driver to use it. Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Diffstat (limited to 'include/linux/ide.h')
-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 ff9d293f9ae9..c5b52dd16a89 100644
--- a/include/linux/ide.h
+++ b/include/linux/ide.h
@@ -1265,6 +1265,8 @@ enum {
IDE_HFLAG_LEGACY_IRQS = (1 << 21),
/* force use of legacy IRQs */
IDE_HFLAG_FORCE_LEGACY_IRQS = (1 << 22),
+ /* limit LBA48 requests to 256 sectors */
+ IDE_HFLAG_RQSIZE_256 = (1 << 23),
};
#ifdef CONFIG_BLK_DEV_OFFBOARD