summaryrefslogtreecommitdiff
path: root/sys/arch/hppa/include/cpu.h
diff options
context:
space:
mode:
Diffstat (limited to 'sys/arch/hppa/include/cpu.h')
-rw-r--r--sys/arch/hppa/include/cpu.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/arch/hppa/include/cpu.h b/sys/arch/hppa/include/cpu.h
index 8763c036dca..fa72e7b52ea 100644
--- a/sys/arch/hppa/include/cpu.h
+++ b/sys/arch/hppa/include/cpu.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: cpu.h,v 1.59 2008/10/15 23:23:47 deraadt Exp $ */
+/* $OpenBSD: cpu.h,v 1.60 2009/02/01 14:53:04 miod Exp $ */
/*
* Copyright (c) 2000-2004 Michael Shalayeff
@@ -142,6 +142,7 @@ extern register_t kpsw;
#define HPPA_FLEX_DATA 0xfff80001
#define HPPA_DMA_ENABLE 0x00000001
#define HPPA_FLEX_MASK 0xfffc0000
+#define HPPA_FLEX_SIZE (1 + ~HPPA_FLEX_MASK)
#define HPPA_FLEX(a) (((a) & HPPA_FLEX_MASK) >> 18)
#define HPPA_SPA_ENABLE 0x00000020
#define HPPA_NMODSPBUS 64