From owner-p4-projects@FreeBSD.ORG Fri Nov 10 17:07:36 2006 Return-Path: X-Original-To: p4-projects@freebsd.org Delivered-To: p4-projects@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 32767) id 0B61916A4A0; Fri, 10 Nov 2006 17:07:35 +0000 (UTC) X-Original-To: perforce@freebsd.org Delivered-To: perforce@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8B3C616A494 for ; Fri, 10 Nov 2006 17:07:35 +0000 (UTC) (envelope-from sam@freebsd.org) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9487C43D72 for ; Fri, 10 Nov 2006 17:07:34 +0000 (GMT) (envelope-from sam@freebsd.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.6/8.13.6) with ESMTP id kAAH7Yat072180 for ; Fri, 10 Nov 2006 17:07:34 GMT (envelope-from sam@freebsd.org) Received: (from perforce@localhost) by repoman.freebsd.org (8.13.6/8.13.4/Submit) id kAAH7Y44072177 for perforce@freebsd.org; Fri, 10 Nov 2006 17:07:34 GMT (envelope-from sam@freebsd.org) Date: Fri, 10 Nov 2006 17:07:34 GMT Message-Id: <200611101707.kAAH7Y44072177@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: perforce set sender to sam@freebsd.org using -f From: Sam Leffler To: Perforce Change Reviews Cc: Subject: PERFORCE change 109684 for review X-BeenThere: p4-projects@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: p4 projects tree changes List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 10 Nov 2006 17:07:36 -0000 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); }