Re: parport_pc tries to load parport_serial automatically

Philip Blundell (philb@gnu.org)
Tue, 26 Jun 2001 18:59:11 +0100


--==_Exmh_-1965377001P
Content-Type: text/plain; charset=us-ascii

>- change parport_pc so that it doesn't request parport_serial at
> init. In this case, how will parport_serial get loaded at all?
> Perhaps with some recommended /etc/modules.conf lines (perhaps
> parport_lowlevel{1,2,3,...})?

This would be a bit bad, because it would require people to guess whether they
might have a card that parport_serial can drive and/or try loading the module
to see what happens.

I guess one option would be for parport_pc to somehow "know" what cards are
really multi-I/O ones, and only load parport_serial when it will be able to
find something to do. Doesn't seem all that appealing though.

>- parport_serial could be made to initialise successfully even if it
> doesn't see any devices that it can drive.

If you do that then the code will effectively be there all the time, even when
it's not needed. You might as well just compile it in to parport_pc. To be
honest, there isn't all that much of it so maybe this wouldn't be such a bad
idea.

p.

--==_Exmh_-1965377001P
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.5 (GNU/Linux)
Comment: Exmh version 2.1.1 10/15/1999 (debian)

iD8DBQE7OM1vVTLPJe9CT30RAieVAKCSROwbdtLuu6AP00yiRO59LvYYegCfQ0D/
cdU+j8nHBcQS0fF2uozZKcU=
=WLTX
-----END PGP SIGNATURE-----

--==_Exmh_-1965377001P--
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/