summaryrefslogtreecommitdiff
path: root/sys/arch/sparc64/dev/fhcreg.h
diff options
context:
space:
mode:
Diffstat (limited to 'sys/arch/sparc64/dev/fhcreg.h')
-rw-r--r--sys/arch/sparc64/dev/fhcreg.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/sys/arch/sparc64/dev/fhcreg.h b/sys/arch/sparc64/dev/fhcreg.h
index 6364b6abfad..325d07ba387 100644
--- a/sys/arch/sparc64/dev/fhcreg.h
+++ b/sys/arch/sparc64/dev/fhcreg.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: fhcreg.h,v 1.3 2004/09/28 16:26:03 jason Exp $ */
+/* $OpenBSD: fhcreg.h,v 1.4 2007/05/01 19:44:56 kettenis Exp $ */
/*
* Copyright (c) 2004 Jason L. Wright (jason@thought.net).
@@ -71,3 +71,8 @@ struct fhc_intr_reg {
u_int64_t unused_1;
};
+#define FHC_INO(ino) ((ino) & 0x7)
+#define FHC_S_INO 0
+#define FHC_U_INO 1
+#define FHC_T_INO 2
+#define FHC_F_INO 3