Date: Fri, 28 Jun 2019 10:52:08 +0200 From: Hans Petter Selasky <hps@selasky.org> To: Stephane D'Alu <stephane.dalu@gmail.com>, freebsd-usb@freebsd.org Subject: Re: Implemeting xbox one controller on uhid Message-ID: <82bb4997-b016-8805-ab21-2649b113a5c6@selasky.org> In-Reply-To: <928ffe72-93d7-3518-5e65-1940f2e07398@gmail.com> References: <ff5b0e3e-1929-e4f3-3e64-4c413b5464d1@gmail.com> <342406ee-c51e-0691-5560-4f49de90c83f@selasky.org> <b425fdeb-654d-f49a-ac9e-7a558f2c2bd0@gmail.com> <d005567f-c069-9f10-e4d9-5e700a0cd185@selasky.org> <928ffe72-93d7-3518-5e65-1940f2e07398@gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On 2019-06-27 21:08, Stephane D'Alu wrote: > Is it allowed to: > > - create/use several usb_xfer for the same type/endpoint/direction Yes, they will be serialized in the submitted order. > - in the callback (usb_config) to write several packets > (multiple call to usbd_transfer_submit), with the same page_cache? Yes, no problem. The buffer is freed once you free the USB transfer. --HPS
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?82bb4997-b016-8805-ab21-2649b113a5c6>