Page MenuHomeFreeBSD

pcm: Turn SND_DECLARE_FILE into a no-op.
ClosedPublic

Authored by jhb on Aug 17 2023, 10:00 PM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Nov 5, 4:13 PM
Unknown Object (File)
Thu, Oct 24, 2:56 AM
Unknown Object (File)
Oct 2 2024, 1:24 PM
Unknown Object (File)
Sep 26 2024, 9:08 PM
Unknown Object (File)
Sep 24 2024, 1:10 AM
Unknown Object (File)
Sep 23 2024, 11:17 PM
Unknown Object (File)
Sep 20 2024, 6:33 AM
Unknown Object (File)
Sep 19 2024, 5:42 AM
Subscribers
None

Details

Summary

SND_DECLARE_FILE originally added lines to the output of /dev/sndstat
listing the $FreeBSD$ strings for individual files, but only if the
value of hw.snd.verbose was raised to 3. With the switch to Git these
strings became meaningless as they were now all identical and no longer
contained the path (which was implicitly included previously via the
keyword expansion).

This commit removes all of the infrastructure to support file version
strings from /dev/sndstat, but preserve the KPI/KBI by turning the
SND_DECLARE_FILE macro into a nop and changing the backing sysinit
functions into null functions and is suitable for merging to
stable/13.

A future commit will remove SND_DECLARE_FILE entirely.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 53162
Build 50053: arc lint + arc unit