On 30/08/15(Sun) 09:31, John L. Scarfone wrote:
> On Sun, Aug 30, 2015 at 12:32:24PM +0200, Martin Pieuchot stated:
> > That's good but the original design of allocating an xfer for every
> > usbd_transfer(9) call does not make much sense.
> >
> > You could allocate two xfers (one for read and o
On Sun, Aug 30, 2015 at 12:32:24PM +0200, Martin Pieuchot stated:
> That's good but the original design of allocating an xfer for every
> usbd_transfer(9) call does not make much sense.
>
> You could allocate two xfers (one for read and one for write) at the
> same time the pipes are opened and
On 29/08/15(Sat) 16:33, John L. Scarfone wrote:
> fixes panic on attach/detach due to free list corruption, also use
> after usbd_free_xfer(), tested on i386
That's good but the original design of allocating an xfer for every
usbd_transfer(9) call does not make much sense.
You could allocate tw
fixes panic on attach/detach due to free list corruption, also use
after usbd_free_xfer(), tested on i386
~~~
Index: uow.c
===
RCS file: /cvs/src/sys/dev/usb/uow.c,v
retrieving revision 1.33
diff -u -p -s -r1.33 uow.c
--- uow.c