lkml.org 
[lkml]   [1999]   [Dec]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: 2.3.31: parport_lowlevel
Date
From
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/

\
 
 \ /
  Last update: 2005-03-22 13:55    [W:0.046 / U:0.072 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site