ipmi: split device discovery and registration
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)
commit2407d77a1a013b88ee3b817f2b934e420e5376f5
treebb7eeb2621dccc01964612e664de17d612a7aa11
parent5fedc4a282f0c6f5be5e4bebc8840f6022153bb3
ipmi: split device discovery and registration

The ipmi spec indicates that we should only make use of one si per bmc, so
separate device discovery and registration to make that possible.

[thenzl@redhat.com: fix mutex use]
Signed-off-by: Matthew Garrett <mjg@redhat.com>
Signed-off-by: Corey Minyard <cminyard@mvista.com>
Signed-off-by: Tomas Henzl <thenzl@redhat.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