From: James S. <jsi...@tr...> - 2001-06-15 16:28:43
|
> Disclaimer: I didn't do any Ruby driver yet. Atyfb is in my (long) todo bucket. > > I _think_ you can nicely encapsulate a 2.5 style driver using a 2.4 > compatibility layer. Just add some stubs that take care of get_{var,fix}() and > of the extra con argument. Pretty much. The approach I toke was to write a fbcon-accel.c file much like fbcon-cfbX and friends. I have it at home. It had one bug in it which I need to fix. Since people are really interested in this wrapper I will work on it this weekend along with docs. P.S One note to make. The only big difference between 2.4.X with the wrapper and ruby will be the ablilty to use DMA. The ruby tree can support cards in DMA/irq mode whereas in 2.4.X you can't. This is due to the console_lock which Andrew Morton and I have rewritten to make possible DMA. Using DMA will mean certain drivers (matrox and aty128) could be really difference between ruby and 2.4.X even with the wrapper. |