CVSROOT:        /cvs
Module name:    src
Changes by:     [email protected]    2017/05/08 06:41:23

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

Log message:
In iwm(4) avoid locking the NIC redundantly and perform accounting of
locking and unlocking. Make sure we don't unlock 7000 family NICs while
a command is being processed (later NICs apparently don't need this).

Inspired by similar approaches in Linux and Dragonfly, and a patch given
to me by Imre Vadasz.
Tested by me on 7265 and 8260 devices, and on a 7260 device by Stefan Wollny.

Reply via email to