summaryrefslogtreecommitdiff
path: root/sys/dev/usb/ugen.c
AgeCommit message (Expand)Author
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
2011-07-02kqueue attach functions should return an errno or 0, not a plain 1. FixNicholas Marriott
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
2010-09-24remove dying flag in detach() function.Yojiro Uo
2009-11-09Every selwakeup() should have a matching KNOTE() (even if kqueue isn'tNicholas Marriott
2009-10-31Add missing KNOTE() calls after selwakeup(), until we decide if the KNOTE()Theo de Raadt
2009-10-13Get rid of devact enum, substitute it with an int and coresponding defines.Paul Irofti
2009-07-19clalloc() can't fail, so there's no need to handle failure cases.Bret Lambert
2009-06-05catch up NetBSD kern/41048.Yojiro Uo
2008-12-14o Correctly clear UGEN_ASLP in all cases.Federico G. Schwindt
2008-09-08- don't leave nodes unconfigured, when setting alternate settingMartynas Venckus
2008-06-26First pass at removing clauses 3 and 4 from NetBSD licenses.Ray Lai
2008-06-14remove #ifdef __macppc__ due to a misunderstanding:Todd T. Fries
2007-10-20Remove unneeded scope declarations that shadows existing ones. krw@ okFederico G. Schwindt
2007-10-11treat usb vendor/product names as a locator, and have usbd_print handle it,Theo de Raadt
2007-06-29respect timeouts. prompted by freebsd pr110122, but also proplerlyHenning Brauer
2007-06-14Remove the definition and usage of the USB_DECLARE_DRIVER_CLASS andMarc Balmer