| ★ wanayoo — archive 1999 http://www.kernelnotes.org/patch/21-p0737.html | Nouvelle recherche | Portail wanayoo |
|
Alain Knaff (Alain.Knaff@poboxes.com) Wed Aug 6 22:13:00 1997 |
[Home] [Linux 2.0] [Linux 2.1] [Information] [Software] [Distributions] [Links] |
|
The new parport code involves a hardware specific parport_xx modules, where xx names the platform. The lp module needs the presence of this module, although it is not "dependant" on it according to depmod. Because of this, kerneld can no longer automatically insert all parport modules.The following patch fixes this problem by adding a request_module call to the the function used to enumerate all physical paralell ports. A similar method has been used for the SCSI subsystem, which uses a similar module structure as the new paralell port code ( both low level host adapter drivers, and high level SCSI device drivers are inserted on top of the generic middle lever SCSI modules).
To use the, add the following line to your /etc/conf.modules:
alias parport_lowlevel parport_pc