[openbeos] Re: device driver trouble

  • From: Eike Dehling <e.e.dehling@xxxxxxxxxxxxxxxxxx>
  • To: openbeos@xxxxxxxxxxxxx
  • Date: Fri, 18 Oct 2002 13:20:11 +0200


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.

i mean that the headers for the device-driver api are up to date...


> >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 :-)

great. that's just what i need! a la m$ :P



Other related posts: