svn commit: r354316 - head/sys/dev/ichiic
Vladimir Kondratyev
wulf at FreeBSD.org
Sun Nov 3 21:10:48 UTC 2019
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;
More information about the svn-src-all
mailing list