paride_protocol alias

From: Tim Waugh (twaugh@redhat.com)
Date: Mon Mar 20 2000 - 11:43:50 EST


Does anyone have any strong opinions about this patch? The idea is to
have something like bpck demand-loaded (if kmod is configured) when pcd
tries to initialises.

The current situation requires pre/post-install rules if you want to use
modules, and (for reasons outlined before on this list) that's not really
much good.

Tim.
*/

Index: linux/drivers/block/paride/paride.c
diff -u linux/drivers/block/paride/paride.c:1.1.1.2 linux/drivers/block/paride/paride.c:1.2
--- linux/drivers/block/paride/paride.c:1.1.1.2 Tue Oct 5 08:46:45 1999
+++ linux/drivers/block/paride/paride.c Mon Mar 20 16:40:24 2000
@@ -336,6 +336,9 @@
 
         s = protocol; e = s+1;
 
+ if (!protocols[0])
+ request_module ("paride_protocol");
+
         if (autoprobe) {
                 s = 0;
                 e = MAX_PROTOS;

-
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/



This archive was generated by hypermail 2b29 : Thu Mar 23 2000 - 21:00:30 EST