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)
Wed, Jun 19, 9:50 AM
Unknown Object (File)
Wed, Jun 19, 9:24 AM
Unknown Object (File)
Mon, Jun 17, 11:04 PM
Unknown Object (File)
May 26 2024, 11:20 PM
Unknown Object (File)
May 20 2024, 5:22 AM
Unknown Object (File)
May 16 2024, 12:44 AM
Unknown Object (File)
Apr 26 2024, 8:53 PM
Unknown Object (File)
Apr 26 2024, 8:30 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.