diff options
author | Marco Peereboom <marco@cvs.openbsd.org> | 2006-01-04 23:07:03 +0000 |
---|---|---|
committer | Marco Peereboom <marco@cvs.openbsd.org> | 2006-01-04 23:07:03 +0000 |
commit | 5c30e575b3bdddf4d3bd5789f7ef78031023fbae (patch) | |
tree | 46d8a402124d45c042426f8bcabf7df218cb18d1 /sys/dev | |
parent | f1f8ec084a4848342229b45f81844372a42bb6b3 (diff) |
Make bitfields readable. ok jordan@
Diffstat (limited to 'sys/dev')
-rw-r--r-- | sys/dev/ipmivar.h | 21 |
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; |