Date: Sun, 20 Sep 2009 18:59:30 +0000 (UTC) From: Marius Strobl <marius@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/sys/dev/pci pci.c src/sys/sparc64/include param.h Message-ID: <200909201900.n8KJ07to004799@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
marius 2009-09-20 18:59:30 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/dev/pci pci.c sys/sparc64/include param.h Log: SVN rev 197367 on 2009-09-20 18:59:30Z by marius MFC: r195808 Add a MD __PCI_BAR_ZERO_VALID which denotes that BARs containing 0 actually specify valid bases that should be treated just as normal. The PCI specifications have no indication that 0 would be a magic value indicating a disabled BAR as commonly used on at least amd64 and i386 but not sparc64. It's unclear what to do in pci_delete_resource() instead of writing 0 to a BAR though as there's no (other) way do disable individual BARs so its decoding is left enabled in case of __PCI_BAR_ZERO_VALID for now. Approved by: jhb Revision Changes Path 1.355.2.12 +15 -8 src/sys/dev/pci/pci.c 1.22.2.2 +2 -0 src/sys/sparc64/include/param.h
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200909201900.n8KJ07to004799>