Subject: CVS commit: [netbsd-1-6] src/sys/dev/usb
To: None <source-changes@netbsd.org>
From: James Chacon <jmc@netbsd.org>
List: source-changes
Date: 01/27/2003 08:00:13
Module Name:	src
Committed By:	jmc
Date:		Mon Jan 27 06:00:13 UTC 2003

Modified Files:
	src/sys/dev/usb [netbsd-1-6]: ohci.c

Log Message:
Pullup lots of revisions: 1.123-1.124,1.126-1.127,1.128-1.131,1.132-1.135
(requested by bad in ticket #1104)

        Clear done_head in the HCCA *before* acknowledging the interrupt.
        Driver lost some completed transfers under heavy loads.
        Fix some braindead calls to free memory (only encountered under low
          memory conditions).
        Add some spl calls to protect critical regions. From PR#18440
        Remove extra call to ohci_rem_ed().  From PR#18448
        Put some ifdefs around USB_USE_SOFTINTR stuff.
        Fix several nits:
        - Call usbd_transfer_complete at splusb.
        - Fix a botched for loop in ohci_rem_ed.
        - In ohci_close_pipe, wait 1ms after removing an ED to avoid possible
          race condition.
        Update xfer->frlengths for input isoc transfer.
        Also fix error handling for isoc transfer somewhat;
          usb_transfer_complete shouldn't be called for more than once.
        Add a couple of le32toh which were missing in the previous.


To generate a diff of this commit:
cvs rdiff -r1.123 -r1.123.2.1 src/sys/dev/usb/ohci.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.