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)
Thu, Nov 20, 8:47 AM
Unknown Object (File)
Thu, Nov 13, 1:56 PM
Unknown Object (File)
Wed, Nov 12, 5:29 AM
Unknown Object (File)
Mon, Nov 10, 3:08 AM
Unknown Object (File)
Tue, Nov 4, 10:42 AM
Unknown Object (File)
Thu, Oct 30, 3:48 AM
Unknown Object (File)
Oct 22 2025, 9:09 PM
Unknown Object (File)
Oct 18 2025, 2:56 AM
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