summaryrefslogtreecommitdiff
path: root/sys/dev/usb/usbdi_util.c
AgeCommit message (Expand)Author
2022-04-17usbdi(9): Make usb_desc_iter_next_interface reject truncated descs.riastradh
2022-04-17usbdi(9): Minor KNF and tidying in descriptor iteration.riastradh
2022-03-13usb: Parse descriptors a little more robustly.riastradh
2020-06-16remove unusedmaxv
2020-05-15It should be allowed to have exactly a usb_descriptor_t.maxv
2020-03-13PR/55068: sc.dying: Fix printf formats:christos
2020-02-16Improve the check, to prevent more surprises.maxv
2020-02-16Move usb_desc_* into usbdi_util.c, no functional change.maxv
2020-02-10Fix USB_DEBUG buildskrll
2020-02-08Move three functions into usbdi_util.c, where they belong. No functionalmaxv
2020-02-08Reorder usbdi_util.{c,h}, for clarity. No functional change.maxv
2020-02-08Introduce usbd_clear_endpoint_feature(), and dedup.maxv
2019-08-21convert pairs of USBHIST_CALLED()+USBHIST_LOG*() intomrg
2019-07-31 1) Make sure we have a complete endpoint descriptor header, otherwisemaxv
2019-02-07Remove (mostly useless) usb_detach_{broadcast,wait} and replace withskrll
2018-11-08Workaround PN533 USB descriptor corruptionmanu
2018-07-24 On detach, print error message with aprint_error_dev() instead of printf().msaitoh
2017-10-28Update the kernhist(9) kernel history code to address issues identifiedpgoyette
2017-10-22KNFskrll
2017-10-10Reorder to test for null before null deref in debug codemaya
2017-10-10Reorder to test for null before null deref in debug codemaya
2017-06-01remove checks for failure after memory allocation calls that cannot fail:chs
2016-04-23Merge nick-nhusbskrll
2015-03-27Add usbd_get_bos_desc{,_full} from Takahiro HAYASHIskrll
2014-09-12Improve USB debugging with USBHIST based on KERNHIST.skrll
2013-09-26Remove usbd_do_request_async. It's callback was calling usbd_free_xferskrll
2013-08-30Remove race introduced by using usbd_sync_transfer_sig with a callbackskrll
2013-08-24Fix typo in DPRINTFskrll
2013-01-05fix debug variables.christos
2013-01-05- need opt_usb.h if depending on USB_DEBUGchristos
2012-06-10merge the jmcneill-usbmp branch. many thanks to jared for themrg
2012-03-06pull down from usbmp branch:mrg
2010-11-03Stop using the compatibility macros USB_ATTACH(), USB_DETACH(),dyoung
2010-10-01From Anon Ymous:christos
2009-11-12usbd_do_request_flags(..., 0, 0, USBD_CONFIG_TIMEOUT) is equivalent touebayasi
2009-08-16Use a separately defined USBD_CONFIG_TIMEOUT when requesting a devicemartin
2008-05-26some cleanup:drochner
2008-04-28Remove clause 3 and 4 from TNF licensesmartin
2007-03-04Kill caddr_t; there will be some MI fallout, but it will be fixed shortly.christos
2007-02-26Define a usb_cdc_descriptor_t which contains the class specificdrochner
2006-11-16__unused removal on arguments; approved by core.christos
2006-10-12- sprinkle __unused on function decls.christos
2005-12-11merge ktrace-lwp.christos
2005-05-30make the definitions consistent with the declarations.christos
2005-04-12Add usb_find_desc_if(), which is similar to usb_find_desc(),itohy
2004-12-03Allow interrupt output devices. From FreeBSD.augustss
2004-10-23Make an iterator abstraction for looping through all descriptors.augustss
2002-07-11Get rid of trailing white space.augustss
2001-12-27Add usbd_get_protocol().augustss
2001-12-18Move utility routine from uirda.c to usbdi_util.c.augustss