Age | Commit message (Collapse) | Author | |
---|---|---|---|
2006-06-23 | In a drivers activate() entry point, if on DVACT_DEACTIVATE it does | Miod Vallat | |
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@ | |||
2006-05-31 | Save and restore the data toggle value when a pipe to an endpoint | Christopher Pascoe | |
is closed and then reopened. This may be necessary now that we no longer clear endpoint stalls every time a pipe is opened. Previously we could assume an initial toggle value of zero because a clear-stall operation resets the device's toggle state. Derived from work in FreeBSD. This is most likely to affect devices like printers, which open pipes for short periods of time and close them again. ok dlg@ | |||
2006-05-29 | Correct status value check for OHCI isoc transfer; | Christopher Pascoe | |
the spec says that "not accessed" is 111x, not 1111. From NetBSD rev1.158 | |||
2006-05-29 | Only check USBD_FORCE_SHORT_XFER for writes. | Christopher Pascoe | |
From NetBSD rev1.164 | |||
2006-05-29 | Only do the software part of an abort if we are dying. | Christopher Pascoe | |
2006-05-22 | Expunge all #if defined(__NetBSD__) and #if defined(__FreeBSD__) crud. | Kenneth R Westerback | |
Misused in many cases anyway. ok dlg@ | |||
2006-05-22 | Don't call shutdownhook_disestablish() unless there is a shutdownhook | Kenneth R Westerback | |
established. Should fix PR #5128. ok dlg@ | |||
2006-05-04 | fix interrupt out transfers | Jolan Luff | |
from netbsd, ok dlg | |||
2005-12-03 | Allow strings descriptor 0 to be fetched. It's the default language index. | Brad Smith | |
From augustss NetBSD ok dlg@ | |||
2005-11-21 | Move contents of sys/select.h to sys/selinfo.h in preparation for a | Todd C. Miller | |
userland-visible sys/select.h. Consistent with what Net and Free do. OK deraadt@, tested with full ports build by naddy@. | |||
2005-11-15 | More typos (especially indicies -> indices), checked with jmc@ | Miod Vallat | |
2005-10-04 | Make sure we don't enable host controller interrupts until all | Brad Smith | |
initialization is finished. From augustss NetBSD ok dlg@ pascoe@ | |||
2005-04-21 | If the SMM driver had enabled ownership change interrupts, re-enable them | Christopher Pascoe | |
temporarily before we attempt to take control. ok dlg@ | |||
2005-04-21 | Preserve any configuration data that may have been set by SMM/BIOS over | Christopher Pascoe | |
chip reset. ok dlg@ | |||
2005-04-21 | Fix inverted logic when testing for successful SMM handover. | Christopher Pascoe | |
2005-03-30 | restore all of the registers on resume to cope with power loss during | David Gwynne | |
suspend which leaves the controller totally unconfigured. help from and ok pascoe@ | |||
2005-03-30 | make the powerhooks the responsibility of the bus ohci is attached to | David Gwynne | |
ok uwe@ | |||
2005-03-30 | Use the inverse of the T bit in the HcFmRemaining register when adjusting | Christopher Pascoe | |
the frame length. ok dlg@ | |||
2005-03-06 | Wait for the bulk transfer to complete before returning if we are in polled | Christopher Pascoe | |
mode. ok dlg@ | |||
2005-03-06 | ohci_rhsc_enable calls usb_transfer_complete via ohci_rhsc - we need to be | Christopher Pascoe | |
at splusb, not splsoftclock. ok dlg@ | |||
2005-03-06 | In [eo]hci_waitintr, xfer->timeout is in ms, not hz. | Christopher Pascoe | |
ok dlg@ | |||
2004-12-26 | strored -> stored | Miod Vallat | |
2004-09-30 | spelling nit | David Gwynne | |
2004-09-11 | backout 1.48, but maintain the fix for the merge error. | David Gwynne | |
fixes hangs/crashes on detach of various devices. found by jolan@, tested by drahn@ and jolan@, ok by deraadt@ | |||
2004-08-11 | from netbsd-bugs, pr 26547: | David Gwynne | |
Transfers should only be removed if they haven't already completed | |||
2004-08-11 | Fixes a merge error as well as being from netbsd-bugs, pr 26546: | David Gwynne | |
The cancellation of the timeout in ohci_softintr should predicate on the transfer being the last of the batch | |||
2004-08-11 | from netbsd-bugs, pr 26545: | David Gwynne | |
It's possible that the ohci interrupt can reach the CPU before the write over PCI. This results in the done head pointer being NULL. If the subsequent read of the interrupt status indicates that an OHCI_WDH has occured then the done pointer should be reread and the pointer nulled. | |||
2004-08-11 | from netbsd, ohci.c 1.140, 1.143, 1.148, 1.149, 1.150 | David Gwynne | |
log message for 1.140: Function names printed in debug messages did not always match the actual name of the function. log message for 1.143: Remove assigned-to but otherwise unused variables. Remove unreachable break after return statements. log message for 1.148: Adjust a couple of comments to make it clear WTF is going on. log message for 1.149: Make one message dependent on ohcidebug, so it doesn't interfere with polled operation; e.g. when entering a root device or in DDB. log message for 1.150: Fix an error in a printf() format. | |||
2004-08-11 | from netbsd, ohci.c 1.151 | David Gwynne | |
Avoid touching the xfer after calling usb_transfer_complete(), as the driver callback may have recycled it. From PR 25960. | |||
2004-08-11 | from netbsd, ohci.c 1.150 | David Gwynne | |
swap the order that two items are written; possibly fixes a race condition that would affect isoc transfers. | |||
2004-08-11 | from netbsd, ohci.c 1.142 1.147 | David Gwynne | |
log message for 1.142: Fix a done list handling bug which exhibits under high shared interrupt rate and bus traffic. As the interrupt register is read after checking hcca_done_head, there was a small chance of dropping a done list. Ignore OHCI_WDH interrupt bit if hcca_done_head is zero so that OHCI_WDH is processed later. log message for 1.147: Failure to properly mask off UE_DIR_IN from the endpoint address was causing OHCI_ED_FORMAT_ISO and EHCI_QH_HRECL to get set spuriously, causing rather interesting lossage. | |||
2004-08-11 | from netbsd, ohci.c 1.141 | David Gwynne | |
Update actlen even in the case where a TD returns an error -- this is critical for the umass bulk-only STALL case. | |||
2004-07-11 | from netbsd via loki@animata.net | Theo de Raadt | |
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. | |||
2004-07-10 | Avoid looping messages during boot. Tested by various people. deraadt@ ok. | Hakan Olsson | |
2004-07-08 | put "do { } while (0)" wrappers on all the debug maroc functions | Theo de Raadt | |
2004-05-04 | Remove useless ``elm'' argument from the SIMPLEQ_REMOVE_HEAD macro. | Alexander Yurchenko | |
This matches our SLIST behaviour and NetBSD's SIMPLEQ as well. ok millert krw deraadt | |||
2004-01-26 | shorter message | Theo de Raadt | |
2003-08-06 | The cleanup in ohci_init() is wrong; the statements for label bad2 | Todd C. Miller | |
and label bad3 should be swapped. From Patrick Latifi ok deraadt@ and fgs@ | |||
2003-07-08 | Sync USB code with NetBSD. | Nathan Binkert | |
This includes numerous fixes and paves the way for usb 2.0 support. | |||
2003-05-19 | fix documentation links from netbsd | Nathan Binkert | |
2003-05-17 | try a little harder to not end up with 0 usb ports on amd756 chipsets | Todd T. Fries | |
ok nate@ | |||
2002-10-12 | Remove more '\n's from panic() statements. Both trailing and leading. | Kenneth R Westerback | |
Diff generated by Chris Kuethe. | |||
2002-08-07 | fix the stupidest alloc/free piece of code ever; nate@ ok | Michael Shalayeff | |
2002-07-09 | kill trailing whitespace | Nathan Binkert | |
2002-06-07 | Fix more timeout handling issues in ohci. There are still cursed harrdware | Miod Vallat | |
that will keep dying with this applied, though. Discussed with drahn@ | |||
2002-05-07 | Meant to commit only ulpt and committed everything. Most things weren't ready | Nathan Binkert | |
2002-05-07 | Sync ulpt driver with NetBSD | Nathan Binkert | |
2002-05-02 | prefix structure members to avoid name clashes. | Nathan Binkert | |
From NetBSD | |||
2002-03-14 | Final __P removal plus some cosmetic fixups | Todd C. Miller | |
2001-10-31 | Synchronize usb code with NetBSD. | Nathan Binkert | |