summaryrefslogtreecommitdiff
path: root/sys/dev/usb/ugen.c
AgeCommit message (Collapse)Author
2005-11-21Move contents of sys/select.h to sys/selinfo.h in preparation for aTodd C. Miller
userland-visible sys/select.h. Consistent with what Net and Free do. OK deraadt@, tested with full ports build by naddy@.
2005-08-01Don't keep the devinfo string on the stack, instead use malloc/free.Brad Smith
This should cure some rare stack overflows. From augustss NetBSD ok dlg@ pascoe@
2004-10-31from netbsd via freebsd via jsg@David Gwynne
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.
2004-07-21from freebsd, ugen.c 1.68 usbdi_util.c 1.27 usbdi_util.h 1.15David Gwynne
log message: Implement outgoing interrupt pipes. It is part of the USB 1.1 spec. The Lego Infrared Tower use it. ok deraadt@
2004-07-08put "do { } while (0)" wrappers on all the debug maroc functionsTheo de Raadt
2003-06-27kqueue support for various usb devices including: usb, uhid, ugen,Nathan Binkert
and uscanner From NetBSD
2003-05-07string cleanup; nate okTheo de Raadt
2002-11-11sync with NetBSDNathan Binkert
2002-07-25update $NetBSD$ tagsNathan Binkert
2002-07-25get rid of trailing whitespaceNathan Binkert
2002-07-10no provate cdev_decl()s, they are in sys/conf.h nowMichael Shalayeff
2002-07-09sync with NetBSDNathan Binkert
2002-07-09make the timeout a function parameterNathan Binkert
From NetBSD
2002-05-07Meant to commit only ulpt and committed everything. Most things weren't readyNathan Binkert
2002-05-07Sync ulpt driver with NetBSDNathan Binkert
2002-05-02prefix structure members to avoid name clashes.Nathan Binkert
From NetBSD
2001-10-31Synchronize usb code with NetBSD.Nathan Binkert
2001-09-20occured->occurredMike Pechkin
idea from deraadt@ via NetBSD millert@ ok
2001-05-03Sync with NetBSD. Tested with a USB keyboard, USB mouse, and three differentAaron Campbell
kue(4) Ethernet devices.
2001-01-28Another USB sync with NetBSD. We are still lacking an up-to-date umass(4)Aaron Campbell
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.)
2000-11-21be consistant w/ ugenwrite on dprintf; aaron@ okMichael Shalayeff
2000-11-08Sync with NetBSD. Too many changes to mention. For now I have skippedAaron Campbell
umass.c and ukbd.c as the diffs are a bit hairier.
2000-07-04sync with NetBSD... well almost. someone w/ the hw should check umass.Federico G. Schwindt
2000-03-30Sync with NetBSD. USB Ethernet drivers should work now.Aaron Campbell
2000-03-28Much cleaner sync with NetBSD. Some #if defined() magic has been sent in theAaron Campbell
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).
2000-03-26Sync with NetBSD.Aaron Campbell
1999-11-07sync with NetBSD.Federico G. Schwindt
1999-09-27Sync with NetBSD.Federico G. Schwindt
1999-08-31sync with NetBSD;Federico G. Schwindt
struct device->bdevice.
1999-08-29Sync with NetBSD;Federico G. Schwindt
Add some comments. Change a type name.
1999-08-27Sync with NetBSD;Federico G. Schwindt
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.
1999-08-16Sync with NetBSD. Mostly FreeBSD related changes.Federico G. Schwindt
Diffs sent to augustsson.
1999-08-13From NetBSD; USB support.Federico G. Schwindt