[openbeos] Re: device driver trouble

  • From: "Axel Dörfler" <axeld@xxxxxxxxxxxxxxxx>
  • To: openbeos@xxxxxxxxxxxxx
  • Date: Fri, 18 Oct 2002 13:07:44 +0200 CEST

Eike Dehling <e.e.dehling@xxxxxxxxxxxxxxxxxx> wrote:
> >My guess is that the rtl8139 driver is currently not used by us at 
> > all,
> >therefore it hasn't been updated to the latest driver API.
> >IIRC we still have an iso 9660 fs driver in our repository - but its
> >API is completely outdated and won't work anymore with the current 
> > VFS;
> >same issue.
> Ok. but in the header-files the functions have the updated/new API ?

No, they are just not part of the build. Drivers are loaded on an on-
demand basis, so the kernel don't need any headers for them.

> >They won't mess up the stack since the caller is responsible for
> >popping the stack after the function call.
> great. and what if the functions uses parameters which are not there?
> most of the parameters are references to some structures, where 
> functions
> store things ... i don't even want to think about the result ...

Why not? Most probably this will result in a clean crash :-)

Adios...
   Axel.



Other related posts: