summaryrefslogtreecommitdiff
path: root/sys/dev/usb/ugen.c
AgeCommit message (Expand)Author
2021-02-05Prevent that when ugen(4) tries to set an alternative configurationMarcus Glocker
2021-02-01Align the mixed naming for the variables used to reference toMarcus Glocker
2021-01-28Be consistent in not using parameter names for function prototypes;Marcus Glocker
2021-01-27The usb configuration descriptor parameter providing the number ofMarcus Glocker
2021-01-27Be consistent in not using parameter names for function prototypes.Marcus Glocker
2021-01-25Resolve data toggle out of sync problem for ugen(4) and uhidev(4) devicesMarcus Glocker
2020-12-25Refactor klist insertion and removalVisa Hankala
2020-09-29Set the correct length before copying to userland.Martin Pieuchot
2020-09-02Don't rely on wTotalLength for usbd_get_cdesc() malloc/free but on theMarcus Glocker
2020-05-13Use seltrue_kqfilter() instead of hand-rolling it in multiple drivers.Martin Pieuchot
2020-04-07Abstract the head of knote lists. This allows extending the lists,Visa Hankala
2020-04-03Fix incoherencies of errors returned by various *kqfilter routines.Martin Pieuchot
2020-02-22use the UE_GET_XFERTYPE macro where applicableJasper Lievisse Adriaanse
2020-02-20Replace field f_isfd with field f_flags in struct filterops to allowVisa Hankala
2020-01-04Convert sleep to tsleep_nsec(9) and use unique sleeping identifiers.Martin Pieuchot
2019-12-31Use C99 designated initializers with struct filterops. In addition,Visa Hankala
2018-11-14free(9) sizes for configuration descriptors.Martin Pieuchot
2018-05-01Simplify/refactor the way vendor/product/serial informations areLandry Breuil
2017-12-30Don't pull in <sys/file.h> just to get fcntl.hPhilip Guenther
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-24Kill unused ioctl(2)s.Martin Pieuchot
2016-03-17'miliseconds' -> 'milliseconds' in comments.Kenneth R Westerback
2016-03-03Convert uiomovei to uiomove. Fixes a few integer truncations along theStefan Kempf
2015-10-19Revert transfer submission to r1.85. Seems to make okan@'s scannerMartin Pieuchot
2015-10-13Prevent a NULL-pointer dereference when closing a ugen(4) nodeMartin Pieuchot
2015-09-15Fix kpanic I found the hard way while using pcsc-liteDavid Coppa
2015-09-07Do not set USBD_NO_COPY for interrupt transfers, only bulk transfersMartin Pieuchot
2015-09-04Do not use an intermediary buffer on the stack of the caller whenMartin Pieuchot
2015-09-03Do not use an intermediary buffer on the stack of the caller whenMartin Pieuchot
2015-07-10Do not use usbd_endpoint_count() and usbd_interface_count(), thesesMartin Pieuchot
2015-06-15Set the length of isochronous transfers as the sum of the frames lengths.Martin Pieuchot
2015-05-25Prevent a use after free in by closing all open endpoints upon detach.Martin 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-01-11use mallocarray()Theo de Raadt
2014-07-12tedu another bunch of DVACT_DEACTIVATE handlers that do nothing but setMartin Pieuchot
2014-07-12add a size argument to free. will be used soon, but for now default to 0.Ted Unangst
2014-07-11Fix debug printf formating and kill some trailing whitespaces while here.Martin Pieuchot
2013-11-19Kill matchlvl usage throughout the usb stack.Paul Irofti
2013-11-06Replace sc_dying in favour of usbd_is_dying() and usbd_deactivate().Paul Irofti
2013-11-02Begin conversion of USB stack to return int instead of usbd_status,Jeremy Evans
2013-09-20Unify and document usbd_transfer(9).Martin Pieuchot
2013-05-17Don't leak information to userland in case the actual transfer length isMartin Pieuchot
2013-04-15Get rid of various 'typedef struct' definitions and use plain structureMarcus Glocker
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
2011-12-07Avoid kernel crash by removing double clfree() on endpoint closing forMarcus Glocker
2011-10-14Return EINVAL when there's no config descriptor for a given index.Martin Pieuchot
2011-07-03Remove config_activate() and DVACT_ACTIVATE. PCMCIA's the only thingMatthew Dempsky