Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. =================================================================== RCS file: /ftp/cvs/cvsroot/src/sys/dev/usb/if_upl.c,v rcsdiff: /ftp/cvs/cvsroot/src/sys/dev/usb/if_upl.c,v: warning: Unknown phrases like `commitid ...;' are present. retrieving revision 1.59.8.2 retrieving revision 1.60 diff -u -p -r1.59.8.2 -r1.60 --- src/sys/dev/usb/if_upl.c 2018/01/31 18:01:54 1.59.8.2 +++ src/sys/dev/usb/if_upl.c 2017/10/23 09:27:21 1.60 @@ -1,4 +1,4 @@ -/* $NetBSD: if_upl.c,v 1.59.8.2 2018/01/31 18:01:54 martin Exp $ */ +/* $NetBSD: if_upl.c,v 1.60 2017/10/23 09:27:21 msaitoh Exp $ */ /* * Copyright (c) 2000 The NetBSD Foundation, Inc. * All rights reserved. @@ -34,7 +34,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: if_upl.c,v 1.59.8.2 2018/01/31 18:01:54 martin Exp $"); +__KERNEL_RCSID(0, "$NetBSD: if_upl.c,v 1.60 2017/10/23 09:27:21 msaitoh Exp $"); #ifdef _KERNEL_OPT #include "opt_inet.h" @@ -442,7 +442,7 @@ upl_rx_list_init(struct upl_softc *sc) return ENOBUFS; if (c->upl_xfer == NULL) { int error = usbd_create_xfer(sc->sc_ep[UPL_ENDPT_RX], - UPL_BUFSZ, 0, 0, &c->upl_xfer); + UPL_BUFSZ, USBD_SHORT_XFER_OK, 0, &c->upl_xfer); if (error) return error; c->upl_buf = usbd_get_buffer(c->upl_xfer);