Date: Fri, 10 Nov 2006 17:07:34 GMT From: Sam Leffler <sam@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 109684 for review Message-ID: <200611101707.kAAH7Y44072177@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=109684 Change 109684 by sam@sam_ebb on 2006/11/10 17:07:02 add missing arg setting up ata intr; now we get continuous interrupts Affected files ... .. //depot/projects/arm/src/sys/arm/xscale/ixp425/avila_ata.c#2 edit Differences ... ==== //depot/projects/arm/src/sys/arm/xscale/ixp425/avila_ata.c#2 (text+ko) ==== @@ -98,7 +98,6 @@ struct ata_avila_softc *sc = device_get_softc(dev); struct ixp425_softc *sa = device_get_softc(device_get_parent(dev)); -bootverbose=1; sc->sc_dev = dev; /* NB: borrow from parent */ sc->sc_iot = sa->sc_iot; @@ -155,8 +154,9 @@ panic("Unable to allocate irq %u.\n", AVILA_IDE_IRQ); bus_setup_intr(dev, sc->sc_irq, INTR_TYPE_BIO | INTR_MPSAFE | INTR_ENTROPY, - ata_avila_intr, NULL, &sc->sc_ih); + ata_avila_intr, sc, &sc->sc_ih); +bootverbose=1; /* attach channel on this controller */ device_add_child(dev, "ata", devclass_find_free_unit(ata_devclass, 0)); bus_generic_attach(dev); @@ -191,6 +191,7 @@ { struct ata_avila_softc *sc = xsc; +printf("%s: cb %p arg %p\n", __func__, sc->sc_intr[0].cb, sc->sc_intr[0].arg);/*XXX*/ if (sc->sc_intr[0].cb != NULL) sc->sc_intr[0].cb(sc->sc_intr[0].arg); }
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200611101707.kAAH7Y44072177>