Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 3 Nov 2019 21:10:47 +0000 (UTC)
From:      Vladimir Kondratyev <wulf@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r354316 - head/sys/dev/ichiic
Message-ID:  <201911032110.xA3LAlts072390@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: wulf
Date: Sun Nov  3 21:10:47 2019
New Revision: 354316
URL: https://svnweb.freebsd.org/changeset/base/354316

Log:
  [ig4] On SkyLake controllers issue reset on attach unconditionally.
  
  It is very helpful during debugging of I2C issues.
  It is done only for SkyLakes due to lack of testing on other hardware.

Modified:
  head/sys/dev/ichiic/ig4_iic.c

Modified: head/sys/dev/ichiic/ig4_iic.c
==============================================================================
--- head/sys/dev/ichiic/ig4_iic.c	Sun Nov  3 21:08:26 2019	(r354315)
+++ head/sys/dev/ichiic/ig4_iic.c	Sun Nov  3 21:10:47 2019	(r354316)
@@ -995,7 +995,7 @@ ig4iic_attach(ig4iic_softc_t *sc)
 
 	ig4iic_get_config(sc);
 
-	error = ig4iic_set_config(sc, false);
+	error = ig4iic_set_config(sc, sc->version == IG4_SKYLAKE);
 	if (error)
 		goto done;
 



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