]> git.baikalelectronics.ru Git - kernel.git/commit
ipmi: only register one si per bmc
authorMatthew Garrett <mjg@redhat.com>
Wed, 26 May 2010 21:43:46 +0000 (14:43 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 27 May 2010 16:12:49 +0000 (09:12 -0700)
commit3c9dbdfa21949131413b8d904b8fd886caadc51d
tree3b45ebdb73cea591cfd162ca651d374723cf3fd8
parent62f1238a56822c8c62eaca422ebb699a64f68312
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