Thread (9 messages) 9 messages, 6 authors, 2007-04-06

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

From: Segher Boessenkool <hidden>
Date: 2007-03-30 13:44:02

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).


Segher
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help