2001-04-09 13:29:38

by Bjorn Wesen

[permalink] [raw]
Subject: parport initialisation

Hi,

regarding drivers/parport/*

is there any particular reason as to why the different parport drivers
aren't initialized using module_init() ? Like weird init order
dependencies and stuff.

Looking at parport_init itself (which has hardcoded init calls to the
different drivers right now) it does not look like it does anything
particularly special except some proc filesystem registering.

Is it just because nobody has gotten around to "fixing" it or is there a
deeper reason ?

Regards
Bjorn


2001-04-09 13:39:23

by Tim Waugh

[permalink] [raw]
Subject: Re: parport initialisation

On Mon, Apr 09, 2001 at 02:13:10PM +0200, Bjorn Wesen wrote:

> Is it just because nobody has gotten around to "fixing" it or is there a
> deeper reason ?

There's no deeper reason. But there are dependencies involved:
parport needs to be initialised before any parport lowlevel drivers,
and they need to be initialised before things like lp and ppdev.

Tim.
*/


Attachments:
(No filename) (363.00 B)
(No filename) (232.00 B)
Download all attachments