Re: moderate persistence of module configuration??

emoenke (emoenke@gwdg.de)
Thu, 29 Feb 1996 09:36:23 +0100 (MET)


Hi Dan Miner,

>1) After loading a module with device autodetection and unloading, there
>appears to be no way for the module to reference that previously known
>information to speed up autodetection.
>
>2) For the first loading of a modular device driver, how can I pass it
>parameters for easier detection of the hardware (may be required in
>some cases). Example, boot parameters are passed to these drivers
>when compiled into the kernel. I do not see any modules referring
>to the stored options on initialization of itself as a module.
>
> Trying loading and unloading the sbpcd driver and your hardware
> is detected on the 5th probe. [I know.. load it and don't unload
> it.. :)] I think this ability to inform drivers may come in handy
> in the future.

linux/Documentation/cdrom/sbpcd.

BTW: I have designed my "insmod" parameters IDENTICALLY to my kernel
command parameters as far as possible - hoping that people may not be
willing to read, but able to associate. ;-)

Cheers -e

-- 
Eberhard Moenkeberg                                GGG   W   W  DDDD    GGG
                                                  G      W   W  D   D  G
E-Mail:   emoenke@gwdg.de                         G GGG  W   W  D   D  G GGG
Phone: +49 551 2011551  Fax: +49 551 21119        G   G  W W W  D   D  G   G
SnailMail:                                         GGG   WW WW  DDDD    GGG
Gesellschaft fuer wissenschaftliche Datenverarbeitung mbH
Am Fassberg, D-37077 Goettingen, GERMANY
At home: Modem+ISDN ("guest") ++49-551-7704102, ISDN-HDLC 7704103