diff options
Diffstat (limited to 'sys/dev/usb/ucom.c')
-rw-r--r-- | sys/dev/usb/ucom.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/sys/dev/usb/ucom.c b/sys/dev/usb/ucom.c index 6f8d525..fbd49ee 100644 --- a/sys/dev/usb/ucom.c +++ b/sys/dev/usb/ucom.c @@ -340,7 +340,7 @@ ucomopen(dev_t dev, int flag, int mode, usb_proc_ptr p) &sc->sc_bulkin_pipe); if (err) { printf("%s: open bulk in error (addr %d): %s\n", - USBDEVNAME(sc->sc_dev), sc->sc_bulkin_no, + USBDEVNAME(sc->sc_dev), sc->sc_bulkin_no, usbd_errstr(err)); error = EIO; goto fail_0; @@ -722,7 +722,7 @@ ucom_dtr(struct ucom_softc *sc, int onoff) if (sc->sc_callback->ucom_set == NULL) return; - sc->sc_callback->ucom_set(sc->sc_parent, sc->sc_portno, + sc->sc_callback->ucom_set(sc->sc_parent, sc->sc_portno, UCOM_SET_DTR, onoff); } @@ -733,7 +733,7 @@ ucom_rts(struct ucom_softc *sc, int onoff) if (sc->sc_callback->ucom_set == NULL) return; - sc->sc_callback->ucom_set(sc->sc_parent, sc->sc_portno, + sc->sc_callback->ucom_set(sc->sc_parent, sc->sc_portno, UCOM_SET_RTS, onoff); } @@ -907,7 +907,7 @@ ucomstart(struct tty *tp) memcpy(sc->sc_obuf, data, cnt); DPRINTF(("ucomstart: %d chars\n", cnt)); - usbd_setup_xfer(sc->sc_oxfer, sc->sc_bulkout_pipe, + usbd_setup_xfer(sc->sc_oxfer, sc->sc_bulkout_pipe, (usbd_private_handle)sc, sc->sc_obuf, cnt, USBD_NO_COPY, USBD_NO_TIMEOUT, ucomwritecb); /* What can we do on error? */ @@ -1013,8 +1013,8 @@ ucomstartread(struct ucom_softc *sc) if (sc->sc_bulkin_pipe == NULL) return (USBD_NORMAL_COMPLETION); - usbd_setup_xfer(sc->sc_ixfer, sc->sc_bulkin_pipe, - (usbd_private_handle)sc, + usbd_setup_xfer(sc->sc_ixfer, sc->sc_bulkin_pipe, + (usbd_private_handle)sc, sc->sc_ibuf, sc->sc_ibufsize, USBD_SHORT_XFER_OK | USBD_NO_COPY, USBD_NO_TIMEOUT, ucomreadcb); |