From owner-freebsd-usb@FreeBSD.ORG Sat Apr 9 18:50:11 2005 Return-Path: Delivered-To: freebsd-usb@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 79F6916A4CE for ; Sat, 9 Apr 2005 18:50:11 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 54EF043D1F for ; Sat, 9 Apr 2005 18:50:11 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.3/8.13.3) with ESMTP id j39IoBTJ086817 for ; Sat, 9 Apr 2005 18:50:11 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.3/8.13.1/Submit) id j39IoBPF086792; Sat, 9 Apr 2005 18:50:11 GMT (envelope-from gnats) Resent-Date: Sat, 9 Apr 2005 18:50:11 GMT Resent-Message-Id: <200504091850.j39IoBPF086792@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-usb@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, hselasky@c2i.net Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5343116A4CE for ; Sat, 9 Apr 2005 18:42:04 +0000 (GMT) Received: from swip.net (mailfe02.swip.net [212.247.154.33]) by mx1.FreeBSD.org (Postfix) with ESMTP id B012F43D46 for ; Sat, 9 Apr 2005 18:42:03 +0000 (GMT) (envelope-from hselasky@c2i.net) Received: from mp-217-204-131.daxnet.no ([193.217.204.131] verified) by mailfe02.swip.net (CommuniGate Pro SMTP 4.2.9) with ESMTP id 339501124 for FreeBSD-gnats-submit@freebsd.org; Sat, 09 Apr 2005 20:42:02 +0200 Message-Id: <200504092043.05488.hselasky@c2i.net> Date: Sat, 9 Apr 2005 20:43:04 +0200 From: Hans Petter Selasky To: FreeBSD-gnats-submit@FreeBSD.org Subject: usb/79722: wrong alignments in ehci.h X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: hselasky@c2i.net List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 09 Apr 2005 18:50:11 -0000 >Number: 79722 >Category: usb >Synopsis: wrong alignments in ehci.h >Confidential: no >Severity: critical >Priority: medium >Responsible: freebsd-usb >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sat Apr 09 18:50:10 GMT 2005 >Closed-Date: >Last-Modified: >Originator: HPS >Release: FreeBSD 6.0-CURRENT i386 >Organization: >Environment: System: FreeBSD 6.0-CURRENT FreeBSD 6.0-CURRENT #45: Mon Mar 21 15:40:17 CET 2005 root@:/usr/obj/usr/src/sys/custom i386 >Description: >How-To-Repeat: The EHCI driver currently uses 32-byte alignment for all QH's and TD's. This is what the manual says, but the hardware will malfunction if the structures are not aligned so that it can index without performing addition. For example ITD must be aligned to 128-bytes (including 64-bit extensions) and not 32-bytes. #define EHCI_ITD_ALIGN 128 /* bytes */ #define EHCI_SITD_ALIGN 64 /* bytes */ #define EHCI_QTD_ALIGN 64 /* bytes */ #define EHCI_QH_ALIGN 128 /* bytes */ #define EHCI_FSTN_ALIGN 32 /* bytes */ >Fix: >Release-Note: >Audit-Trail: >Unformatted: