Re: 2.3.31: parport_lowlevel

Philip Blundell (Philip.Blundell@pobox.com)
Sun, 12 Dec 1999 20:50:33 +0000


Steve Dodd wrote:
>On Sun, Dec 12, 1999 at 01:11:35PM -0500, Tim Waugh wrote:
>
>> It's a bit of both. The parport_lowlevel alias shouldn't really be used
>> any more, and instead the following line in modules.conf ought to take its
>> place:
>>
>> post-install parport /sbin/modprobe -k parport_pc
>>
>> (adjust for your architecture). In 2.4, though, the intention is that the
>> alias will still work but will trigger a warning message.
>
>I've always viewed the post-install thing as a bit of a hack -- I admit I
>don't have any concrete reasons for thinking this, though. Is there no way
>of making things work under the existing scheme? Or perhaps adding features
>to the dependency analysis done by depmod and friends?

Not really. It's an equivalent problem to automatically loading the driver
for your particular SCSI card -- the kernel doesn't know what sort of parallel
ports you have, and neither do depmod or modprobe. The old scheme was even
more of a hack, in my opinion.

We could add some magic to modutils to let you say "pretend that module X
depends on module Y". This would possibly be a tiny bit neater than using
post-install but I don't think it really buys anything.

p.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/