Il giorno 30/apr/2014 23.11, SASANO Takayoshi u...@mx5.nisiq.net ha
scritto:
Hello,
I found some debug messages need to be fixed in sys/dev/usb/umodem.c.
Can I commit the diff?
Ok dcoppa@
SASANO Takayoshi u...@mx5.nisiq.net
Index: umodem.c
===
RCS file: /cvs/src/sys/dev/usb/umodem.c,v
retrieving revision 1.55
diff -u -p -r1.55 umodem.c
--- umodem.c30 Jan 2014 20:37:03 - 1.55
+++ umodem.c30 Apr 2014 19:50:23 -
@@ -576,7 +576,7 @@ umodem_ioctl(void *addr, int portno, u_l
if (usbd_is_dying(sc-sc_udev))
return (EIO);
- DPRINTF((umodemioctl: cmd=0x%08lx\n, cmd));
+ DPRINTF((umodem_ioctl: cmd=0x%08lx\n, cmd));
switch (cmd) {
case USB_GET_CM_OVER_DATA:
@@ -590,7 +590,7 @@ umodem_ioctl(void *addr, int portno, u_l
break;
default:
- DPRINTF((umodemioctl: unknown\n));
+ DPRINTF((umodem_ioctl: unknown\n));
error = ENOTTY;
break;
}
@@ -601,7 +601,7 @@ umodem_ioctl(void *addr, int portno, u_l
void
umodem_dtr(struct umodem_softc *sc, int onoff)
{
- DPRINTF((umodem_modem: onoff=%d\n, onoff));
+ DPRINTF((umodem_dtr: onoff=%d\n, onoff));
if (sc-sc_dtr == onoff)
return;
@@ -613,7 +613,7 @@ umodem_dtr(struct umodem_softc *sc, int
void
umodem_rts(struct umodem_softc *sc, int onoff)
{
- DPRINTF((umodem_modem: onoff=%d\n, onoff));
+ DPRINTF((umodem_rts: onoff=%d\n, onoff));
if (sc-sc_rts == onoff)
return;