svn commit: r237340 - stable/8/sys/dev/wbwd

Robert Noland rnoland at FreeBSD.org
Wed Jun 20 21:28:17 UTC 2012


Author: rnoland
Date: Wed Jun 20 21:28:17 2012
New Revision: 237340
URL: http://svn.freebsd.org/changeset/base/237340

Log:
  MFC r236245
  
  Fix a typo in wbwd so that CRF5 is actually written to the data register
  rather than the index register.

Modified:
  stable/8/sys/dev/wbwd/wbwd.c
Directory Properties:
  stable/8/sys/   (props changed)
  stable/8/sys/amd64/include/xen/   (props changed)
  stable/8/sys/boot/   (props changed)
  stable/8/sys/cddl/contrib/opensolaris/   (props changed)
  stable/8/sys/contrib/dev/acpica/   (props changed)
  stable/8/sys/contrib/pf/   (props changed)
  stable/8/sys/dev/e1000/   (props changed)

Modified: stable/8/sys/dev/wbwd/wbwd.c
==============================================================================
--- stable/8/sys/dev/wbwd/wbwd.c	Wed Jun 20 21:10:38 2012	(r237339)
+++ stable/8/sys/dev/wbwd/wbwd.c	Wed Jun 20 21:28:17 2012	(r237340)
@@ -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