From owner-freebsd-stable@FreeBSD.ORG Thu Apr 28 20:30:47 2005 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E639016A4CE for ; Thu, 28 Apr 2005 20:30:47 +0000 (GMT) Received: from mail2.panix.com (mail2.panix.com [166.84.1.73]) by mx1.FreeBSD.org (Postfix) with ESMTP id 53CE943D66 for ; Thu, 28 Apr 2005 20:30:47 +0000 (GMT) (envelope-from fj@panix.com) Received: from panix5.panix.com (panix5.panix.com [166.84.1.5]) by mail2.panix.com (Postfix) with ESMTP id D9CA0A7241; Thu, 28 Apr 2005 16:30:46 -0400 (EDT) Received: (from fj@localhost) by panix5.panix.com (8.11.6p3/8.8.8/PanixN1.1) id j3SKUkm27036; Thu, 28 Apr 2005 16:30:46 -0400 (EDT) Date: Thu, 28 Apr 2005 16:30:46 -0400 From: Joe Altman To: Julian Elischer Message-ID: <20050428203046.GA122@panix.com> Mail-Followup-To: Joe Altman , Julian Elischer , freebsd-stable@freebsd.org References: <20050428093053.A4DE816A4EB@hub.freebsd.org> <42712A12.70009@elischer.org> <20050428190533.GB27979@panix.com> <42713FB3.2010805@elischer.org> <20050428202057.GA489@panix.com> <4271463D.8090409@elischer.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4271463D.8090409@elischer.org> User-Agent: Mutt/1.4.2.1i cc: freebsd-stable@freebsd.org Subject: Re: USB changes. X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 28 Apr 2005 20:30:48 -0000 On Thu, Apr 28, 2005 at 01:23:25PM -0700, Julian Elischer wrote: > > > Joe Altman wrote: > > >On Thu, Apr 28, 2005 at 12:55:31PM -0700, Julian Elischer wrote: > > > > > >>>>Can you confirm that usb.c ends with: > >>>>SYSINIT(usb_cold_explore, SI_SUB_INT_CONFIG_HOOKS, SI_ORDER_FIRST, > >>>>usb_cold_explore, NULL); > >>>> > >>>> > >>/usr/src/sys/dev/usb/usb.c > >> > >> > > ^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oh; sorry...I must have gone cross-eyed. Here is the tail of the file, with timestamp: Apr 27 00:07 /usr/src/sys/dev/usb/usb.c /* Explore USB busses at the end of device configuration. */ Static void usb_cold_explore(void *arg) { struct usb_softc *sc; KASSERT(cold || TAILQ_EMPTY(&usb_coldexplist), ("usb_cold_explore: busses to explore when !cold")); while (!TAILQ_EMPTY(&usb_coldexplist)) { sc = TAILQ_FIRST(&usb_coldexplist); TAILQ_REMOVE(&usb_coldexplist, sc, sc_coldexplist); sc->sc_bus->use_polling++; sc->sc_port.device->hub->explore(sc->sc_bus->root_hub); sc->sc_bus->use_polling--; } } DRIVER_MODULE(usb, ohci, usb_driver, usb_devclass, 0, 0); DRIVER_MODULE(usb, uhci, usb_driver, usb_devclass, 0, 0); DRIVER_MODULE(usb, ehci, usb_driver, usb_devclass, 0, 0); SYSINIT(usb_cold_explore, SI_SUB_INT_CONFIG_HOOKS, SI_ORDER_FIRST, usb_cold_explore, NULL); #endif -- I don't care what you think. This is not a stylishly insouciant stroll out of the jungle, here. It's more like we've fallen out of our trees and rolled, butt-naked before the entire galaxy, downhill. That, and we seem to have a teensy problem lifting ourselves off the ground.