]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
sfxge(4): check NVRAM locking by partition ID
authorAndrew Rybchenko <arybchik@FreeBSD.org>
Fri, 23 Nov 2018 10:21:06 +0000 (10:21 +0000)
committerAndrew Rybchenko <arybchik@FreeBSD.org>
Fri, 23 Nov 2018 10:21:06 +0000 (10:21 +0000)
commit3d670ff5319583e94b61f591b7b0c209295fe88a
tree034a6c3b298c4c8ee9072d1d36c1fc59693d6550
parent8241ccd203b60b35397a95d20ed7533f18149704
sfxge(4): check NVRAM locking by partition ID

Tracking which partition is locked avoids being overly conservative
when EFX_NVRAM_xxx maps to more than one partition (depnding on the
current port number).

Submitted by:   Andy Moreton <amoreton at solarflare.com>
Sponsored by:   Solarflare Communications, Inc.
Differential Revision:  https://reviews.freebsd.org/D18090
sys/dev/sfxge/common/efx_impl.h
sys/dev/sfxge/common/efx_nvram.c