]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Fix PNP matching for iflib NIC drivers
authorConrad Meyer <cem@FreeBSD.org>
Tue, 24 Mar 2020 19:20:10 +0000 (19:20 +0000)
committerConrad Meyer <cem@FreeBSD.org>
Tue, 24 Mar 2020 19:20:10 +0000 (19:20 +0000)
commit704101dd3d6750105f809f21f553e67437cf0813
treeff26c3d319593bb2520e0c2ce077f944fa01ba69
parentcdb51c125ab63e5047bfe63aa481ede761c44bc4
Fix PNP matching for iflib NIC drivers

The previous descriptor string specified that all fields were significant for
match.  However, the only significant fields for in-tree drivers are
vendor:devid, and the fictitious zero values constructed by PVID() did not
match real subvendor, subdevice, revision, and/or class values, resulting in no
automatic probe.

If a future iflib driver needs to match on other criteria, the descriptor
string can be updated accordingly.  (E.g., "V32" and ~0 for unspecified values
in PVID().)

Reported by: mav
Sponsored by: Dell EMC Isilon
sys/net/iflib.h