ipmi: Generate an interrupt on watchdog pretimeout expiry
Add the watchdog pretimeout to the bits that cause an interrupt on attn. Otherwise the user won't know. Signed-off-by: Corey Minyard <cminyard@mvista.com>
This commit is contained in:
parent
fb45770bf5
commit
8bc8af6912
@ -477,7 +477,9 @@ static int attn_set(IPMIBmcSim *ibs)
|
||||
|
||||
static int attn_irq_enabled(IPMIBmcSim *ibs)
|
||||
{
|
||||
return (IPMI_BMC_MSG_INTS_ON(ibs) && IPMI_BMC_MSG_FLAG_RCV_MSG_QUEUE_SET(ibs))
|
||||
return (IPMI_BMC_MSG_INTS_ON(ibs) &&
|
||||
(IPMI_BMC_MSG_FLAG_RCV_MSG_QUEUE_SET(ibs) ||
|
||||
IPMI_BMC_MSG_FLAG_WATCHDOG_TIMEOUT_MASK_SET(ibs)))
|
||||
|| (IPMI_BMC_EVBUF_FULL_INT_ENABLED(ibs) &&
|
||||
IPMI_BMC_MSG_FLAG_EVT_BUF_FULL_SET(ibs));
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user