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
F115211326: D4759.id11880.diff
Mon, Apr 21, 11:40 AM
Unknown Object (File)
Fri, Apr 18, 6:54 AM
Unknown Object (File)
Mar 10 2025, 9:31 PM
Unknown Object (File)
Feb 21 2025, 8:30 PM
Unknown Object (File)
Feb 18 2025, 12:00 PM
Unknown Object (File)
Jan 8 2025, 1:39 AM
Unknown Object (File)
Jan 6 2025, 11:05 PM
Unknown Object (File)
Jan 4 2025, 1:03 PM
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.