CVSROOT:        /cvs
Module name:    src
Changes by:     d...@cvs.openbsd.org    2010/07/07 00:00:01

Modified files:
        sys/dev/pci    : mpii.c 

Log message:
use a mutex to ensure writes to the two registers used to post commands to
the chip are atomic wrt to all cpus in a system.

mpii_push_reply only writes to one reg, so it is already atomic. neither
it or mpii_start need splbio now.

mpii(4) is still not completely mpsafe cos all the sleeps done while
waiting for completion still rely on splbio.

Reply via email to