diff options
author | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 2008-04-28 17:44:37 -0400 |
---|---|---|
committer | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 2008-04-28 17:44:37 -0400 |
commit | c5dd43ec65c1e1e378df043d517d40ed70a32cbe (patch) | |
tree | f2bfaedd3454d163c4792f79d440b344d33fd42a /drivers/ide/ppc/pmac.c | |
parent | f04ff9cbb6389a6db64659cf917a1b6ac159f9f2 (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 'drivers/ide/ppc/pmac.c')
-rw-r--r-- | drivers/ide/ppc/pmac.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/ide/ppc/pmac.c b/drivers/ide/ppc/pmac.c index 3cac6b2790dd..48aa019127bc 100644 --- a/drivers/ide/ppc/pmac.c +++ b/drivers/ide/ppc/pmac.c | |||
@@ -941,6 +941,7 @@ static const struct ide_port_info pmac_port_info = { | |||
941 | .port_ops = &pmac_ide_port_ops, | 941 | .port_ops = &pmac_ide_port_ops, |
942 | .host_flags = IDE_HFLAG_SET_PIO_MODE_KEEP_DMA | | 942 | .host_flags = IDE_HFLAG_SET_PIO_MODE_KEEP_DMA | |
943 | IDE_HFLAG_POST_SET_MODE | | 943 | IDE_HFLAG_POST_SET_MODE | |
944 | IDE_HFLAG_MMIO | | ||
944 | IDE_HFLAG_UNMASK_IRQS, | 945 | IDE_HFLAG_UNMASK_IRQS, |
945 | .pio_mask = ATA_PIO4, | 946 | .pio_mask = ATA_PIO4, |
946 | .mwdma_mask = ATA_MWDMA2, | 947 | .mwdma_mask = ATA_MWDMA2, |