[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20090814223237.1ef61ff1@lxorguk.ukuu.org.uk>
Date: Fri, 14 Aug 2009 22:32:37 +0100
From: Alan Cox <alan@...rguk.ukuu.org.uk>
To: Ben Greear <greearb@...delatech.com>
Cc: linux-kernel <linux-kernel@...r.kernel.org>
Subject: Re: How to disable DMA for compact-flash disk?
> Can you give me a clue as to what code needs poking? I'm working
> on the latest 31-rc5 tree, btw.
>
>
> PS. Can't get an ide based 2.6.31-rc5 kernel to boot in F11, though it doesn't seem
> to be related to ide. I probably have something wrong in my .config.
Tejun made it all very class based so you have inheriting operations
structures thus in pata_via.c find
static struct ata_port_operations via_port_ops = {
.inherits = &ata_bmdma_port_ops,
and change it to
static struct ata_port_operations via_port_ops = {
.inherits = &ata_bmdma32_port_ops,
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists