summaryrefslogtreecommitdiff
path: root/sys/dev/usb/usb_subr.c
AgeCommit message (Expand)Author
2022-02-16Currently, wskbd_set_mixervolume() only adjusts the volume of the firstAnton Lindqvist
2022-01-09spellingJonathan Gray
2021-12-04Consolidate error paths in usbd_new_device, shaving of 14 lines.Anton Lindqvist
2021-02-24remove unused usbd_get_device_string()Jonathan Gray
2021-02-01Align the mixed naming for the variables used to reference toMarcus Glocker
2021-01-27The usb configuration descriptor parameter providing the number ofMarcus Glocker
2020-08-27usbd_get_cdesc() returns usb_config_descriptor_t *. Therefore returnMarcus Glocker
2020-07-31Nuke all occurrences of usbd_abort_pipe() if it gets called rightMarcus Glocker
2019-10-06tsleep(9) to tsleep_nsec(9) conversions.Martin Pieuchot
2019-06-24Don't retry to get the usb descriptor in usbd_new_device() if the callClaudio Jeker
2019-02-17Publish new attached device once it is fully initialized.Martin Pieuchot
2019-01-22Remove unused variable.Martin Pieuchot
2018-11-27Free sizes for the subdevs array.Martin Pieuchot
2018-11-20Revert free sizes for `subdevs' array, it is incorrect.Martin Pieuchot
2018-11-18More uses of __func__ in debug printfs.Martin Pieuchot
2018-11-18Use "%s", __func__ in DPRINTF() to reduce grep noise.Martin Pieuchot
2018-11-17free(9) size for USB subdevs array.Martin Pieuchot
2018-11-16free(9) sizes for array of interfaces.Martin Pieuchot
2018-11-14free(9) sizes for configuration descriptors.Martin Pieuchot
2018-11-10free(9) sizes for endpoints array.Martin Pieuchot
2018-07-19Reuse implicit padding to export the port number of a USB device inMartin Pieuchot
2018-07-10Change USB_DEVICEINFO to report USB port status/changes as currentlyMartin Pieuchot
2018-05-01Simplify/refactor the way vendor/product/serial informations areLandry Breuil
2018-04-24Fill the 'card' member of v4l2_capability struct with the usb productLandry Breuil
2017-04-08A pile of sizes to free(9). In test for a few days in snapshots.Theo de Raadt
2017-04-053 more mallocarray() usesTheo de Raadt
2017-03-26Add sizes to various free(9) calls. Fixing the simpler ones first.Theo de Raadt
2016-09-19Correctly check for valid maximum packet size.Martin Pieuchot
2016-09-19``bMaxPacketSize'' is reported as a power of 2 for super speed devicesMartin Pieuchot
2016-09-18Ensure that the device descriptor ``bMaxPacketSize'' value is usableMartin Pieuchot
2016-09-12Split usbd_fill_iface_data() in two and introduce usbd_parse_idesc() aMartin Pieuchot
2016-09-02Pass M_ZERO when allocating memory for "struct usbd_endpoint".Martin Pieuchot
2016-09-02Cleanup usbd_fill_iface_data() to make it easier to check for badMartin Pieuchot
2016-09-02Do not free the configuration descriptor without setting ``dev->cdesc''Martin Pieuchot
2016-09-02Prevent a NULL dereference, triggerable with a crafted configurationMartin Pieuchot
2016-05-23Get rid of usbd_get_device_strings() because we use it only once.Martin Pieuchot
2016-05-21Free the cache if the string cannot be retrieved. This allows thePatrick Wildt
2016-05-18Cache vendor, product and serial info for each usb device. This allowsPatrick Wildt
2016-03-03Convert uiomovei to uiomove. Fixes a few integer truncations along theStefan Kempf
2016-01-14Prevent a NULL dereference when detaching a USB device with ugen(4)Martin Pieuchot
2015-10-24Wait a short while between setting a USB device's address and reloadingStefan Sperling
2015-03-23Return an error if getting the config descriptor failed.Jonathan Gray
2014-12-21Always clear a port reset feature after setting it, or at least try to.Martin Pieuchot
2014-12-13yet more mallocarray() changes.Doug Hogan
2014-12-09More malloc() -> mallocarray() in the kernel.Doug Hogan
2014-11-10Remove USB locators. They are currently unused and this wont change dueMartin Pieuchot
2014-11-01Remove the port status argument from usbd_reset_port(). We don't doMartin Pieuchot
2014-11-01Use usbd_set_port_feature() instead of rerolling it.Martin Pieuchot
2014-10-05Do not re-establish the default pipe twice for every controller. MoveMartin Pieuchot
2014-10-01Check that the speed of a new device does not exceed its parent's speedMartin Pieuchot