Fix a typo in wbwd so that CRF5 is actually written to the data register

rather than the index register.

Reviewed by:	bz
MFC after:	3 days
This commit is contained in:
Robert Noland 2012-05-29 16:25:01 +00:00
parent 0490d34982
commit 63fb0bb621

View File

@ -638,7 +638,7 @@ wb_attach(device_t dev)
*/
sc->reg_1 &= ~(WB_LDN8_CRF5_KEYB_P20);
write_efir_1(sc, WB_LDN8_CRF5);
write_efir_1(sc, sc->reg_1);
write_efdr_1(sc, sc->reg_1);
sc->reg_2 &= ~WB_LDN8_CRF7_CLEAR_MASK;
write_efir_1(sc, WB_LDN8_CRF7);