]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Use the standard method for localizing of MSI-X table bar.
authormmel <mmel@FreeBSD.org>
Wed, 16 Dec 2020 14:39:24 +0000 (14:39 +0000)
committermmel <mmel@FreeBSD.org>
Wed, 16 Dec 2020 14:39:24 +0000 (14:39 +0000)
commitc5946e1deef1b73e74dcb3596847d6b1d7564561
tree96504db14de4d0fbc8de9e3a12c517624499e7cf
parent720f0dd169993cf70246af7eab050e315664e1ca
Use the standard method for localizing of MSI-X table bar.

Current way, hardcoded value plus heuristic is not conform to the PCI(e)
specification and it fails on systems where MSI-X bar is not initialized by
BIOS/ACPI (many arm or arm64 systems for example).
Instead, use the standard PCI(e) capability for determining of
MSIX table bar address.

MFC after: 3 weeks
Differential Revision: https://reviews.freebsd.org/D27265
sys/dev/e1000/if_em.c
sys/dev/e1000/if_em.h