summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorangelos <angelos@openbsd.org>1998-06-28 02:39:25 +0000
committerangelos <angelos@openbsd.org>1998-06-28 02:39:25 +0000
commit0cb4f6387cb9d702606f53f21666aa897ad2b1c0 (patch)
treea8dd2b7797856d2012789dcf73f9a1a1cc8ee67e
parentminor sync with reality (still needs a lot of work) (diff)
downloadwireguard-openbsd-0cb4f6387cb9d702606f53f21666aa897ad2b1c0.tar.xz
wireguard-openbsd-0cb4f6387cb9d702606f53f21666aa897ad2b1c0.zip
Extend struct cia_config, needed for the EB164LX/SX support (and other
things to come), from NetBSD.
-rw-r--r--sys/arch/alpha/pci/ciavar.h13
1 files changed, 12 insertions, 1 deletions
diff --git a/sys/arch/alpha/pci/ciavar.h b/sys/arch/alpha/pci/ciavar.h
index 0a5aea714a8..fba8d413408 100644
--- a/sys/arch/alpha/pci/ciavar.h
+++ b/sys/arch/alpha/pci/ciavar.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: ciavar.h,v 1.6 1997/01/24 19:57:40 niklas Exp $ */
+/* $OpenBSD: ciavar.h,v 1.7 1998/06/28 02:39:25 angelos Exp $ */
/* $NetBSD: ciavar.h,v 1.6 1996/11/25 03:49:11 cgd Exp $ */
/*
@@ -46,6 +46,17 @@ struct cia_config {
u_int32_t cc_hae_mem;
u_int32_t cc_hae_io;
+ u_int32_t cc_hae_mem;
+ u_int32_t cc_hae_io;
+
+ u_int32_t cc_rev;
+ u_int32_t cc_cnfg;
+
+ int cc_flags;
+
+#define CCF_ISPYXIS 0x01 /* chip is a 21174 Pyxis */
+#define CCF_USEBWX 0x02 /* use BWX when possible */
+
struct extent *cc_io_ex, *cc_d_mem_ex, *cc_s_mem_ex;
int cc_mallocsafe;
};