summaryrefslogtreecommitdiffstats
path: root/sys/dev/usb/usb_subr.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* backout the original method of reattaching a usb device now that we havedlg2004-12-121-37/+2
| | | | something better and more flexible to use.
* ugly ugly hack to allow a usb device to do a full reset of the port duringdlg2004-11-081-2/+38
| | | | | | | | | attach. this is required by atu (atmel based usb wireless) devices. something better will be done, but we need it for now to work on atu. ok deraadt@
* fix getting strings off a device which broke with the removal of thedlg2004-11-021-2/+2
| | | | UQ_NO_STRINGS quirk.
* from netbsd via freebsd via jsg@dlg2004-10-311-8/+21
| | | | | | | | | | | | | | | usbdi_util.h (1.29), uhid.c (1.62), ugen.c (1.68), usb_subr.c (1.114) Yes, some devices return incorrect lengths in their string descriptors. Rather than losing, do what Windows does: just request the maximum size, and allow a shorter response. Obsoletes the need for UQ_NO_STRINGS, and therefore these "quirks" are removed. usb_subr.c (1.116) In the "seemed like a good idea until I found the fatal flaw" department... Attempting to read a maximum-size string descriptor causes my kue device to go completely apeshit. So, go back to the original method, but allow the device to return a shorter string than it claimed.
* Remove 'usb_'realloc() usage because it doesn't know the size of the olddrahn2004-08-301-15/+1
| | | | | buffer, thus may copy too much, causing a memory fault. ok millert, dlg, henning, tdeval, otto
* put "do { } while (0)" wrappers on all the debug maroc functionsderaadt2004-07-081-3/+3
|
* Sync USB code with NetBSD.nate2003-07-081-24/+74
| | | | This includes numerous fixes and paves the way for usb 2.0 support.
* try a little harder to attach devices that are really slownate2003-05-181-3/+4
|
* string cleanup; nate okderaadt2003-05-071-14/+23
|
* strcpy/sprintf cleanup of sys/dev. miod@, deraadt@ says to commit.ho2003-04-271-5/+7
|
* get rid of trailing whitespacenate2002-07-251-22/+22
|
* Meant to commit only ulpt and committed everything. Most things weren't readynate2002-05-071-59/+21
|
* Sync ulpt driver with NetBSDnate2002-05-071-21/+59
|
* prefix structure members to avoid name clashes.nate2002-05-021-22/+22
| | | | From NetBSD
* Synchronize usb code with NetBSD.nate2001-10-311-43/+48
|
* contify usbdevs a littlemickey2001-03-221-11/+13
|
* Another USB sync with NetBSD. We are still lacking an up-to-date umass(4)aaron2001-01-281-11/+32
| | | | | | driver. I would appreciate it if someone with the hardware looked into it. I also have to take a closer look at changes to the USB Ethernet drivers, as well as import some drivers we are missing (uftdi, if_upl, yap, etc.)
* re-arrange tables as pcidevs was changed; huge space savingsderaadt2001-01-271-18/+26
|
* Sync with NetBSD. Too many changes to mention. For now I have skippedaaron2000-11-081-132/+84
| | | | umass.c and ukbd.c as the diffs are a bit hairier.
* Put back a fix that fgsch@ whacked during the last NetBSD USB sync:aaron2000-09-071-2/+2
| | | | If the vendor name is NULL, do not output a leading space; reported by deraadt@
* sync with NetBSD... well almost. someone w/ the hw should check umass.fgsch2000-07-041-19/+38
|
* Sync with NetBSD.aaron2000-04-141-28/+35
|
* If the vendor name is NULL, do not output a leading space; reported by deraadt@aaron2000-04-081-2/+2
|
* Sync with NetBSD. USB Ethernet drivers should work now.aaron2000-03-301-15/+16
|
* Much cleaner sync with NetBSD. Some #if defined() magic has been sent in theaaron2000-03-281-34/+50
| | | | | | 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-150/+195
|
* sync with NetBSD.fgsch1999-11-071-33/+54
|
* Sync with NetBSD.fgsch1999-09-271-28/+83
|
* Sync with NetBSD;fgsch1999-08-271-64/+50
| | | | | | | 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.
* Sync with NetBSD.fgsch1999-08-191-11/+7
|
* Sync with NetBSD. Mostly FreeBSD related changes.fgsch1999-08-161-3/+3
| | | | Diffs sent to augustsson.
* From NetBSD; USB support.fgsch1999-08-131-0/+1203