Date: Sat, 26 Mar 2011 16:49:12 +0000 (UTC) From: Marius Strobl <marius@FreeBSD.org> To: cvs-src-old@freebsd.org 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 Message-ID: <201103261649.p2QGnidC049798@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
marius 2011-03-26 16:49:12 UTC FreeBSD src repository Modified files: 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 220038 on 2011-03-26 16:49:12Z by marius - 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.117 +1 -0 src/sys/conf/files.sparc64 1.23 +1 -0 src/sys/conf/files.sun4v 1.18 +2 -0 src/sys/sparc64/pci/ofw_pci.h 1.12 +9 -14 src/sys/sparc64/pci/ofw_pci_if.m 1.29 +1 -0 src/sys/sparc64/pci/ofw_pcibus.c 1.20 +241 -236 src/sys/sparc64/pci/schizo.c 1.4 +36 -2 src/sys/sparc64/pci/schizoreg.h 1.6 +17 -3 src/sys/sparc64/pci/schizovar.h
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201103261649.p2QGnidC049798>