summaryrefslogtreecommitdiffstats
path: root/sys/dev/usb/uhub.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* Remove the definition and use of the USBDEVNAME macro.mbalmer2007-06-101-21/+21
| | | | | | | (This might look easy, but it was a big diff. Thanks to dlg and especially jsg for looking over it; we found at least four mistakes in the initial diff.) ok jsg.
* Remove the definition and use of the USBDEV macro. It only created confusionmbalmer2007-06-101-5/+5
| | | | | | | | and the address of it's argument: USBDEV(sc->sc_dev) yields &sc->sc_dev. No binary changes. ok jsg.
* Mechanical removal of USBBASEDEVICE. No binary change.mk2007-06-061-2/+2
| | | | | | Tested by thib and myself. ok mbalmer jsg
* Shrink dmesg output. Tweaked version of a diff from tedu@jsg2007-06-061-2/+5
| | | | ok by a bunch of people
* Remove the "Static" declaration of many functions. It was defined to be emptymbalmer2007-06-051-3/+3
| | | | | | | and it was not consistently used. It was confusing as it suggested these functions were static, which they were not. discussed with dlg and jsg, ok jsg.
* Remove more Free(?)BSD and NetBSD #ifdef/#endifs. No functional normbalmer2007-06-011-83/+1
| | | | | | binary change. ok jsg
* Farewell USB_{ATTACH,MATCH,DETACH}* you will not be missed.jsg2007-05-271-15/+17
| | | | ok deraadt@ krw@ mbalmer@
* Remove logprintf macrojsg2007-05-211-3/+3
|
* Reapplication of rev 1.36.pascoe2007-03-221-3/+5
| | | | | | | | | Wait the stable power delay on a USB hub only once per hub (not per port), and defer the delay for root hubs until the host controller event thread starts, permitting some concurrency. Speeds up the boot process dramatically when you have lots of host controllers. ok dlg@
* Backout pascoe@'s last USB change because it page faults at attachmentmglocker2007-03-181-5/+3
| | | | | | | | | time. Chris; Get your shiz fixed and tested for the next time. We have better todo then wasting our time by backing out untested stuff. OK deraadt, OK ckuethe
* Wait the stable power delay on a USB hub only once per hub (not per port),pascoe2007-03-181-3/+5
| | | | | | | | and defer the delay for root hubs until the host controller event thread starts, permitting some concurrency. Speeds up the boot process dramatically when you have lots of host controllers. ok dlg@
* fix typos in debug messagesmjc2006-06-261-2/+2
| | | | ok pascoe@
* In a drivers activate() entry point, if on DVACT_DEACTIVATE it doesmiod2006-06-231-2/+2
| | | | | | something, then it MUST return zero on DVACT_ACTIVATE, not EOPNOTSUPP; this very popular bug has been cut and pasted a lot of times... ok deraadt@ mickey@
* Don't keep the devinfo string on the stack, instead use malloc/free.brad2005-08-011-4/+6
| | | | | | | | This should cure some rare stack overflows. From augustss NetBSD ok dlg@ pascoe@
* shorten dmesgdlg2005-03-281-9/+9
| | | | requested by deraadt@ ok pascoe@
* Merge support for USB1 devices located beyond USB2 hubs, mostly from netbsd.pascoe2005-03-131-7/+38
| | | | | | | Supports bulk, control and interrupt pipes, letting USB1 keyboards and most network interfaces work when connected to a USB2 hub. ok dlg@
* get rid of uhub_reset_devicedlg2004-12-121-81/+1
|
* better way to do the reattachement of a devicedlg2004-12-121-3/+6
|
* code to let us cause a detach and reattach of a device from softwaredlg2004-12-091-1/+81
| | | | ok deraadt@
* from netbsd via loki@animata.net, revision 1.68deraadt2004-07-111-2/+5
| | | | | Ignore a port error that happens to come in at the same time as a connect status change. Some root hubs seem to report both.
* from netbsd via loki@animata.netderaadt2004-07-111-2/+2
| | | | | | uhub.c revision 1.65, ohci.c revision 1.146, uhci.c revision 1.177 Use the correct wValue to get hub desriptors. Also, make wValue checks of root hub codes less strict.
* put "do { } while (0)" wrappers on all the debug maroc functionsderaadt2004-07-081-3/+3
|
* silence somethingderaadt2004-07-071-2/+2
|
* From FreeBSD (via rees@umich.edu and nate)pvalchev2004-06-101-1/+2
| | | | | | | | | | Initialise `restartcnt' in the newly malloc'd usbd_port structure, as otherwise the junk it contains may cause uhub_explore to give up without ever trying to restart the port. This fixes the following errors I was seeing with a VIA UHCI controller: uhub0: port error, restarting port 1 uhub0: port error, giving up port 1
* Sync USB code with NetBSD.nate2003-07-081-6/+17
| | | | This includes numerous fixes and paves the way for usb 2.0 support.
* fix documentation links from netbsdnate2003-05-191-2/+2
|
* string cleanup; nate okderaadt2003-05-071-2/+2
|
* get rid of trailing whitespacenate2002-07-251-18/+18
|
* Handle resetting port better.nate2002-07-101-3/+21
| | | | From NetBSD
* Meant to commit only ulpt and committed everything. Most things weren't readynate2002-05-071-31/+6
|
* Sync ulpt driver with NetBSDnate2002-05-071-6/+31
|
* Synchronize usb code with NetBSD.nate2001-10-311-8/+14
|
* Sync with NetBSD. Tested with a USB keyboard, USB mouse, and three differentaaron2001-05-031-3/+3
| | | | 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.)
* Sync with NetBSD. Too many changes to mention. For now I have skippedaaron2000-11-081-25/+17
| | | | 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-74/+67
|
* Sync with NetBSD. USB Ethernet drivers should work now.aaron2000-03-301-9/+9
|
* Much cleaner sync with NetBSD. Some #if defined() magic has been sent in theaaron2000-03-281-37/+41
| | | | | | 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-77/+120
|
* sync with NetBSD.fgsch1999-11-071-39/+61
|
* Sync with NetBSD.fgsch1999-09-271-65/+23
|
* sync with NetBSD;fgsch1999-08-311-3/+3
| | | | struct device->bdevice.
* Sync with NetBSD;fgsch1999-08-271-10/+17
| | | | | | | 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-5/+22
| | | | Diffs sent to augustsson.
* From NetBSD; USB support.fgsch1999-08-131-0/+542