From owner-p4-projects@FreeBSD.ORG Mon May 22 21:58:27 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 90F6E16A820; Mon, 22 May 2006 21:58:27 +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 3C28016A79E for ; Mon, 22 May 2006 21:58:26 +0000 (UTC) (envelope-from kmacy@freebsd.org) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id EADA543D45 for ; Mon, 22 May 2006 21:58:25 +0000 (GMT) (envelope-from kmacy@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 k4MLvgBw037452 for ; Mon, 22 May 2006 21:57:42 GMT (envelope-from kmacy@freebsd.org) Received: (from perforce@localhost) by repoman.freebsd.org (8.13.6/8.13.4/Submit) id k4MLvf7Z037449 for perforce@freebsd.org; Mon, 22 May 2006 21:57:41 GMT (envelope-from kmacy@freebsd.org) Date: Mon, 22 May 2006 21:57:41 GMT Message-Id: <200605222157.k4MLvf7Z037449@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: perforce set sender to kmacy@freebsd.org using -f From: Kip Macy To: Perforce Change Reviews Cc: Subject: PERFORCE change 97646 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, 22 May 2006 21:58:28 -0000 http://perforce.freebsd.org/chv.cgi?CH=97646 Change 97646 by kmacy@kmacy_storage:sun4v_work on 2006/05/22 21:57:14 use dev not child Affected files ... .. //depot/projects/kmacy_sun4v/src/sys/kern/subr_bus.c#6 edit Differences ... ==== //depot/projects/kmacy_sun4v/src/sys/kern/subr_bus.c#6 (text+ko) ==== @@ -3626,7 +3626,7 @@ { device_t parent; - parent = device_get_parent(child); + parent = device_get_parent(dev); if (parent == NULL) return (NULL); return (BUS_GET_DMA_TAG(parent, dev));