Date: Wed, 19 Dec 2007 01:30:01 GMT From: Hans Petter Selasky <hselasky@FreeBSD.org> To: Perforce Change Reviews <perforce@FreeBSD.org> Subject: PERFORCE change 131190 for review Message-ID: <200712190130.lBJ1U1sN005197@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=131190 Change 131190 by hselasky@hselasky_laptop001 on 2007/12/19 01:29:21 This commit is related to USB Device Side support. Bring in the AT91 probe, attach and detach routines. A small fix to at91.c and ohci_atmelarm.c Affected files ... .. //depot/projects/usb/src/sys/arm/at91/at91.c#6 edit .. //depot/projects/usb/src/sys/arm/at91/at91_udp.c#1 add .. //depot/projects/usb/src/sys/arm/at91/ohci_atmelarm.c#15 edit Differences ... ==== //depot/projects/usb/src/sys/arm/at91/at91.c#6 (text) ==== @@ -301,7 +301,7 @@ { "at91_udp", 0, AT91RM92_BASE + AT91RM92_UDP_BASE, AT91RM92_UDP_SIZE, - AT91RM92_IRQ_UDP, AT91RM92_IRQ_PIOC + AT91RM92_IRQ_UDP, AT91RM92_IRQ_PIOD }, { "at91_mci", 0, ==== //depot/projects/usb/src/sys/arm/at91/ohci_atmelarm.c#15 (text) ==== @@ -121,10 +121,10 @@ } #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)); + NULL, (void *)ohci_interrupt, sc, &(sc->sc_ohci.sc_intr_hdl)); #else err = bus_setup_intr(dev, sc->sc_ohci.sc_irq_res, INTR_TYPE_BIO | INTR_MPSAFE, - (void *)(void *)ohci_interrupt, sc, &(sc->sc_ohci.sc_intr_hdl)); + (void *)ohci_interrupt, sc, &(sc->sc_ohci.sc_intr_hdl)); #endif if (err) { sc->sc_ohci.sc_intr_hdl = NULL;
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200712190130.lBJ1U1sN005197>