git: kernel - Fix ig4 operation for certain machines
dillon at crater.dragonflybsd.org
Mon Mar 21 11:35:57 PDT 2016
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date: Mon Mar 21 11:33:54 2016 -0700
kernel - Fix ig4 operation for certain machines
* Some machine BIOSes use the I2C bus and leave it in a state that causes
interrupts to not work properly due to a pending interrupt having been
* Refactor the code a bit to clear pending interrupts when I2C is enabled.
This fixes the primary problem.
* Also fix a possible race condition in the interrupt handler where the
interrupt was being cleared after reading the status instead of before.
Summary of changes:
sys/bus/smbus/ichiic/ig4_iic.c | 12 ++++++++----
1 file changed, 8 insertions(+), 4 deletions(-)
DragonFly BSD source repository
More information about the Commits