CVSROOT:        /cvs
Module name:    src
Changes by:     s...@cvs.openbsd.org    2018/04/29 02:42:16

Modified files:
        sys/dev/pci    : if_em_hw.c if_em_hw.h 

Log message:
em: Improve access logic for software flag

Some em chips have a semaphore ("software flag") to synchronize access
to certain registers between OS and firmware (ME/AMT).

Make the logic to get the flag match the logic in freebsd. This includes
higher timeouts and waiting for a previous unlock to complete before
trying a lock again.

ok mikeb@

Reply via email to