ipmi: only register one si per bmc
commitd8cc5267b802003e2c67ac5254788044852ccfa9
authorMatthew Garrett <mjg@redhat.com>
Wed, 26 May 2010 21:43:46 +0000 (26 14:43 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 27 May 2010 16:12:49 +0000 (27 09:12 -0700)
tree3b45ebdb73cea591cfd162ca651d374723cf3fd8
parent2407d77a1a013b88ee3b817f2b934e420e5376f5
ipmi: only register one si per bmc

Only register one si per bmc.  Use any user-provided devices first,
followed by the first device with an irq, followed by the first device
discovered.

Signed-off-by: Matthew Garrett <mjg@redhat.com>
Signed-off-by: Corey Minyard <cminyard@mvista.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/char/ipmi/ipmi_si_intf.c