]> git.baikalelectronics.ru Git - kernel.git/commit
ipmi: Handle BMCs that don't allow clearing the rcv irq bit
authorCorey Minyard <cminyard@mvista.com>
Fri, 3 Apr 2015 17:13:48 +0000 (12:13 -0500)
committerCorey Minyard <cminyard@mvista.com>
Sat, 11 Apr 2015 01:51:42 +0000 (20:51 -0500)
commitcc913c941c55be169086eae62a5fa1af5a9c8faa
tree86eb47ed9056f0a99117eb991dc9ec00e47dbe6f
parente5296a9a66126b47d1c05715252a9e7a654a3281
ipmi: Handle BMCs that don't allow clearing the rcv irq bit

Some BMCs don't let you clear the receive irq bit in the global
enables.  This is kind of silly, but they give an error if you
try to clear it.  Compensate for this by detecting the situation
and working around it.

Signed-off-by: Corey Minyard <cminyard@mvista.com>
Tested-by: Thomas D <whissi@whissi.de>
Reviewed-by: Thomas D <whissi@whissi.de>
drivers/char/ipmi/ipmi_si_intf.c