aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorBartlomiej Zolnierkiewicz <bzolnier@gmail.com>2008-04-28 17:44:37 -0400
committerBartlomiej Zolnierkiewicz <bzolnier@gmail.com>2008-04-28 17:44:37 -0400
commitc5dd43ec65c1e1e378df043d517d40ed70a32cbe (patch)
treef2bfaedd3454d163c4792f79d440b344d33fd42a /include
parentf04ff9cbb6389a6db64659cf917a1b6ac159f9f2 (diff)
ide: add IDE_HFLAG_MMIO host flag (take 2)
* Add IDE_HFLAG_MMIO host flag and set it for hosts which use default_hwif_mmiops(). v2: * Fix kernel panic in pmac host driver (',' should be '|'). Thanks to Kamalesh for reporting it + testing the fix and to Andrew for hinting me about the source of the issue. Cc: Kamalesh Babulal <kamalesh@linux.vnet.ibm.com> Cc: Andrew Morton <akpm@linux-foundation.org> Cc: Stephen Rothwell <sfr@canb.auug.org.au> Cc: Andy Whitcroft <apw@shadowen.org> 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 b89b95dcb708..8e79875f9872 100644
--- a/include/linux/ide.h
+++ b/include/linux/ide.h
@@ -1069,6 +1069,8 @@ enum {
1069 IDE_HFLAG_NO_DMA = (1 << 14), 1069 IDE_HFLAG_NO_DMA = (1 << 14),
1070 /* check if host is PCI IDE device before allowing DMA */ 1070 /* check if host is PCI IDE device before allowing DMA */
1071 IDE_HFLAG_NO_AUTODMA = (1 << 15), 1071 IDE_HFLAG_NO_AUTODMA = (1 << 15),
1072 /* host uses MMIO */
1073 IDE_HFLAG_MMIO = (1 << 16),
1072 /* host is CS5510/CS5520 */ 1074 /* host is CS5510/CS5520 */
1073 IDE_HFLAG_CS5520 = IDE_HFLAG_VDMA, 1075 IDE_HFLAG_CS5520 = IDE_HFLAG_VDMA,
1074 /* no LBA48 */ 1076 /* no LBA48 */