discover: Set OS Boot sensor with 0xa9
authorJoel Stanley <joel@jms.id.au>
Thu, 30 Apr 2015 06:02:03 +0000 (16:02 +1000)
committerJeremy Kerr <jk@ozlabs.org>
Fri, 1 May 2015 05:46:17 +0000 (13:46 +0800)
commit83a3159f19f237fa994d2c0a16f97f711d02472c
tree1facc2721f582619a8120f6086b2b90687ca4e78
parent28219c8896177558892f48bef03ef7381382c420
discover: Set OS Boot sensor with 0xa9

If we don't set all the things, we only get an assertion event, without
the state being asserted.

Despite the IPMI spec suggesting we only needed to set 0x10, aka the
assertion bits, testing reveals we want to set all of the things to
cause the BMC to assert the state.

Tested-by: Nick Bofferding <bofferdn@us.ibm.com>
Signed-off-by: Joel Stanley <joel@jms.id.au>
Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
discover/platform-powerpc.c