Thread (8 messages) flat view 8 messages, 5 authors, 2002-08-06

Re: new api example or docs ?

From: Sven LUTHER <hidden>
Date: 2002-08-04 13:53:45

On Fri, Aug 02, 2002 at 08:46:39AM -0700, James Simmons wrote:
quoted
Hello James.

I did give a quick try at adapting pm3fb to the new api, but without
much success.

I did look at skeletonfb.c as you suggested (the one in the 2.5.29
kernel) and after some work to make it build, it only gave me a segfault
when inserting the module.
skeletonfb is meant for only a example. I never expected to work.
Not as a skeleton from which you can build up a new driver ?
quoted
Looking a bit more to into this, and comparing skeletonfb to both neofb
and matroxfb, it seems to me that the skeletonfb that ships with the
2.5.29 kernel is severly outdated.
No skeletonfb is pretty much up to data. The driver to look at is the 3Dfx
driver. Its is the best new api driver.
Ok i will look at the 3Dfx driver.

BTW, the main difference i see between skeletonfb and the other driver
is about the _init function. if contains lot of stuff to initialize the
fb_info structure and such.

But when i look at the neofb for example, but it is the same in
matroxfb, i see that pci_register_driver is called with a structure
containing the neofb_probe function, which is something absolutely not
present in the skeletonfb.
quoted
In this case, which driver would you suggest i look at ? And is there
other documentation about the new api around.
Not yet.
Too bad, ...

I would have been nice to have such a thing before you remove the
backward compatibility from the new kernels.

Anyway, thanks for your help, i will look at the existing drivers then.

Friendly,

Sven Luther


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help