]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Sleep rather than spin in e1000 when doing long running config operations.
authorMatt Macy <mmacy@FreeBSD.org>
Tue, 8 May 2018 01:39:45 +0000 (01:39 +0000)
committerMatt Macy <mmacy@FreeBSD.org>
Tue, 8 May 2018 01:39:45 +0000 (01:39 +0000)
commitd5210708ddb0cff13d9c202f803553d95182d7b7
tree390be148323595e78d6e87c80d27b52113ee65bc
parent2824088536acef4b85fc0ad93c595deccbedb3af
Sleep rather than spin in e1000 when doing long running config operations.

With r333218 it is now possible for drivers to use an sx lock and thus sleep while
waiting on long running operations rather than DELAY().

Reported by: gallatin
Reviewed by: sbruno
Approved by: sbruno
MFC after: 1 month
Sponsored by: Limelight Networks
Differential Revision: https://reviews.freebsd.org/D14984
sys/dev/e1000/e1000_80003es2lan.c
sys/dev/e1000/e1000_82571.c
sys/dev/e1000/e1000_82575.c
sys/dev/e1000/e1000_hw.h
sys/dev/e1000/e1000_i210.c
sys/dev/e1000/e1000_i210.h
sys/dev/e1000/e1000_ich8lan.c
sys/dev/e1000/e1000_mac.c
sys/dev/e1000/e1000_mac.h
sys/dev/e1000/e1000_osdep.h
sys/dev/e1000/if_em.c