svn commit: r236245 - head/sys/dev/wbwd
Robert Noland
rnoland at FreeBSD.org
Tue May 29 16:25:02 UTC 2012
Author: rnoland
Date: Tue May 29 16:25:01 2012
New Revision: 236245
URL: http://svn.freebsd.org/changeset/base/236245
Log:
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
Modified:
head/sys/dev/wbwd/wbwd.c
Modified: head/sys/dev/wbwd/wbwd.c
==============================================================================
--- head/sys/dev/wbwd/wbwd.c Tue May 29 16:21:43 2012 (r236244)
+++ head/sys/dev/wbwd/wbwd.c Tue May 29 16:25:01 2012 (r236245)
@@ -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);
More information about the svn-src-all
mailing list