Date: Sat, 14 May 2011 21:12:00 +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: <201105142112.p4ELCevj018003@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201105142112.p4ELCevj018003>