summaryrefslogtreecommitdiff
path: root/sys/dev/usb/usb.c
AgeCommit message (Expand)Author
2018-11-18Use "%s", __func__ in DPRINTF() to reduce grep noise.Martin Pieuchot
2018-11-14free(9) sizes for configuration descriptors, missed in previous.Martin Pieuchot
2018-08-31remove shadow variables for 'error' in usbioctl(); ok mpi@ ratchov@miko
2018-05-01Simplify/refactor the way vendor/product/serial informations areLandry Breuil
2018-02-26Support dumping isochronous frames via bpf(4) using the USBPcap protocol.Martin Pieuchot
2018-02-19Add a default case to a usb_tap() switch statement which mpi@ says willJonathan Gray
2018-02-19Remove almost unused `flags' argument of suser().Martin Pieuchot
2018-02-03Add support for dumping USB transfers via bpf(4) using USBPcap headers.Martin Pieuchot
2017-07-29Remove useless conditional before free().ians
2017-07-21Do not permit USB ioctl handler malloc(9)'s to block as this interferesians
2017-04-08A pile of sizes to free(9). In test for a few days in snapshots.Theo de Raadt
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-22If usb_fill_udf_task() failed to fill the struct, udf_data stillAlexander Bluhm
2015-09-01Reject USB requests that could damage the bus integrity, just like itMartin Pieuchot
2015-03-14Remove some includes include-what-you-use claims don'tJonathan Gray
2015-02-10First step towards making uiomove() take a size_t size argument:Miod Vallat
2015-02-09Trim blank lines.Masao Uebayashi
2015-01-13Always allow abort tasks to be scheduled, even if the device is beeingMartin Pieuchot
2014-12-18If a host controller has been detached or reported a halt condition itMartin Pieuchot
2014-08-10Since USB xfer pools are accessed in interrupt context, initialize themMartin 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-11Be less verbose with task debug messages and kill some trailingMartin Pieuchot
2014-07-09autoconf(9) is your friend and it knows you more than you think. ItMartin Pieuchot
2014-05-28Apart from the early exploration done to find a console keyboard duringMartin Pieuchot
2014-05-11The relation between uhci(4), ohci(4) and their root hub device isMartin Pieuchot
2014-03-31Force the detach of all USB devices by disconnecting the root hubsMartin Pieuchot
2014-03-08Attach to host controller drivers advertising USB 3.0 support and assignMartin Pieuchot
2013-12-06Add a DVACT_WAKEUP op to the *_activate() API. This is called after theTheo de Raadt
2013-05-30Enforce ca_activate tree-walks over the entire heirarchy for all events,Theo de Raadt
2013-05-17Don't leak information to userland in case the actual transfer length isMartin Pieuchot
2013-04-26Give back to usb(4) what is usb(4)'s. In other words use the usb_* prefixMartin Pieuchot
2013-04-19Rename usbd_fill_*_task() to usb_fill_*_task().Marcus Glocker
2013-04-18Move over function prototypes from ubsdi.h to usb.c which just get usedMarcus Glocker
2013-04-17Add new ioctl command USB_DEVICE_GET_DDESC to usb(4) to retrieve theMarcus Glocker
2013-04-15Get rid of various 'typedef struct' definitions and use plain structureMarcus Glocker
2013-04-08Add new ioctl's USB_DEVICE_GET_CDESC and USB_DEVICE_GET_FDESC to usb(4).Marcus Glocker
2013-03-28proc.h is way too much header for usb to handle.Ted Unangst
2013-03-28you probably don't need to include vnode.h or reboot.h. you most definitelyTed Unangst
2013-03-16Remove the 4.8 version of the USB device info ioctl.Martin Pieuchot
2012-05-15Don't use a pointer to an opaque softc, we'll need to access its unitMartin Pieuchot
2012-05-12Returns different errors for USB_REQUEST if the address specifiedMartin Pieuchot
2012-01-28Force usb_needs_explore() at DVACT_RESUME time; from Alexander PolakovTheo de Raadt
2011-09-18usbdivar.h needs struct timeout. But don't get it indirectly viaKenneth R Westerback
2011-07-03Remove config_activate() and DVACT_ACTIVATE. PCMCIA's the only thingMatthew Dempsky
2011-04-28remove horrible abuse of kthread_create_deferred(9). this was beingJacob Meuser
2011-02-09bring back changes in usb.c revision 1.73Jacob Meuser
2011-02-09revert usb.c to r1.72, and all subsequent changes that depend on it.Jacob Meuser
2011-02-04* merge 'onqueue' and 'running' members of struct usb_task intoJacob Meuser