- Tweak an error message.
- Fix a buglet where && was used instead of & to test if OBF was set in a couple of places. MFC after: 1 week
This commit is contained in:
parent
66fe9e3277
commit
93269b7123
@ -169,7 +169,7 @@ kcs_error(struct ipmi_softc *sc)
|
||||
return;
|
||||
}
|
||||
}
|
||||
device_printf(sc->ipmi_dev, "KCS Error retry exhausted\n");
|
||||
device_printf(sc->ipmi_dev, "KCS: Error retry exhausted\n");
|
||||
}
|
||||
|
||||
/*
|
||||
@ -555,7 +555,7 @@ ipmi_kcs_probe_align(struct ipmi_softc *sc)
|
||||
/* Finish out the transaction. */
|
||||
|
||||
/* Clear OBF */
|
||||
if (status && KCS_STATUS_OBF)
|
||||
if (status & KCS_STATUS_OBF)
|
||||
data = INB(sc, KCS_DATA);
|
||||
|
||||
/* 0x00 to DATA_IN */
|
||||
@ -597,7 +597,7 @@ ipmi_kcs_probe_align(struct ipmi_softc *sc)
|
||||
}
|
||||
|
||||
/* Clear OBF */
|
||||
if (status && KCS_STATUS_OBF)
|
||||
if (status & KCS_STATUS_OBF)
|
||||
data = INB(sc, KCS_DATA);
|
||||
} else
|
||||
device_printf(sc->ipmi_dev, "KCS probe: end state %x\n",
|
||||
|
Loading…
Reference in New Issue
Block a user