]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Use the standard method for localizing of MSI-X table bar.
authorMichal Meloun <mmel@FreeBSD.org>
Wed, 16 Dec 2020 14:39:24 +0000 (14:39 +0000)
committerMichal Meloun <mmel@FreeBSD.org>
Wed, 16 Dec 2020 14:39:24 +0000 (14:39 +0000)
commit63d973c3e94cb253d61fb82679a8497dbb955230
tree96504db14de4d0fbc8de9e3a12c517624499e7cf
parentc0ffd35cbb30b4a6ff2948168ea320c7779c1b11
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