summaryrefslogtreecommitdiffstats
path: root/sys/dev/usb/ugen.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* from netbsd via freebsd via jsg@dlg2004-10-311-2/+5
| | | | | | | | | | | | | | | 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.
* from freebsd, ugen.c 1.68 usbdi_util.c 1.27 usbdi_util.h 1.15dlg2004-07-211-1/+32
| | | | | | | | log message: Implement outgoing interrupt pipes. It is part of the USB 1.1 spec. The Lego Infrared Tower use it. ok deraadt@
* put "do { } while (0)" wrappers on all the debug maroc functionsderaadt2004-07-081-3/+3
|
* kqueue support for various usb devices including: usb, uhid, ugen,nate2003-06-271-2/+128
| | | | | and uscanner From NetBSD
* string cleanup; nate okderaadt2003-05-071-2/+2
|
* sync with NetBSDnate2002-11-111-8/+18
|
* update $NetBSD$ tagsnate2002-07-251-2/+2
|
* get rid of trailing whitespacenate2002-07-251-7/+7
|
* no provate cdev_decl()s, they are in sys/conf.h nowmickey2002-07-101-2/+2
|
* sync with NetBSDnate2002-07-091-75/+90
|
* make the timeout a function parameternate2002-07-091-2/+3
| | | | From NetBSD
* Meant to commit only ulpt and committed everything. Most things weren't readynate2002-05-071-92/+76
|
* Sync ulpt driver with NetBSDnate2002-05-071-76/+92
|
* prefix structure members to avoid name clashes.nate2002-05-021-42/+42
| | | | From NetBSD
* Synchronize usb code with NetBSD.nate2001-10-311-12/+27
|
* occured->occurredmpech2001-09-201-2/+2
| | | | | idea from deraadt@ via NetBSD millert@ ok
* Sync with NetBSD. Tested with a USB keyboard, USB mouse, and three differentaaron2001-05-031-2/+2
| | | | kue(4) Ethernet devices.
* Another USB sync with NetBSD. We are still lacking an up-to-date umass(4)aaron2001-01-281-2/+2
| | | | | | 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.)
* be consistant w/ ugenwrite on dprintf; aaron@ okmickey2000-11-211-4/+2
|
* Sync with NetBSD. Too many changes to mention. For now I have skippedaaron2000-11-081-87/+209
| | | | 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-3/+4
|
* Sync with NetBSD. USB Ethernet drivers should work now.aaron2000-03-301-19/+19
|
* Much cleaner sync with NetBSD. Some #if defined() magic has been sent in theaaron2000-03-281-51/+53
| | | | | | 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-113/+144
|
* sync with NetBSD.fgsch1999-11-071-26/+45
|
* Sync with NetBSD.fgsch1999-09-271-18/+24
|
* sync with NetBSD;fgsch1999-08-311-3/+3
| | | | struct device->bdevice.
* Sync with NetBSD;fgsch1999-08-291-3/+3
| | | | Add some comments. Change a type name.
* Sync with NetBSD;fgsch1999-08-271-16/+34
| | | | | | | 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. Mostly FreeBSD related changes.fgsch1999-08-161-10/+39
| | | | Diffs sent to augustsson.
* From NetBSD; USB support.fgsch1999-08-131-0/+1088