ipmi: Compensate for BMCs that wont set the irq enable bit
authorCorey Minyard <cminyard@mvista.com>
Tue, 18 Aug 2015 19:29:10 +0000 (14:29 -0500)
committerCorey Minyard <cminyard@mvista.com>
Thu, 3 Sep 2015 20:02:30 +0000 (15:02 -0500)
commitd08828973d96eb26e48fb7ca8fb8a8d49adbe53a
tree10eb205c71c4f97388c4eb50ba5eab54926f76ad
parentc49c097610fe1aabf86111297280a718abb5dcc2
ipmi: Compensate for BMCs that wont set the irq enable bit

It appears that some BMCs support interrupts but don't support setting
the irq enable bits.  The interrupts are just always on.  Sigh.
Add code to compensate.

The new code was very similar to another functions, so this also
factors out the common code into other functions.

Signed-off-by: Corey Minyard <cminyard@mvista.com>
Tested-by: Henrik Korkuc <henrik@kirneh.eu>
drivers/char/ipmi/ipmi_si_intf.c