Thread (7 messages) 7 messages, 3 authors, 2006-11-14

Re: [PATCH/RFC] powerpc: Fix mmap of PCI resource with hack for X

flat view

From: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Date: 2006-11-14 03:03:12
Also in: lkml

quoted
So the gist of your change is that X isn't obtaining BAR values
in the correct context on powerpc, and so you're going to hack up
the "devices" files output to "help" X out.

This doesn't sound sane to me.
It doesn't sound terribly sane to me.  What's wrong with just opening
/sys/bus/pci/devices/*/resource[0-5]?  It seems like that solves all the
problems.
We have to, that's how we get current X to work. Of course it will be
much better once X uses sysfs, no question about that.

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