diff options
Diffstat (limited to 'sys/dev/ipmi.c')
-rw-r--r-- | sys/dev/ipmi.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/sys/dev/ipmi.c b/sys/dev/ipmi.c index f82fdd3d3c5..fc5dc6ba467 100644 --- a/sys/dev/ipmi.c +++ b/sys/dev/ipmi.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ipmi.c,v 1.33 2006/01/19 17:08:39 grange Exp $ */ +/* $OpenBSD: ipmi.c,v 1.34 2006/01/29 17:29:29 marco Exp $ */ /* * Copyright (c) 2005 Jordan Hargrave @@ -59,6 +59,7 @@ struct ipmi_sensor { int ipmi_nintr; int ipmi_dbg = 0; int ipmi_poll = 1; +int ipmi_enabled = 0; #define SENSOR_REFRESH_RATE (10 * hz) @@ -1750,6 +1751,9 @@ ipmi_attach(struct device *parent, struct device *self, void *aux) printf(" irq %d", ia->iaa_if_irq); printf("\n"); + /* setup flag to exclude iic */ + ipmi_enabled = 1; + /* Setup Watchdog timer */ sc->sc_wdog_period = 0; wdog_register(sc, ipmi_watchdog); |