[Bug 238037] [PATCH] Implement ig4 suspend/resume

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Mon Jul 8 08:42:10 UTC 2019


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=238037

--- Comment #13 from J.R. Oldroyd <fbsd at opal.com> ---
I have already tried this and, unfortunately, it does not help.  I have also
tried it with the DELAY(1000) in there too (same as in the iic_attach() code). 
Same problem: it still requires the "iic -f /dev/iic1 -s" after resume to reset
it.  Even though it doesn't solve the problem, I think this code should be
there per the spec.

While we're doing this, I suggest moving the definitions of reg_read() and
reg_write() from where they are in ig4_iic.c to ig4_var.h so that they can also
be used here in ig4_pci.c.  That makes the code here easier to read.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-bugs mailing list