[Cbe-oss-dev] [PATCH] Implement check_legacy_ioport() on PS3

Segher Boessenkool segher at kernel.crashing.org
Fri Mar 30 23:44:02 EST 2007

> I was thinking that we could have one single helper shared by most
> platforms who allow that legacy ISA crap which checks the device-tree
> for known ISA devices. That would cover PREP, CHRP and pSeries at
> least...

Make the helper check every device node under the ISA
node and translate the "reg" in there.  If the requested
legacy I/O region is a subset of the union of all those,
allow the access, otherwise not.  This should cover all
cases (well at least those with a valid device tree, heh).


More information about the cbe-oss-dev mailing list