diff options
| author | Josef Karthauser <joe@FreeBSD.org> | 2002-08-16 12:13:26 +0000 |
|---|---|---|
| committer | Josef Karthauser <joe@FreeBSD.org> | 2002-08-16 12:13:26 +0000 |
| commit | a6103a945a1b136f8294569fdfc98bf9aaaa2007 (patch) | |
| tree | a91dd50fde8b043cb95ae9db98f670d2b969fbdc /sys/dev/usb | |
| parent | 99e5e6450432b70cd817fb4f9b957f5bcdbcb5f3 (diff) | |
Notes
Diffstat (limited to 'sys/dev/usb')
| -rw-r--r-- | sys/dev/usb/ulpt.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/sys/dev/usb/ulpt.c b/sys/dev/usb/ulpt.c index 6bd5ba3bc4757..2cbc6956aadc0 100644 --- a/sys/dev/usb/ulpt.c +++ b/sys/dev/usb/ulpt.c @@ -1,4 +1,4 @@ -/* $NetBSD: ulpt.c,v 1.48 2002/02/11 15:11:49 augustss Exp $ */ +/* $NetBSD: ulpt.c,v 1.50 2002/07/11 21:14:31 augustss Exp $ */ /* $FreeBSD$ */ /* @@ -177,7 +177,7 @@ USB_MATCH(ulpt) { USB_MATCH_START(ulpt, uaa); usb_interface_descriptor_t *id; - + DPRINTFN(10,("ulpt_match\n")); if (uaa->iface == NULL) return (UMATCH_NONE); @@ -205,14 +205,14 @@ USB_ATTACH(ulpt) usb_endpoint_descriptor_t *ed; u_int8_t epcount; int i, altno; - + DPRINTFN(10,("ulpt_attach: sc=%p\n", sc)); usbd_devinfo(dev, 0, devinfo); USB_ATTACH_SETUP; printf("%s: %s, iclass %d/%d\n", USBDEVNAME(sc->sc_dev), devinfo, ifcd->bInterfaceClass, ifcd->bInterfaceSubClass); - /* XXX + /* XXX * Stepping through the alternate settings needs to be abstracted out. */ cdesc = usbd_get_config_descriptor(dev); @@ -672,7 +672,7 @@ ulpt_do_write(struct ulpt_softc *sc, struct uio *uio, int flags) if (error) break; DPRINTFN(1, ("ulptwrite: transfer %d bytes\n", n)); - err = usbd_bulk_transfer(xfer, sc->sc_out_pipe, USBD_NO_COPY, + err = usbd_bulk_transfer(xfer, sc->sc_out_pipe, USBD_NO_COPY, USBD_NO_TIMEOUT, bufp, &n, "ulptwr"); if (err) { DPRINTF(("ulptwrite: error=%d\n", err)); |
