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:39
Module Name:	src
Committed By:	jmc
Date:		Mon Jan 27 06:00:39 UTC 2003

Modified Files:
	src/sys/dev/usb [netbsd-1-6]: ohcivar.h

Log Message:
Pullup revisions 1.30-1.31
(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.30 -r1.30.10.1 src/sys/dev/usb/ohcivar.h

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