From owner-cvs-src-old@FreeBSD.ORG Sat May 14 21:12:40 2011 Return-Path: Delivered-To: cvs-src-old@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A9BDB1065672 for ; Sat, 14 May 2011 21:12:40 +0000 (UTC) (envelope-from marius@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 7C1F08FC13 for ; Sat, 14 May 2011 21:12:40 +0000 (UTC) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.4/8.14.4) with ESMTP id p4ELCecN018004 for ; Sat, 14 May 2011 21:12:40 GMT (envelope-from marius@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.4/8.14.4/Submit) id p4ELCevj018003 for cvs-src-old@freebsd.org; Sat, 14 May 2011 21:12:40 GMT (envelope-from marius@repoman.freebsd.org) Message-Id: <201105142112.p4ELCevj018003@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to marius@repoman.freebsd.org using -f From: Marius Strobl Date: Sat, 14 May 2011 21:12:00 +0000 (UTC) To: cvs-src-old@freebsd.org X-FreeBSD-CVS-Branch: RELENG_7 Subject: cvs commit: src/sys/conf files.sparc64 files.sun4v src/sys/sparc64/pci ofw_pci.h ofw_pci_if.m ofw_pcibus.c schizo.c schizoreg.h schizovar.h X-BeenThere: cvs-src-old@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: **OBSOLETE** CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 14 May 2011 21:12:40 -0000 marius 2011-05-14 21:12:00 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/conf files.sparc64 files.sun4v sys/sparc64/pci ofw_pci.h ofw_pci_if.m ofw_pcibus.c schizo.c schizoreg.h schizovar.h Log: SVN rev 221924 on 2011-05-14 21:12:00Z by marius MFC: r220038 - Merge the *_SET macros from fire(4) which generally print out the register changes when compiled with SCHIZO_DEBUG and take advantage of them. - Add support for the XMITS Fireplane/Safari to PCI-X bridges. I tought I'd need this for a Sun Fire 3800, which then turned out to not being equipped with such a bridge though. The support for these should be complete but given that it hasn't actually been tested probing is disabled for now. This required a way to alter the XMITS configuration in case a PCI-X device is found further down the device tree so the sparc64 specific ofw_pci kobj was revived with a ofw_pci_setup_device method, which is called by the ofw_pcibus code for every device added. - A closer inspection of the OpenSolaris code indicates that consistent DMA flushing/syncing as well as the block store workaround should be applied with every BUS_DMASYNC_POSTREAD instead of in a wrapper around interrupt handlers for devices behind PCI-PCI bridges only as suggested by the documentation (code for the latter actually exists in OpenSolaris but is disabled by default), which also makes more sense. - Add a workaround for Casinni/Skyhawk combinations. Chances are that this solves the crashes seen when using the the on-board Casinni NICs of Sun Fire V480 equipped with centerplanes other than 501-6780 or 501-6790. This also takes advantage of the ofw_pci_setup_device method. - Mark some unused parameters as such. Revision Changes Path 1.92.2.11 +1 -0 src/sys/conf/files.sparc64 1.11.2.6 +1 -0 src/sys/conf/files.sun4v 1.11.2.5 +2 -0 src/sys/sparc64/pci/ofw_pci.h 1.8.2.4 +9 -14 src/sys/sparc64/pci/ofw_pci_if.m 1.16.2.10 +1 -0 src/sys/sparc64/pci/ofw_pcibus.c 1.6.2.11 +241 -236 src/sys/sparc64/pci/schizo.c 1.2.2.3 +36 -2 src/sys/sparc64/pci/schizoreg.h 1.2.2.4 +17 -3 src/sys/sparc64/pci/schizovar.h