Date: Sun, 23 Dec 2007 09:14:24 GMT From: Hans Petter Selasky <hselasky@FreeBSD.org> To: Perforce Change Reviews <perforce@FreeBSD.org> Subject: PERFORCE change 131462 for review Message-ID: <200712230914.lBN9EOqR054060@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=131462 Change 131462 by hselasky@hselasky_laptop001 on 2007/12/23 09:13:23 Use the "cdce" USB template as default in USB device side mode until further. Affected files ... .. //depot/projects/usb/src/sys/dev/usb/usb_subr.c#78 edit Differences ... ==== //depot/projects/usb/src/sys/dev/usb/usb_subr.c#78 (text+ko) ==== @@ -1670,7 +1670,19 @@ } /* allow device time to set new address */ usbd_delay_ms(udev, USB_SET_ADDRESS_SETTLE); + } else { + + /* + * TODO: Make some kind of command that lets the user choose + * the USB template. + */ + err = usbd_temp_setup(udev, &usb_template_cdce); + if (err) { + PRINTFN(-1, ("setting up USB template failed\n")); + goto done; + } } + /* * Get the first 8 bytes of the device descriptor ! *
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200712230914.lBN9EOqR054060>