NetBSD Problem Report #30003

From www@netbsd.org  Mon Apr 18 09:21:37 2005
Return-Path: <www@netbsd.org>
Received: by narn.netbsd.org (Postfix, from userid 31301)
	id 3D10E63B116; Mon, 18 Apr 2005 09:21:37 +0000 (UTC)
Message-Id: <20050418092137.3D10E63B116@narn.netbsd.org>
Date: Mon, 18 Apr 2005 09:21:37 +0000 (UTC)
From: dellis@conexant.com
Reply-To: dellis@conexant.com
To: gnats-bugs@netbsd.org
Subject: Interrupt transfers of less than 128ms period don't work on the ehci driver
X-Send-Pr-Version: www-1.0

>Number:         30003
>Category:       kern
>Synopsis:       Interrupt transfers of less than 128ms period don't work on the ehci driver
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    kern-bug-people
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Apr 18 09:22:00 +0000 2005
>Closed-Date:    Wed Apr 27 02:13:27 +0000 2005
>Last-Modified:  Wed Apr 27 02:13:27 +0000 2005
>Originator:     Dan Ellis
>Release:        top of tree
>Organization:
Conexant systems
>Environment:
>Description:
When using the ehci driver (r1.91), if a device claims an interrupt endpoint with a period of less then 128ms, then it won't work (i.e. most devices except hubs which use interrupt transfers).


>How-To-Repeat:
Plug in a device which requires an interrupt endpoint with a period of less than 128ms - it won't work.
>Fix:
The bug is in the initialisation of the binary tree for the the interrupt queue heads. After carefully pointing the next pointer to the next level of the tree down, the next pointer is then NULLed. Removal of line 442 puts things right.

In fact removal of the restriction on devices being HIGH speed allows the driver to work (without noticable fault so far) with low and full speed devices.

>Release-Note:

>Audit-Trail:

State-Changed-From-To: open->closed
State-Changed-By: augustss@netbsd.org
State-Changed-When: Wed, 27 Apr 2005 02:13:27 +0000
State-Changed-Why:
Line deleted.  Thanks for finding that bug!


>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.