Re: Serial module arguments !?
Joshua Spoerri (josh@cooper.edu)
Wed, 1 May 1996 10:16:10 -0400 (EDT)
Theodore Ts'o wrote:
>
> Date: Tue, 30 Apr 1996 16:22:56 +0100 (BST)
> From: Ian Macdonald <ism@tardis.ed.ac.uk>
>
> So if people are using kerneld to load the serial module they have to rerun
> setserial every time the module is loaded?
>
> Yes, it does. There is a warning message in the Configuration help file:
>
> [WARNING: Do not compile this driver as a module if you are using
> non-standard serial ports, since the configuration information will be
> lost when kerneld automatically unloads the driver. This limitation may
> be lifted in the future.]
>
i just submitted a very short (<10 line) patch to allow setting irq and io
addr on the serial module as you currently can with ethernet and lp modules
(e.g. insmod serial irq=0,0,5). in your /etc/modules.conf you can then say:
options serial irq=0,0,5