From owner-cvs-all@FreeBSD.ORG Sat Jun 21 18:26:09 2003 Return-Path: Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 087B037B401; Sat, 21 Jun 2003 18:26:09 -0700 (PDT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id A6EA343FBD; Sat, 21 Jun 2003 18:26:08 -0700 (PDT) (envelope-from jmg@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.6/8.12.6) with ESMTP id h5M1Q80U066089; Sat, 21 Jun 2003 18:26:08 -0700 (PDT) (envelope-from jmg@repoman.freebsd.org) Received: (from jmg@localhost) by repoman.freebsd.org (8.12.6/8.12.6/Submit) id h5M1Q8c6066088; Sat, 21 Jun 2003 18:26:08 -0700 (PDT) Message-Id: <200306220126.h5M1Q8c6066088@repoman.freebsd.org> From: John-Mark Gurney Date: Sat, 21 Jun 2003 18:26:08 -0700 (PDT) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/sparc64/include bus.h cpufunc.h src/sys/sparc64/pci psycho.c src/sys/sparc64/sparc64 support.S trap.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 22 Jun 2003 01:26:09 -0000 jmg 2003/06/21 18:26:08 PDT FreeBSD src repository Modified files: sys/sparc64/include bus.h cpufunc.h sys/sparc64/pci psycho.c sys/sparc64/sparc64 support.S trap.c Log: add support for peeking at pci busses on UltraSparc systems. This prevents data access errors when trying to read/write to non-existant PCI devices. fix the psycho bridge to use peek for probing devices. This no longer fakes it if the OFW node doesn't exist (and the reg == 0). Reviewed by: jake, tmm Revision Changes Path 1.28 +27 -0 src/sys/sparc64/include/bus.h 1.17 +9 -0 src/sys/sparc64/include/cpufunc.h 1.39 +19 -12 src/sys/sparc64/pci/psycho.c 1.27 +52 -0 src/sys/sparc64/sparc64/support.S 1.64 +25 -0 src/sys/sparc64/sparc64/trap.c