summaryrefslogtreecommitdiffstats
path: root/sys/sparc64/pci/ofw_pci.h
diff options
context:
space:
mode:
Diffstat (limited to 'sys/sparc64/pci/ofw_pci.h')
-rw-r--r--sys/sparc64/pci/ofw_pci.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/sys/sparc64/pci/ofw_pci.h b/sys/sparc64/pci/ofw_pci.h
index 352b8b8..252f474 100644
--- a/sys/sparc64/pci/ofw_pci.h
+++ b/sys/sparc64/pci/ofw_pci.h
@@ -32,7 +32,7 @@
*/
#ifndef _SPARC64_PCI_OFW_PCI_H_
-#define _SPARC64_PCI_OFW_PCI_H_
+#define _SPARC64_PCI_OFW_PCI_H_
#include <machine/ofw_bus.h>
@@ -40,7 +40,7 @@ typedef uint32_t ofw_pci_intr_t;
/* PCI range child spaces. XXX: are these MI? */
#define OFW_PCI_CS_CONFIG 0x00
-#define OFW_PCI_CS_IO 0x01
+#define OFW_PCI_CS_IO 0x01
#define OFW_PCI_CS_MEM32 0x02
#define OFW_PCI_CS_MEM64 0x03
@@ -62,4 +62,7 @@ struct ofw_pci_ranges {
(((uint64_t)(r)->size_hi << 32) | (uint64_t)(r)->size_lo)
#define OFW_PCI_RANGE_CS(r) (((r)->cspace >> 24) & 0x03)
+/* default values */
+#define OFW_PCI_LATENCY 64
+
#endif /* ! _SPARC64_PCI_OFW_PCI_H_ */
OpenPOWER on IntegriCloud