summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Shalayeff <mickey@cvs.openbsd.org>2000-04-18 20:16:22 +0000
committerMichael Shalayeff <mickey@cvs.openbsd.org>2000-04-18 20:16:22 +0000
commit36bd97c6c4f48db2440921ba91c3e5b11b829bdd (patch)
tree2a439211c4e49be6d9ae7a6cbf058de4ea732651
parent31bb887a5ceddeb55f2550c379873ea9982218ae (diff)
some PDC calls
-rw-r--r--sys/arch/hppa/include/pdc.h15
1 files changed, 14 insertions, 1 deletions
diff --git a/sys/arch/hppa/include/pdc.h b/sys/arch/hppa/include/pdc.h
index f0fc7a0c614..417a1e85d0d 100644
--- a/sys/arch/hppa/include/pdc.h
+++ b/sys/arch/hppa/include/pdc.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: pdc.h,v 1.11 1999/07/21 20:17:54 mickey Exp $ */
+/* $OpenBSD: pdc.h,v 1.12 2000/04/18 20:16:21 mickey Exp $ */
/*
* Copyright (c) 1990 mt Xinu, Inc. All rights reserved.
@@ -229,6 +229,10 @@
#define PDC_SOFT_POWER_INFO 0 /* get info about soft power switch */
#define PDC_SOFT_POWER_ENABLE 1 /* enable/disable soft power switch */
+#define PDC_PAT_IO 71 /* online services for IO modules */
+#define PDC_PAT_IO_GET_PCI_RTSZ 15
+#define PDC_PAT_IO_GET_PCI_RT 16
+
#define PDC_MEMMAP 128 /* hp700: return page information */
#define PDC_MEMMAP_HPA 0 /* map module # to HPA */
@@ -241,6 +245,10 @@
#define PDC_LAN_STATION_ID 138 /* Hversion dependent mechanism for */
#define PDC_LAN_STATION_ID_READ 0 /* getting the lan station address */
+#define PDC_PCI_INDEX 147 /* PCI rt access */
+#define PDC_PCI_GET_INT_TBL_SZ 13
+#define PDC_PCI_GET_INT_TBL 14
+
#define PDC_ERR_OK 0 /* operation complete */
#define PDC_ERR_WARNING 3 /* OK, but warning */
#define PDC_ERR_NOPROC -1 /* no such procedure */
@@ -431,6 +439,11 @@ struct pdc_hwtlb { /* PDC_TLB */
u_int filler[30];
};
+struct pdc_pat_io_num { /* PDC_PAT_IO */
+ u_int num;
+ u_int filler[31];
+};
+
struct pdc_memmap { /* PDC_MEMMAP */
u_int hpa; /* HPA for module */
u_int morepages; /* additional IO pages */