aboutsummaryrefslogtreecommitdiff
path: root/sys/sparc64/pci/firereg.h
diff options
context:
space:
mode:
authorMarius Strobl <marius@FreeBSD.org>2015-09-12 22:49:32 +0000
committerMarius Strobl <marius@FreeBSD.org>2015-09-12 22:49:32 +0000
commit9888f86a169f3965048ab32e438f9d8bfdaade19 (patch)
tree6ba1bb78b988ebeef3204c82dafb57fc33a3c310 /sys/sparc64/pci/firereg.h
parent30811e70d9c691c67a202788153ba6ad3dde6a6a (diff)
downloadsrc-9888f86a169f3965048ab32e438f9d8bfdaade19.tar.gz
src-9888f86a169f3965048ab32e438f9d8bfdaade19.zip
- Factor out the common and generic parts of the sparc64 host-PCI-bridge
drivers into the revived sys/sparc64/pci/ofw_pci.c, previously already serving a similar purpose. This has been done with sun4v in mind, which explains a) the otherwise not that obvious scheme employed and b) why reusing sys/powerpc/ofw/ofw_pci.c was even lesser an option. - Add a workaround for QEMU once again not emulating real machines, in this case by not providing the OFW_PCI_CS_MEM64 range. [1] Submitted by: jhb [1] MFC after: 1 week
Notes
Notes: svn path=/head/; revision=287726
Diffstat (limited to 'sys/sparc64/pci/firereg.h')
-rw-r--r--sys/sparc64/pci/firereg.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/sys/sparc64/pci/firereg.h b/sys/sparc64/pci/firereg.h
index 247a3f7d33a8..715d3b7b3a48 100644
--- a/sys/sparc64/pci/firereg.h
+++ b/sys/sparc64/pci/firereg.h
@@ -30,7 +30,6 @@
#define _SPARC64_PCI_FIREREG_H_
#define FIRE_NINTR 3 /* 2 OFW + 1 MSIq */
-#define FIRE_NRANGE 4
#define FIRE_NREG 2
#define FIRE_PCI 0