On Wed, Mar 12, 2003 at 09:04:15AM +0100, Benjamin Herrenschmidt wrote: > On Tue, 2003-03-11 at 21:49, Mark Vojkovich wrote: > > It's worth considering a helper function in the core server > > on Linux PPC that knows how to talk to the IVAD controller. > > These drivers could call it at the appropriate times. If > > it's just one function call in the driver and if they whole > > think is conditionally built, I don't think that sounds too bad. > > OK. Well, since I want also normal userland acess to it > (so the user can change the brightness or screen geometry), > I think the best is to move all of that stuff to a cmdline > tool and have XFree call it with approriate parameter from > that hook. That's also the best way to keep the XFree part > of the code OS neutral (the external userland tool can then > be ported on *BSD to whatever mecanism they provide for i2c > communication on the CUDA and PMU busses).
Why not make it a library, that could be used by a commandline/whatever frontend, or linked in with the XFree86 Server if needed. The portability remains, as you may just need to port the library. Friendly, Sven Luther _______________________________________________ Devel mailing list [EMAIL PROTECTED] http://XFree86.Org/mailman/listinfo/devel
