OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
CVS: cvs.openbsd.org: src

From: Marcus Glocker (mglockercvs.openbsd.org)
Date: Thu Oct 30 2008 - 03:11:13 CDT


CVSROOT: /cvs
Module name: src
Changes by: mglockercvs.openbsd.org 2008/10/30 02:11:13

Modified files:
        sys/dev/usb : ehci.c ehcivar.h

Log message:
From Jeremy Morse via NetBSD:

* Serialize access to the ehci intrlist.
* Change the ehci intrlist to a tailq so xfers are not queued out of order.
* In ehci_check_itd_intr, don't treat a transfer error as an indication
that the xfer is no longer active.

This also fixes "ehci_allocx not free" errors seen recently.

Tested and OK brad, kevlo