summaryrefslogtreecommitdiffstats
path: root/sys/sparc64/pci/psychoreg.h
diff options
context:
space:
mode:
authortmm <tmm@FreeBSD.org>2003-01-06 16:51:06 +0000
committertmm <tmm@FreeBSD.org>2003-01-06 16:51:06 +0000
commit10a0c5eb2d03beb4ed32cb585bdec8d53b445ad2 (patch)
tree25c58981bfcf9888791dd7f907600133d9809b22 /sys/sparc64/pci/psychoreg.h
parent624cac54faa2c349d902819fd9d9e8bc334ef3d4 (diff)
downloadFreeBSD-src-10a0c5eb2d03beb4ed32cb585bdec8d53b445ad2.zip
FreeBSD-src-10a0c5eb2d03beb4ed32cb585bdec8d53b445ad2.tar.gz
- remove some outdated comments
- tweak the announce message a bit - remove '\n's from a few panic() calls - don't use the DVMA base adress the firmware reports; instead, figure it out from the appropriate register on Sabres and let the IOMMU code choose it on Psychos. This also makes the IOMMU TSB size freely selectable.
Diffstat (limited to 'sys/sparc64/pci/psychoreg.h')
-rw-r--r--sys/sparc64/pci/psychoreg.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/sys/sparc64/pci/psychoreg.h b/sys/sparc64/pci/psychoreg.h
index d7b0381..ad13acd 100644
--- a/sys/sparc64/pci/psychoreg.h
+++ b/sys/sparc64/pci/psychoreg.h
@@ -240,6 +240,9 @@
#define UEAFSR_P_DWR (1UL << 61) /* pri. error during write */
#define UEAFSR_P_DRD (1UL << 62) /* pri. error during read */
+/* Definitions for the target address space register. */
+#define PCITAS_ADDR_SHIFT 29
+
/* Definitions for the psycho configuration space */
#define PCS_DEVICE 0 /* Device number of psycho CS entry */
#define PCS_FUNC 0 /* Function number of psycho CS entry */
OpenPOWER on IntegriCloud