From owner-p4-projects@FreeBSD.ORG Sun Apr 2 05:37:07 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 044C616A424; Sun, 2 Apr 2006 05:37:07 +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 D206816A422 for ; Sun, 2 Apr 2006 05:37:06 +0000 (UTC) (envelope-from jmg@freebsd.org) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8B80043D49 for ; Sun, 2 Apr 2006 05:37:06 +0000 (GMT) (envelope-from jmg@freebsd.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.1/8.13.1) with ESMTP id k325b6u1010603 for ; Sun, 2 Apr 2006 05:37:06 GMT (envelope-from jmg@freebsd.org) Received: (from perforce@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id k325b6Tr010600 for perforce@freebsd.org; Sun, 2 Apr 2006 05:37:06 GMT (envelope-from jmg@freebsd.org) Date: Sun, 2 Apr 2006 05:37:06 GMT Message-Id: <200604020537.k325b6Tr010600@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: perforce set sender to jmg@freebsd.org using -f From: John-Mark Gurney To: Perforce Change Reviews Cc: Subject: PERFORCE change 94443 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: Sun, 02 Apr 2006 05:37:07 -0000 http://perforce.freebsd.org/chv.cgi?CH=94443 Change 94443 by jmg@jmg_carbon-60 on 2006/04/02 05:36:44 add pci as a child for pcib, this should get things going a bit farther... Affected files ... .. //depot/projects/kmacy_sun4v/src/sys/sun4v/sun4v/hv_pci.c#4 edit Differences ... ==== //depot/projects/kmacy_sun4v/src/sys/sun4v/sun4v/hv_pci.c#4 (text+ko) ==== @@ -134,7 +134,8 @@ panic("%s: OF_getprop failed.", __func__); sc->hs_devhandle = cell & 0xfffffff; - return (0); + device_add_child(dev, "pci", -1); + return (bus_generic_attach(dev)); } static int