From: Greg KH <gr...@kr...> - 2003-02-07 06:24:26
|
On Thu, Feb 06, 2003 at 12:08:44PM -0500, Johannes Erdfelt wrote: > On Thu, Feb 06, 2003, Boris Duerner <Mar...@st...> wrote: > > I use the usb_get_driver_np() function to get the name of the loaded driver > > for a usb device and I found that for a device using the usbmouse module the > > wrong driver name is returned. It gives me "usb_mouse" instead of usbmouse. > > the driver name is also wrong in /proc/bus/usb/drivers but correct in lsmod > > or /proc/modules resp. > > The driver name in /proc/bus/usb/drivers is given differently than from > /proc/modules. > > I'm not exactly sure why the names are seperate, but it leads to > situations like this where the names won't match for seemingly no good > reason. The usbkbd driver was even worse, giving it's name as "keyboard". > > Greg, can you apply this patch to 2.4? My 2.5 bk tree is a little messed > up and I need to fix it before I can create a 2.5 patch. (Hopefully > today) Applied, thanks. greg k-h |