Re: USB changes.

From: Julian Elischer (julian_at_elischer.org)
Date: 04/28/05

  • Next message: Joe Altman: "Re: USB changes."
    Date: Thu, 28 Apr 2005 13:40:50 -0700
    To: Joe Altman <fj@panix.com>
    
    

    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
    >
    >
    >
    _______________________________________________
    freebsd-stable@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-stable
    To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org"


  • Next message: Joe Altman: "Re: USB changes."

    Relevant Pages