summaryrefslogtreecommitdiffstats
path: root/sys/dev/usb/usb_mem.c
Commit message (Collapse)AuthorAgeFilesLines
* Make it easier to run this code on RELENG_4.joe2003-10-041-1/+9
| | | | Submitted by: luoqi
* fix another bus_dma leak due to not having a size param for our bus_dmajmg2003-07-291-0/+2
| | | | | | | allocation function. With this patch, it prevents continous growth of the devbuf memory pool. Tested with ssh <host> dd of=/dev/null < /dev/zero and vmstat -m | grep devbuf
* Fix a 64 bit bug lost in the inline warning noise. sizeof is not alwayspeter2003-07-221-1/+1
| | | | an int. Do not printf() it as though it were.
* override the tag. usb_block_allocmem allocates a new tag, which when wejmg2003-07-211-1/+5
| | | | | | | | | go looking for free fragments won't match. Since we never free this, we can "throw away" the tag. This is very dirty, and needs to be reimplemented properly, but fixes performance problems with uhci. Also assert that when we overlay a structure on some space, that the space is large enough for the structure.
* make usb bus_dma aware.jmg2003-07-151-0/+294
Reviewed by: joe among others
OpenPOWER on IntegriCloud