Messages in this thread | | | Date | Fri, 19 Dec 2003 10:10:39 -0800 | From | Greg KH <> | Subject | Re: Fw: 2.6.0-test11 BK: sg and scanner modules not auto-loaded? |
| |
On Fri, Dec 19, 2003 at 11:03:57AM +1100, Rusty Russell wrote: > > Similar considerations apply to scanner: > > alias char-major-180-48 scanner > > Where did this alias come from? Of course, scanner.c could put in > such an alias, but is it really constant? If so, by all means add a > MODULE_ALIAS_CHARDEV() line in scanner.c. Otherwise, leave it to the > hotplug code.
Please just leave it up to the hotplug code to load such drivers as these. Also watch out, if you enable CONFIG_USB_DYNAMIC_MINORS then the usb scanner driver will NOT start at minor number 48, but will be dynamically created.
thanks,
greg k-h - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |