Hi, me again...
Tim Waugh wrote:
>
> On Thu, Mar 15, 2001 at 11:30:35AM +0100, Michael Reinelt wrote:
>
> > sorry if I'm annoying... How does it know _which_ lowlevel driver? I
> > don't have a reference to parport_pc somewhere...
>
> parport just does request_module("parport_lowlevel"). So it doesn't
> know. But modprobe knows, because modules.conf has an alias for
> parport_lowlevel.
Oh, I see... the alias seems to be an implicit one, I don't have the
alias specified anywhere, mot 'modprobe -c' shows the alias.
Now there's another problem: ppdev.o will _not_ request parport_lowlevel
and therefore not load parport_pc. As far as I understood the code,
there's no call to parport_register_driver(), which would call
get_lowlevel_driver(), which in turn requests the module.
bye, Michael
-- netWorks Vox: +43 316 692396 Michael Reinelt Fax: +43 316 692343 Geisslergasse 4 GSM: +43 676 3079941 A-8045 Graz, Austria e-mail: reinelt@eunet.at-- To unsubscribe, send mail to: linux-parport-request@torque.net -- -- with the single word "unsubscribe" in the body of the message. --
This archive was generated by hypermail 2b29 : Thu Mar 15 2001 - 06:13:55 EST