From owner-p4-projects@FreeBSD.ORG Fri Apr 7 05:44:15 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 9CC2F16A404; Fri, 7 Apr 2006 05:44:15 +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 735B616A402 for ; Fri, 7 Apr 2006 05:44:15 +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 4128843D46 for ; Fri, 7 Apr 2006 05:44:15 +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 k375iF5T003334 for ; Fri, 7 Apr 2006 05:44:15 GMT (envelope-from jmg@freebsd.org) Received: (from perforce@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id k375iEci003331 for perforce@freebsd.org; Fri, 7 Apr 2006 05:44:14 GMT (envelope-from jmg@freebsd.org) Date: Fri, 7 Apr 2006 05:44:14 GMT Message-Id: <200604070544.k375iEci003331@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 94754 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, 07 Apr 2006 05:44:15 -0000 http://perforce.freebsd.org/chv.cgi?CH=94754 Change 94754 by jmg@jmg_arlene on 2006/04/07 05:43:37 use 32bit address instead of 64bit.. sun4v doesn't like to address 32bit addresses in the 64bit range, this gets hvio_peek no longer setting the error flag! Affected files ... .. //depot/projects/kmacy_sun4v/src/sys/sun4v/sun4v/hv_pci.c#25 edit Differences ... ==== //depot/projects/kmacy_sun4v/src/sys/sun4v/sun4v/hv_pci.c#25 (text+ko) ==== @@ -228,9 +228,6 @@ break; case OFW_PCI_CS_MEM32: - continue; - - case OFW_PCI_CS_MEM64: rmanp = &sc->hs_pci_mem_rman; rmanp->rm_descr = "HyperVisor PCI Memory"; btp = &sc->hs_pci_memt; @@ -239,6 +236,9 @@ type = PCI_MEMORY_BUS_SPACE; break; + case OFW_PCI_CS_MEM64: + continue; + default: panic("%s: unknown range type: %d", __func__, OFW_PCI_RANGE_CS(&range[i]));