[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20070126.002020.48528097.davem@davemloft.net>
Date: Fri, 26 Jan 2007 00:20:20 -0800 (PST)
From: David Miller <davem@...emloft.net>
To: dwmw2@...radead.org
Cc: torvalds@...ux-foundation.org, alan@...rguk.ukuu.org.uk,
jgarzik@...ox.com, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] libata-sff: Don't call bmdma_stop on non DMA capable
controllers
From: David Woodhouse <dwmw2@...radead.org>
Date: Fri, 26 Jan 2007 13:09:40 +0800
> My question was about _how_ you think this should be achieved in this
> particular case. You didn't like the suggestion that we should put your
> new special-case hack into the resource code... where/how _do_ you
> suggest that it's done, so that we can protect those poor driver authors
> from the number zero?
Just set some high bit in the arch code that creates the resources,
then when you interpret them in arch code simply clear the bit.
That's effectively what happens on sparc64 since all non-memory
physical addressing occurs at the top of the physical address
space. But you don't need that layout, you can fake it.
-
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