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)
Fri, Jan 10, 5:59 AM
Unknown Object (File)
Dec 4 2024, 12:23 AM
Unknown Object (File)
Nov 19 2024, 10:31 AM
Unknown Object (File)
Nov 19 2024, 8:47 AM
Unknown Object (File)
Nov 18 2024, 4:46 AM
Unknown Object (File)
Nov 7 2024, 9:47 PM
Unknown Object (File)
Nov 5 2024, 11:22 AM
Unknown Object (File)
Oct 28 2024, 12:02 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