NetBSD/sys/external
riastradh 9fd32e5474 usb: Omit bogus assertions about struct usbd_pipe::up_intrxfer.
These assertions were only valid for pipes at UE_IN_DIR, UE_INTERRUPT
endpoints created with usbd_open_pipe_intr, which uses up_intrxfer to
pass the struct usbd_xfer object to usbd_close_pipe to free later.

In contrast, for pipes at UE_OUT_DIR, UE_INTERRUPT endpoints,
up_intrxfer is never initialized, so the assertion cannot be right.
In principle we might even have more than one outstanding interrupt
transfer at a time, rendering the point of the assertion moot anyway.

Found by interrupting a uhidev write to a u2f device.

ok nick
2020-12-22 01:07:23 +00:00
..
bsd usb: Omit bogus assertions about struct usbd_pipe::up_intrxfer. 2020-12-22 01:07:23 +00:00
gpl2/dts
isc interupt -> interrupt 2020-12-16 19:49:04 +00:00
mit/xen-include-public/dist/xen/include/public Always enable declarations needed by privcmd.c 2020-05-26 10:36:20 +00:00