summaryrefslogtreecommitdiff
path: root/sys/dev/usb/usb_subr.c
AgeCommit message (Expand)Author
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
2014-01-15Remove a hack to update the address and packet length for every deviceMartin Pieuchot
2013-11-19Kill matchlvl usage throughout the usb stack.Paul Irofti
2013-11-02Remove a layer of abstraction for fetching a configuration descriptor.Martin Pieuchot
2013-08-21Unswap address and configuration value arguments in a debug printf.Martin Pieuchot
2013-08-13Remove bogus and useless refcounting of usbd pipes that could lead toMartin Pieuchot
2013-08-08These functions should only used in the usb-autoconf glue, do not exposeMartin Pieuchot
2013-08-08Use the same functions to abort and close the control pipe of a deviceMartin Pieuchot
2013-04-15Get rid of various 'typedef struct' definitions and use plain structureMarcus Glocker
2013-04-10Merge usbd_get_device_desc() into the only function using them.Martin Pieuchot
2013-04-10Merge usb_devinfo* helper functions into usbd_print(), nothing else useMartin Pieuchot
2013-04-09There's no need for usbd_get_config_desc_full() so just call usbd_get_desc()Martin Pieuchot
2013-04-01Make ugen_get_cdesc() a generic function by renaming it to usbd_get_cdesc()Marcus Glocker
2013-03-28proc.h is way too much header for usb to handle.Ted Unangst
2013-03-16No need for two similar functions to free/remove USB device descriptors.Martin Pieuchot
2012-05-15Set the usb(4) unit number as bus number. This fixes a possibleMartin Pieuchot
2012-01-08Remove usb_event_cookie_t type and instances of it found in various structs;Miod Vallat
2011-01-25garbage collect "usb events". without /dev/usb there is no way to accessJacob Meuser
2011-01-16* instead of NULLing pointers to interface descriptors in the uaa, markJacob Meuser
2011-01-15* add 'udi_serial' to struct usb_device_info.Jacob Meuser
2010-12-17- use nitems()Jasper Lievisse Adriaanse
2010-12-15don't delay if the device is dyingJacob Meuser
2010-12-06call config_deactivate() before config_detach() when detaching devices.Jacob Meuser
2010-09-24tsleep on a static and private handle, since our goal is to not beTheo de Raadt
2009-01-14cap device's speed to the parent's one if higher. from FreeBSD.Federico G. Schwindt
2008-11-24change a device descriptor get logic during the enumeration process.Yojiro Uo
2008-08-03revert part of rev. 1.65 where we set the address earlier. this seemsFederico G. Schwindt
2008-07-28When getting the string descriptors, fetch 2 bytes (size and type) first,Federico G. Schwindt
2008-06-29add usb2.0 to usb1.1(ohci/uchi) handover request to usb subsystem.Yojiro Uo
2008-06-26First pass at removing clauses 3 and 4 from NetBSD licenses.Ray Lai
2008-06-21print vendor and product in hexa on debug.Federico G. Schwindt
2008-05-19do not leak memory if there is no power source. code is ifdef USB_DEBUG.Federico G. Schwindt
2008-05-19try a few times before giving up while getting the device descriptor. ifFederico G. Schwindt
2007-11-04improve/repair locator printing; ok jsgTheo de Raadt
2007-10-11treat usb vendor/product names as a locator, and have usbd_print handle it,Theo de Raadt
2007-10-11serialize usbd_probe_and_attach(); only let one usb device be match'd andTheo de Raadt
2007-10-06Simpliest memset(,0,) -> M_ZERO changes. One (caddr *) cast removal,Kenneth R Westerback
2007-09-11KNFGilles Chehade
2007-09-09add string length arguments to some functions, and do not copy a stringTheo de Raadt
2007-09-09more M_ZERO conversions; ok krw@.Federico G. Schwindt
2007-07-21no need to say in two ways "a set of usb devices went away"; ok by a fewTheo de Raadt
2007-06-12Remove the definition and use of the device_ptr_t which was a struct device *.Marc Balmer
2007-06-11Remove the definiton and usage of the USB_DO_ATTACH macro. It was a wrapperMarc Balmer
2007-06-10Get rid of the USBDEVPTRNAME macro.Marc Balmer
2007-06-10Remove the definition and use of USBDEVUNIT.Marc Balmer
2007-06-10Remove the definition and use of the USBDEVNAME macro.Marc Balmer
2007-06-05Remove the "Static" declaration of many functions. It was defined to be emptyMarc Balmer