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)
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

Simple merge