patch-2.2.16 linux/drivers/block/paride/paride.c
Next file: linux/drivers/block/paride/pcd.c
Previous file: linux/drivers/block/md.c
Back to the patch index
Back to the overall index
- Lines: 18
- Date:
Wed Jun 7 14:26:42 2000
- Orig file:
v2.2.15/linux/drivers/block/paride/paride.c
- Orig date:
Tue Dec 22 08:29:00 1998
diff -urN v2.2.15/linux/drivers/block/paride/paride.c linux/drivers/block/paride/paride.c
@@ -20,6 +20,7 @@
#include <linux/module.h>
#include <linux/config.h>
+#include <linux/kmod.h>
#include <linux/types.h>
#include <linux/kernel.h>
#include <linux/ioport.h>
@@ -334,6 +335,9 @@
int lpts[7] = {0x3bc,0x378,0x278,0x268,0x27c,0x26c,0};
s = protocol; e = s+1;
+
+ if (!protocols[0])
+ request_module ("paride_protocol");
if (autoprobe) {
s = 0;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)