From owner-freebsd-stable@FreeBSD.ORG Thu Apr 28 20:40:51 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 4DFD816A4CE for ; Thu, 28 Apr 2005 20:40:51 +0000 (GMT) Received: from mail.vicor-nb.com (bigwoop.vicor-nb.com [208.206.78.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1D87943D58 for ; Thu, 28 Apr 2005 20:40:51 +0000 (GMT) (envelope-from julian@elischer.org) Received: from [208.206.78.97] (julian.vicor-nb.com [208.206.78.97]) by mail.vicor-nb.com (Postfix) with ESMTP id 0860F7A403; Thu, 28 Apr 2005 13:40:51 -0700 (PDT) Message-ID: <42714A52.9080504@elischer.org> Date: Thu, 28 Apr 2005 13:40:50 -0700 From: Julian Elischer User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.7) Gecko/20050423 X-Accept-Language: en, hu MIME-Version: 1.0 To: Joe Altman 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> <20050428203046.GA122@panix.com> In-Reply-To: <20050428203046.GA122@panix.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit 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:40:51 -0000 Since I can't make this happen here, I'm going to need help.. Joe Altman wrote: > 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; > > can you add this line here: printf("HEY WE GOT HERE!\n"); > 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); > > and: printf("probing a USB 1.1 bus.\n"); > 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 > > >