summaryrefslogtreecommitdiffstats
path: root/sys/dev/usb/usbf_subr.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Since USB xfer pools are accessed in interrupt context, initialize themmpi2014-08-101-3/+2
| | | | with the correct ipl to prevent your CPU from locking against itself.
* add a size argument to free. will be used soon, but for now default to 0.tedu2014-07-121-15/+15
| | | | after discussions with beck deraadt kettenis.
* Use the revision number for coherency. No object change.mpi2014-03-071-2/+2
|
* Get rid of various 'typedef struct' definitions and use plain structuremglocker2013-04-151-76/+76
| | | | | | | | | definitions instead. We don't change usb.h for now to stay compatible with userland. Tested by mpi@ on macppc and myself on i386. ok mpi@
* proc.h is way too much header for usb to handle.tedu2013-03-281-2/+1
|
* Get rid of __HAVE_GENERIC_SOFT_INTERRUPTS now that all our platforms support it.kettenis2009-11-041-7/+3
| | | | ok jsing@, miod@
* leak memory in the realloc function until we find out who has a pointerderaadt2008-12-011-1/+4
| | | | | | to it, otherwise as seen by sthen/matthieu in master mode: cdcef0 at usbf0: usbf_open_pipe failed ok miod
* Fix a memory leak in usbf_realloc(), and make the speed configuration arraymiod2008-06-101-2/+6
| | | | dynamically allocated. "commit please" deraadt@
* KNFgilles2007-09-111-8/+8
| | | | prompted and "much better" by marco@, ok pyr@
* more M_ZERO conversions; ok krw@.fgsch2007-09-091-15/+8
|
* Correct the length of the usb_string_descriptor_t and fix a possiblembalmer2007-07-271-4/+4
| | | | | | | | | buffer overflow. Problem found by (and original diff from) Marc Winiger <mw@msys.ch>, comment by me on jsg's request. ok jsg, claudio
* Replace the USB_USE_SOFTINTR macro with __HAVE_GENERIC_SOFT_INTTERUPTSmbalmer2007-06-151-14/+2
| | | | | | | | (which was used to define USB_USE_SOFTINTR). No binary changes. ok dlg, mk.
* unbreak tree after untested timeout.h deletionsderaadt2007-06-141-1/+2
|
* Remove the definition and use of the device_ptr_t which was a struct device *.mbalmer2007-06-121-6/+6
| | | | | | No binary change. ok mk.
* Remove the definiton and usage of the USB_DO_ATTACH macro. It was a wrappermbalmer2007-06-111-2/+2
| | | | | | around a single function only and it did not even use all of it's arguments. ok jsg.
* Remove the definition and use of the USBDEVNAME macro.mbalmer2007-06-101-2/+2
| | | | | | | (This might look easy, but it was a big diff. Thanks to dlg and especially jsg for looking over it; we found at least four mistakes in the initial diff.) ok jsg.
* Remove definitions and usage of usb_callout and related macros. These macrosmbalmer2007-06-101-6/+8
| | | | | | | | were used as a layer of confusion^Wabstraction around the timeout(9) API. No binary change. ok jsg.
* USB client mode with cdce function driver is coming along, RX and TX kinda work.drahn2007-02-131-2/+2
| | | | | | Limitations include failing to recieve packets that are a multiple of 64 bytes and sending packets longer than 128 bytes appears to be messed up. Work in progress.
* Several improvements to the usb client code. Still not working.drahn2007-02-071-3/+1
|
* Initial USB device controller (UDC) and USB CDC Ethernet function supportuwe2006-11-251-0/+1099
for PXA27x/Zaurus, not enabled yet; for dlg and dale :)