Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 15 Sep 2010 19:08:41 +0000 (UTC)
From:      Andreas Tobler <andreast@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r212687 - head/sys/powerpc/powermac
Message-ID:  <201009151908.o8FJ8fqK047224@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: andreast
Date: Wed Sep 15 19:08:41 2010
New Revision: 212687
URL: http://svn.freebsd.org/changeset/base/212687

Log:
  Increase register access delay to deal with the high-latency I2C
  chipset found in some models of Powermac G5.
  
  Approved by:	nwhitehorn (mentor)

Modified:
  head/sys/powerpc/powermac/kiic.c

Modified: head/sys/powerpc/powermac/kiic.c
==============================================================================
--- head/sys/powerpc/powermac/kiic.c	Wed Sep 15 18:51:15 2010	(r212686)
+++ head/sys/powerpc/powermac/kiic.c	Wed Sep 15 19:08:41 2010	(r212687)
@@ -250,7 +250,7 @@ static void
 kiic_writereg(struct kiic_softc *sc, u_int reg, u_int val)
 {
 	bus_write_4(sc->sc_reg, sc->sc_regstep * reg, val);
-	DELAY(10); /* register access delay */
+	DELAY(100); /* register access delay */
 }
 
 static u_int



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201009151908.o8FJ8fqK047224>