summaryrefslogtreecommitdiffstats
path: root/sys/dev/usb/usb_mem.h (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Do not overlay DMA fragment decriptors with free list handling.mpi2016-11-301-2/+4
| | | | | | | | | This "cleverness" increase the risk of races due to caching and/or prefetching between the HC and DMA engine. Many of the bug reports on bugs@ involving memory corruptions in usb_allocmem() should be easier to diagnose when not avoided with this change. From Marius Strobl, ok kettenis@
* Get rid of various 'typedef struct' definitions and use plain structuremglocker2013-04-151-6/+6
| | | | | | | | | 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@
* Add DMA sync operations. Fixes problems on macppc with gcc4 becausekettenis2010-09-291-1/+2
| | | | | | | apparently it reorders stores in a bad way. Mostly from NetBSD. earlier diff tested by landry@ (who noticed the problems on macppc) ok deraadt@
* First pass at removing clauses 3 and 4 from NetBSD licenses.ray2008-06-261-8/+1
| | | | | | | | | Not sure what's more surprising: how long it took for NetBSD to catch up to the rest of the BSDs (including UCB), or the amount of code that NetBSD has claimed for itself without attributing to the actual authors. OK deraadt@
* remove unused code and un-ifdefmartin2005-06-101-30/+1
| | | | ok dlg@
* Sync USB code with NetBSD.nate2003-07-081-9/+10
| | | | This includes numerous fixes and paves the way for usb 2.0 support.
* get rid of trailing whitespacenate2002-07-251-2/+2
|
* Sync with NetBSD. Too many changes to mention. For now I have skippedaaron2000-11-081-7/+4
| | | | umass.c and ukbd.c as the diffs are a bit hairier.
* sync with NetBSD... well almost. someone w/ the hw should check umass.fgsch2000-07-041-2/+2
|
* Much cleaner sync with NetBSD. Some #if defined() magic has been sent in theaaron2000-03-281-1/+2
| | | | | | form of a diff to augustss@netbsd.org so that future syncs will be very easy. This commit also adds support for ADMtek AN986 "Pegasus" based USB Ethernet, CATC USB-EL1210A based USB Ethernet, and USB Printers (all untested).
* Sync with NetBSD.aaron2000-03-261-3/+3
|
* sync with NetBSD.fgsch1999-11-071-4/+6
|
* Sync with NetBSD.fgsch1999-09-271-9/+4
|
* Sync with NetBSD;fgsch1999-08-271-4/+4
| | | | | | | Make sure not to call tsleep() from suspend/resume routine. Move more of the transfer completion processing to HC independent code. Fix some problems with transfer abort & timeout. Merge the soft_{td,qh} with the real {td,qh}. This saves time and space.
* From NetBSD; USB support.fgsch1999-08-131-0/+92