Page MenuHomeFreeBSD

LinuxKPI: pci.h make pci_dev argument const for pci_{read,write}_config*()
ClosedPublic

Authored by bz on Oct 25 2021, 5:11 PM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Nov 25, 10:38 PM
Unknown Object (File)
Mon, Nov 17, 11:03 AM
Unknown Object (File)
Mon, Nov 3, 1:58 PM
Unknown Object (File)
Fri, Oct 31, 12:59 AM
Unknown Object (File)
Oct 27 2025, 8:53 PM
Unknown Object (File)
Oct 27 2025, 5:33 PM
Unknown Object (File)
Oct 13 2025, 10:46 PM
Unknown Object (File)
Oct 13 2025, 10:46 PM

Details

Summary

Make the struct pci_dev argument to the pci_{read,write}_config*()
functions "const" to match the Linux definition as some drivers
try to pass in a const argument which we currently fail to honor.

Sponsored by: The FreeBSD Foundation
MFC after: 3 days

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable