lkml.org 
[lkml]   [1999]   [Dec]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[patch] drivers/usb/usb.c: auto loading of USB bus driver
This would be my first attempt at this kinda thing.

Comments?

--
Lab tests show that use of micro$oft causes cancer in lab animals
diff -ruN 2.3.33/drivers/usb/usb.c 2.3.33_new/drivers/usb/usb.c
--- 2.3.33/drivers/usb/usb.c Fri Nov 26 10:43:15 1999
+++ 2.3.33_new/drivers/usb/usb.c Mon Dec 20 21:58:08 1999
@@ -52,6 +52,10 @@
{
struct list_head *tmp;

+#ifdef CONFIG_KMOD
+ if (list_empty(&usb_bus_list))
+ request_module("usb_adapter");
+#endif
if (new_driver->fops != NULL) {
if (usb_minors[new_driver->minor/16]) {
printk(KERN_ERR "Error registering %s driver\n",
\
 
 \ /
  Last update: 2005-03-22 13:55    [W:0.090 / U:0.628 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site