aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/ide.h
diff options
context:
space:
mode:
authorBartlomiej Zolnierkiewicz <bzolnier@gmail.com>2008-04-26 11:36:36 -0400
committerBartlomiej Zolnierkiewicz <bzolnier@gmail.com>2008-04-26 11:36:36 -0400
commite277f91fef8a0ff7726ad33eb79c6f0d0c6229a8 (patch)
treed275b5e0c720c5db73efa446c86a2437fd93dca2 /include/linux/ide.h
parentfe80b937c9917887e4fbfaaf52f498b5ac3a6999 (diff)
ide: use ide_find_port() in legacy VLB host drivers (take 2)
* Add IDE_HFLAG_QD_2ND_PORT host flag to indicate the need of skipping first ide_hwifs[] slot for the second port of QD65xx controller. * Handle this new host flag in ide_find_port_slot(). * Convert legacy VLB host drivers to use ide_find_port(). While at it: * Fix couple of printk()-s in qd65xx host driver to not use hwif->name. v2: * Fix qd65xx. 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 2c43766ff344..4997751591a3 100644
--- a/include/linux/ide.h
+++ b/include/linux/ide.h
@@ -1033,6 +1033,8 @@ enum {
1033 IDE_HFLAG_SINGLE = (1 << 1), 1033 IDE_HFLAG_SINGLE = (1 << 1),
1034 /* don't use legacy PIO blacklist */ 1034 /* don't use legacy PIO blacklist */
1035 IDE_HFLAG_PIO_NO_BLACKLIST = (1 << 2), 1035 IDE_HFLAG_PIO_NO_BLACKLIST = (1 << 2),
1036 /* set for the second port of QD65xx */
1037 IDE_HFLAG_QD_2ND_PORT = (1 << 3),
1036 /* use PIO8/9 for prefetch off/on */ 1038 /* use PIO8/9 for prefetch off/on */
1037 IDE_HFLAG_ABUSE_PREFETCH = (1 << 4), 1039 IDE_HFLAG_ABUSE_PREFETCH = (1 << 4),
1038 /* use PIO6/7 for fast-devsel off/on */ 1040 /* use PIO6/7 for fast-devsel off/on */