]> bbs.cooldavid.org Git - net-next-2.6.git/commit
[PATCH] IPMI: fix request events
authorCorey Minyard <minyard@acm.org>
Thu, 7 Dec 2006 04:41:04 +0000 (20:41 -0800)
committerLinus Torvalds <torvalds@woody.osdl.org>
Thu, 7 Dec 2006 16:39:47 +0000 (08:39 -0800)
commit55162fb165571b3ba4283fe657f1a5968cef361a
tree9341bb3293c155603f47760dc72182d38a175e1d
parentb9675136e2ad95156fb93be6155f17590bb26fd7
[PATCH] IPMI: fix request events

When the IPMI message handler requested that the interface look for events,
the ipmi_si driver would request flags, see if the event buffer full flag was
set, then request events.  It's better to just send the request for events, as
it cuts one message out of the transaction if there happens to be events, and
it will fetch events even if the event buffer was not full.

Signed-off-by: Corey Minyard <minyard@acm.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/char/ipmi/ipmi_si_intf.c