From owner-p4-projects@FreeBSD.ORG Mon Jun 26 14:35:42 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 8270D16A47B; Mon, 26 Jun 2006 14:35:42 +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 47DE016A40B for ; Mon, 26 Jun 2006 14:35:42 +0000 (UTC) (envelope-from piso@freebsd.org) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1B89144B7E for ; Mon, 26 Jun 2006 14:13:37 +0000 (GMT) (envelope-from piso@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 k5QEDaAJ074144 for ; Mon, 26 Jun 2006 14:13:36 GMT (envelope-from piso@freebsd.org) Received: (from perforce@localhost) by repoman.freebsd.org (8.13.6/8.13.4/Submit) id k5QEDaM7074141 for perforce@freebsd.org; Mon, 26 Jun 2006 14:13:36 GMT (envelope-from piso@freebsd.org) Date: Mon, 26 Jun 2006 14:13:36 GMT Message-Id: <200606261413.k5QEDaM7074141@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: perforce set sender to piso@freebsd.org using -f From: Paolo Pisati To: Perforce Change Reviews Cc: Subject: PERFORCE change 100060 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: Mon, 26 Jun 2006 14:35:42 -0000 http://perforce.freebsd.org/chv.cgi?CH=100060 Change 100060 by piso@piso_newluxor on 2006/06/26 14:13:02 Add a filter parameter to isa_setup_intr() for amd64, ia64 and sparc64. Affected files ... .. //depot/projects/soc2006/intr_filter/amd64/isa/isa.c#2 edit .. //depot/projects/soc2006/intr_filter/ia64/isa/isa.c#2 edit .. //depot/projects/soc2006/intr_filter/sparc64/isa/isa.c#2 edit Differences ... ==== //depot/projects/soc2006/intr_filter/amd64/isa/isa.c#2 (text+ko) ==== @@ -147,10 +147,11 @@ */ int isa_setup_intr(device_t bus, device_t child, struct resource *r, int flags, - void (*ihand)(void *), void *arg, void **cookiep) + driver_filter_t *filter, void (*ihand)(void *), void *arg, + void **cookiep) { return (BUS_SETUP_INTR(device_get_parent(bus), child, r, flags, - ihand, arg, cookiep)); + filter, ihand, arg, cookiep)); } int ==== //depot/projects/soc2006/intr_filter/ia64/isa/isa.c#2 (text+ko) ==== @@ -155,10 +155,11 @@ */ int isa_setup_intr(device_t bus, device_t child, struct resource *r, int flags, - void (*ihand)(void *), void *arg, void **cookiep) + driver_filter_t *filter, void (*ihand)(void *), void *arg, + void **cookiep) { return (BUS_SETUP_INTR(device_get_parent(bus), child, r, flags, - ihand, arg, cookiep)); + filter, ihand, arg, cookiep)); } int ==== //depot/projects/soc2006/intr_filter/sparc64/isa/isa.c#2 (text+ko) ==== @@ -399,9 +399,9 @@ } int -isa_setup_intr(device_t dev, device_t child, - struct resource *irq, int flags, - driver_intr_t *intr, void *arg, void **cookiep) +isa_setup_intr(device_t dev, device_t child, struct resource *irq, int flags, + driver_filter_t *filter, driver_intr_t *intr, void *arg, + void **cookiep) { /* @@ -410,8 +410,8 @@ * The interrupt had been routed before it was added to the * resource list of the child. */ - return (BUS_SETUP_INTR(device_get_parent(dev), child, irq, flags, intr, - arg, cookiep)); + return (BUS_SETUP_INTR(device_get_parent(dev), child, irq, flags, filter, + intr, arg, cookiep)); } int