diff options
author | rstone <rstone@FreeBSD.org> | 2015-03-10 23:27:13 +0000 |
---|---|---|
committer | rstone <rstone@FreeBSD.org> | 2015-03-10 23:27:13 +0000 |
commit | a76e348a4b790b714d72dd53286a81bbef9b5f28 (patch) | |
tree | f4bd98022dea28fc45ddb0e266b3e0ede3b1a14a /share/misc/committers-src.dot | |
parent | c7380868012628ae72d3d9823118d11e58df0681 (diff) | |
download | FreeBSD-src-a76e348a4b790b714d72dd53286a81bbef9b5f28.zip FreeBSD-src-a76e348a4b790b714d72dd53286a81bbef9b5f28.tar.gz |
Fix SR-IOV passthrough devices to allow ppt to attach
A late change to the SR-IOV infrastructure broke passthrough of
VFs. device_set_devclass() was being used to try to force the
ppt driver to attach to the device, but this didn't work because
the DF_FIXEDCLASS flag wasn't being set on the device, so the
ppt driver probe routine would not match when it returned
BUS_NOWILDCARD. Fix this by adding a new device function that
both sets the devclass and sets the DF_FIXEDCLASS flag, and use
that to force the ppt driver to attach to VFs.
Differential Revision: https://reviews.freebsd.org/D2041
Reviewed by: jhb
MFC after: 3 weeks
Diffstat (limited to 'share/misc/committers-src.dot')
0 files changed, 0 insertions, 0 deletions