summaryrefslogtreecommitdiffstats
path: root/include/linux/ide.h
diff options
context:
space:
mode:
authorBartlomiej Zolnierkiewicz2009-03-27 12:46:28 +0100
committerBartlomiej Zolnierkiewicz2009-03-27 12:46:28 +0100
commitc094ea0774d6881598da430ea0916a597162f8df (patch)
treee54a8037d3db3387c8972a39d3fd6311cfe8ec63 /include/linux/ide.h
parentide: add IDE_HFLAG_DTC2278 host flag (diff)
downloadkernel-qcow2-linux-c094ea0774d6881598da430ea0916a597162f8df.tar.gz
kernel-qcow2-linux-c094ea0774d6881598da430ea0916a597162f8df.tar.xz
kernel-qcow2-linux-c094ea0774d6881598da430ea0916a597162f8df.zip
ide: add IDE_HFLAG_4DRIVES host flag
Add IDE_HFLAG_4DRIVES host flag and use it instead of ide_4drives chipset type in ide_init_port(). There should be no functional changes caused by this patch. 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 732a05f3de08..3d4ba8e95d4a 100644
--- a/include/linux/ide.h
+++ b/include/linux/ide.h
@@ -1327,6 +1327,8 @@ enum {
IDE_HFLAG_SERIALIZE = (1 << 20),
/* host is DTC2278 */
IDE_HFLAG_DTC2278 = (1 << 21),
+ /* 4 devices on a single set of I/O ports */
+ IDE_HFLAG_4DRIVES = (1 << 22),
/* host is TRM290 */
IDE_HFLAG_TRM290 = (1 << 23),
/* use 32-bit I/O ops */