Date: Mon, 3 Dec 2007 19:25:19 GMT From: Hans Petter Selasky <hselasky@FreeBSD.org> To: Perforce Change Reviews <perforce@FreeBSD.org> Subject: PERFORCE change 130109 for review Message-ID: <200712031925.lB3JPJFq092348@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=130109 Change 130109 by hselasky@hselasky_laptop001 on 2007/12/03 19:25:15 The AT91 port did not allocate a config thread for the OHCI controller. Consequently nothing worked. Fix this. Affected files ... .. //depot/projects/usb/src/sys/arm/at91/ohci_atmelarm.c#13 edit Differences ... ==== //depot/projects/usb/src/sys/arm/at91/ohci_atmelarm.c#13 (text) ==== @@ -113,6 +113,13 @@ strlcpy(sc->sc_ohci.sc_vendor, "Atmel", sizeof(sc->sc_ohci.sc_vendor)); + err = usbd_config_td_setup(&(sc->sc_ohci.sc_config_td), sc, + &(sc->sc_ohci.sc_bus.mtx), NULL, 0, 4); + if (err) { + device_printf(dev, "could not setup config thread!\n"); + goto error; + } + #if (__FreeBSD_version >= 700031) err = bus_setup_intr(dev, sc->sc_ohci.sc_irq_res, INTR_TYPE_BIO | INTR_MPSAFE, NULL, (void *)(void *)ohci_interrupt, sc, &(sc->sc_ohci.sc_intr_hdl));
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200712031925.lB3JPJFq092348>