Re: [PATCH] restore libata build on frv

David Woodhouse
2006-09-27T07:05:38Z

On Mon, 2006-09-25 at 15:39 +0100, David Howells wrote:
> My point is that all the numbers are invalid or incorrect. They will cause
> the arch to oops, and so need completely replacing.

The way we deal with code which blindly pokes at legacy I/O addresses on
PowerPC is to have a check_legacy_ioport() function which will tell you
if it's safe to poke at the address in question. Perhaps that should be
extended to other architectures (some can just #define it to 0) and used
in the IDE code.

--
dwmw2