Date: Sun, 14 Dec 2008 23:24:00 +0000 (UTC) From: Poul-Henning Kamp <phk@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r186097 - head/sys/dev/usb Message-ID: <200812142324.mBENO0FE077037@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: phk Date: Sun Dec 14 23:24:00 2008 New Revision: 186097 URL: http://svn.freebsd.org/changeset/base/186097 Log: Make the tp pointer available for debugging. Modified: head/sys/dev/usb/ucom.c Modified: head/sys/dev/usb/ucom.c ============================================================================== --- head/sys/dev/usb/ucom.c Sun Dec 14 23:12:36 2008 (r186096) +++ head/sys/dev/usb/ucom.c Sun Dec 14 23:24:00 2008 (r186097) @@ -724,10 +724,12 @@ static void ucomreadcb(usbd_xfer_handle xfer, usbd_private_handle p, usbd_status status) { struct ucom_softc *sc = (struct ucom_softc *)p; + struct tty *tp = sc->sc_tty; usbd_status err; u_int32_t cc; u_char *cp; + (void)tp; /* Used for debugging */ DPRINTF(("ucomreadcb: status = %d\n", status)); if (status != USBD_NORMAL_COMPLETION) {
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200812142324.mBENO0FE077037>