Subject: CVS commit: src/sys/dev/usb
To: None <source-changes@NetBSD.org>
From: Charles M. Hannum <email@example.com>
Date: 03/11/2005 19:25:22
Module Name: src
Committed By: mycroft
Date: Fri Mar 11 19:25:22 UTC 2005
src/sys/dev/usb: ohci.c ohcivar.h
Restructure interrupt handling a little:
* Only futz with the done list in the soft interrupt handler. In the hard
interrupt handler, do nothing except mask WDH and queue the soft interrupt.
This simplifies a bunch of code, removes two O(n^2) queue manipulations,
and gets rid of some really sketchy stuff around the queue head access.
* Use the auto-masking code at the end of the interrupt handler for both WDH
and RHSC interrupts. Again, this reduces the code a little, and avoids
multiple writebacks to the chip registers.
To generate a diff of this commit:
cvs rdiff -r1.156 -r1.157 src/sys/dev/usb/ohci.c
cvs rdiff -r1.35 -r1.36 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.