summaryrefslogtreecommitdiff
path: root/sys/dev/usb/usb_subr.c
AgeCommit message (Expand)Author
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
2014-08-10Do not allocate space for the whole structure when we just want to storeMartin Pieuchot
2014-08-09Do not store the whole USB hub descriptor in the "struct usbd_hub"Martin Pieuchot
2014-07-12add a size argument to free. will be used soon, but for now default to 0.Ted Unangst
2014-07-12Remove incorrect comment about how autoconf(9) works and documentMartin Pieuchot
2014-07-12Only detach the USB device you disconnected, fix a regression reportedMartin Pieuchot
2014-07-10Always assign the device address found by the USB stack even if itMartin Pieuchot
2014-07-09autoconf(9) is your friend and it knows you more than you think. ItMartin Pieuchot
2014-07-09Adds an optional bus function to set the address of a new device andMartin Pieuchot
2014-03-08Pass M_ZERO to malloc(9) when allocating usbd pipes to make sure toMartin Pieuchot
2014-03-07Print the wrong device descriptor's bMaxPacketSize before correcting itMartin Pieuchot
2014-02-09Make sure to close the default pipe before re-opening it when we wantMartin Pieuchot
2014-02-09Do not allow to unconfigure a device by setting the configurationMartin Pieuchot