Hello !

besides some other drivers, there is usb-serial which always prints kernel 
messages containing path and module sourcefile information.

some (maybe worst case) example:

modprobe keyspan:
 usbcore: registered new interface driver usbserial
 drivers/usb/serial/usb-serial.c: USB Serial support registered for generic
 usbcore: registered new interface driver usbserial_generic
 drivers/usb/serial/usb-serial.c: USB Serial Driver core
 drivers/usb/serial/usb-serial.c: USB Serial support registered for Keyspan - 
(without firmware)
 drivers/usb/serial/usb-serial.c: USB Serial support registered for Keyspan 1 
port adapter
 drivers/usb/serial/usb-serial.c: USB Serial support registered for Keyspan 2 
port adapter
 drivers/usb/serial/usb-serial.c: USB Serial support registered for Keyspan 4 
port adapter
 usbcore: registered new interface driver keyspan
 drivers/usb/serial/keyspan.c: v1.1.5:Keyspan USB to Serial Converter Driver

modprobe -r keyspan:
 usbcore: deregistering interface driver keyspan
 drivers/usb/serial/usb-serial.c: USB Serial deregistering driver Keyspan - 
(without firmware)
 drivers/usb/serial/usb-serial.c: USB Serial deregistering driver Keyspan 1 
port adapter
 drivers/usb/serial/usb-serial.c: USB Serial deregistering driver Keyspan 2 
port adapter
 drivers/usb/serial/usb-serial.c: USB Serial deregistering driver Keyspan 4 
port adapter
 usbcore: deregistering interface driver usbserial_generic
 drivers/usb/serial/usb-serial.c: USB Serial deregistering driver generic
 usbcore: deregistering interface driver usbserial

from my admin`s point of view, "drivers/usb/serial/usb-serial.c" is useless 
clutter which generates an overhead of ~30% here and makes reading dmesg more 
difficult.

is there a special reason why there is a path to a sourcefile being printed 
here ?

what`s the advantage of having this and not just "usb-serial:" instead ?
can this probable be optimized (as most drivers only print  "drivername:" 
anyway) ?

regards
roland
_______________________________________________________________________
Jetzt neu! Schützen Sie Ihren PC mit McAfee und WEB.DE. 30 Tage
kostenlos testen. http://www.pc-sicherheit.web.de/startseite/?mc=022220

-
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to