From owner-cvs-src-old@FreeBSD.ORG Sat Apr 25 21:10:16 2009 Return-Path: Delivered-To: cvs-src-old@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6B3E1106571C for ; Sat, 25 Apr 2009 21:10:14 +0000 (UTC) (envelope-from thompsa@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 57BE48FC1B for ; Sat, 25 Apr 2009 21:10:14 +0000 (UTC) (envelope-from thompsa@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.3/8.14.3) with ESMTP id n3PLAEgW012583 for ; Sat, 25 Apr 2009 21:10:14 GMT (envelope-from thompsa@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.3/8.14.3/Submit) id n3PLAE0k012582 for cvs-src-old@freebsd.org; Sat, 25 Apr 2009 21:10:14 GMT (envelope-from thompsa@repoman.freebsd.org) Message-Id: <200904252110.n3PLAE0k012582@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to thompsa@repoman.freebsd.org using -f From: Andrew Thompson Date: Sat, 25 Apr 2009 21:10:06 +0000 (UTC) To: cvs-src-old@freebsd.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/dev/usb usb_core.h usb_device.c usb_device.h usb_generic.c usb_hub.c usb_request.c usb_revision.h usb_transfer.c src/sys/dev/usb/controller ehci.c ohci.c uhci.c X-BeenThere: cvs-src-old@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: **OBSOLETE** CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 25 Apr 2009 21:10:17 -0000 thompsa 2009-04-25 21:10:06 UTC FreeBSD src repository Modified files: sys/dev/usb usb_core.h usb_device.c usb_device.h usb_generic.c usb_hub.c usb_request.c usb_revision.h usb_transfer.c sys/dev/usb/controller ehci.c ohci.c uhci.c Log: SVN rev 191494 on 2009-04-25 21:10:06Z by thompsa Track the usb device state as its powered on, addressed and configured. This helps to avoid touching the device when it is not going to respond and would otherwise timeout. Implement the suspend tracking as a udev state too. Revision Changes Path 1.15 +1 -1 src/sys/dev/usb/controller/ehci.c 1.12 +2 -2 src/sys/dev/usb/controller/ohci.c 1.11 +3 -3 src/sys/dev/usb/controller/uhci.c 1.13 +1 -0 src/sys/dev/usb/usb_core.h 1.28 +36 -5 src/sys/dev/usb/usb_device.c 1.15 +3 -2 src/sys/dev/usb/usb_device.h 1.10 +1 -1 src/sys/dev/usb/usb_generic.c 1.14 +10 -10 src/sys/dev/usb/usb_hub.c 1.14 +6 -0 src/sys/dev/usb/usb_request.c 1.2 +12 -0 src/sys/dev/usb/usb_revision.h 1.13 +28 -15 src/sys/dev/usb/usb_transfer.c