Page MenuHomeFreeBSD

jh7110_pcie.c: add empty pic methods to conform conventions
ClosedPublic

Authored by jsihv_gmx.com on Aug 20 2025, 9:07 AM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Dec 8, 11:47 AM
Unknown Object (File)
Mon, Dec 1, 5:01 AM
Unknown Object (File)
Mon, Dec 1, 5:01 AM
Unknown Object (File)
Sat, Nov 29, 7:04 PM
Unknown Object (File)
Sat, Nov 29, 4:15 PM
Unknown Object (File)
Fri, Nov 28, 9:05 AM
Unknown Object (File)
Thu, Nov 20, 8:47 AM
Unknown Object (File)
Thu, Nov 13, 1:56 PM
Subscribers

Details

Summary

This commit updates the driver code to conform with an undocumented convention which says that certain functions need always be implemented together regardless of their content (or lack of). It's been said that unimplemented KOBJ methods become stubs which return ENXIO so this commit does not imply a functional change.

I considered copying a comment from tegra_pcie.c (on edge triggered MSI interrupts) here but it seems usually these empty pic methods are left uncommented (I'm fine with it either way).

Diff Detail

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