summaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authorMarco Peereboom <marco@cvs.openbsd.org>2006-01-04 23:07:03 +0000
committerMarco Peereboom <marco@cvs.openbsd.org>2006-01-04 23:07:03 +0000
commit5c30e575b3bdddf4d3bd5789f7ef78031023fbae (patch)
tree46d8a402124d45c042426f8bcabf7df218cb18d1 /sys/dev
parentf1f8ec084a4848342229b45f81844372a42bb6b3 (diff)
Make bitfields readable. ok jordan@
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/ipmivar.h21
1 files changed, 11 insertions, 10 deletions
diff --git a/sys/dev/ipmivar.h b/sys/dev/ipmivar.h
index 47ce9823677..6c81488897e 100644
--- a/sys/dev/ipmivar.h
+++ b/sys/dev/ipmivar.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: ipmivar.h,v 1.8 2005/12/16 03:16:47 marco Exp $ */
+/* $OpenBSD: ipmivar.h,v 1.9 2006/01/04 23:07:02 marco Exp $ */
/*
* Copyright (c) 2005 Jordan Hargrave
@@ -178,15 +178,16 @@ typedef struct {
u_int64_t smipmi_base_address; /* Base address of BMC (BAR
* format) */
u_int8_t smipmi_base_flags; /* Flags field:
- * spacing/lsb/irq bit 7:6 :
- * register spacing 00 = byte
- * alignment 01 = dword
- * alignment 02 = word
- * alignment bit 4 : Lower bit
- * of base address bit 3 : IRQ
- * valid bit 1 : Interrupt
- * polarity bit 0 : Interrupt
- * trigger mode */
+ * bit 7:6 : register spacing
+ * 00 = byte
+ * 01 = dword
+ * 02 = word
+ * bit 4 : Lower bit BAR
+ * bit 3 : IRQ valid
+ * bit 2 : N/A
+ * bit 1 : Interrupt polarity
+ * bit 0 : Interrupt trigger
+ */
u_int8_t smipmi_irq; /* IRQ if applicable */
} __packed smbios_ipmi_t;