X-Git-Url: https://repo.or.cz/davej-history.git/blobdiff_plain/ec0de48af6cf284ebefcb9c0267e0ac1bef05f6e..9af6f6e4860e86507da2d470dd6a3bee34bf58c2:/drivers/usb/usb.h diff --git a/drivers/usb/usb.h b/drivers/usb/usb.h index 469aa3588..7044bcf96 100644 --- a/drivers/usb/usb.h +++ b/drivers/usb/usb.h @@ -372,7 +372,8 @@ enum { current callback function ret. values */ CB_REUSE, /* leave descriptors as NULL, not active */ CB_RESTART, /* leave descriptors as they are, alive */ - CB_ABORT /* kill this USB transfer request */ + CB_ABORT, /* kill this USB transfer request */ + CB_CONT_RUN /* append the isoc_desc at the end of all active isoc_desc */ }; struct isoc_frame_desc { @@ -406,6 +407,7 @@ struct usb_isoc_desc { usb_device_irq callback_fn; void *data; int buf_size; + struct usb_isoc_desc *prev_isocdesc; /* previous isoc_desc, for CB_CONT_RUN */ /* * The following fields are set by the usb_run_isoc() call. */