Compaq and Linux Mailing List Archive
Re: [compaq-and-linux] sim710 module

Date view Thread view Subject view Author view

From: Richard Hirst (rhirst@linuxcare.com)
Date: Sat Jan 6 06:13:27 2001


(Richard, this might not make it to the list as I am subscribed
from a different address, so perhaps you could send it on for
me).

On Fri, Jan 05, 2001 at 03:19:17PM -0600, Black, Richard wrote:
> Here's the format:
> 
> To pass parameters at boot time use something like 
> 
>      sim710=addr:0x8000,irq:15 
> 
> and to pass parameters to insmod use something like 
> 
>      sim710="addr:0x8000 irq:15" 
> 
> So this would be insmod sim710 sim710="addr:0x8000 irq:15" 

That is correct.

> I don't remember if spaces matter when doing an insmod.

The problem with insmod is that if it sees a comma it thinks you
are specifying a multi-valued parameter.  My sim710 parameter is
defined as a string.  That is why the comma is replaced with space
for insmod.

Of course you need to use the quotes so insmod sees it as one parameter.

Another problem is that many installers don't cope with spaces in
the module parameters, because they don't protect the space with
quotes.  SuSE fixed theirs at my request.

> I believe if you check out the latest info on the sim710 driver, you may not
> need to specify the irq of the controller.  Here's the home page:
> http://www.sleepie.demon.co.uk/ncr53c710/.

That is correct, but unfortunately, I havn't got round to incorporating
those changes in the official kernel source.  So, if you use a module
from RedHat you need to specify addr and irq.

Richard


---------------------------------------------------------------------
To unsubscribe, e-mail: compaqandlinux-unsubscribe@van-dijk.net
For additional commands, e-mail: compaqandlinux-help@van-dijk.net
For the archives : http://www.van-dijk.net


Date view Thread view Subject view Author view

This archive was generated by hypermail 2b30 : Sat Jan 6 08:00:00 2001 CST