Page MenuHomeFreeBSD

Fix ixl(4) compilation with PCI_IOV pre-r266974
ClosedPublic

Authored by ngie on Jan 3 2016, 6:29 AM.
Tags
None
Referenced Files
Unknown Object (File)
Oct 23 2024, 1:43 AM
Unknown Object (File)
Oct 23 2024, 1:42 AM
Unknown Object (File)
Oct 23 2024, 1:42 AM
Unknown Object (File)
Oct 23 2024, 1:23 AM
Unknown Object (File)
Oct 8 2024, 8:56 PM
Unknown Object (File)
Oct 2 2024, 6:14 PM
Unknown Object (File)
Oct 2 2024, 6:14 AM
Unknown Object (File)
Oct 2 2024, 4:39 AM
Subscribers

Details

Summary

Fix ixl(4) compilation with PCI_IOV pre-r266974

stable/10 doesn't have the if_getdrvflags(9) KPI. Reference the field in the
structure directly instead if the __FreeBSD_version is < 1100022, so the
driver can be built with PCI_IOV support on stable/10, which lacks this KPI.

MFC after: 1 week
Sponsored by: EMC / Isilon Storage Division

Test Plan
  • make buildkernel
  • kldload ixl

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

ngie retitled this revision from to Fix ixl(4) compilation with PCI_IOV pre-r266974.
ngie updated this object.
ngie edited the test plan for this revision. (Show Details)
ngie added a reviewer: erj.
ngie added subscribers: rstone, sbruno.
sbruno added a reviewer: sbruno.
This revision is now accepted and ready to land.Jan 3 2016, 5:43 PM
erj edited edge metadata.
This revision was automatically updated to reflect the committed changes.