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)
Fri, Apr 26, 1:28 AM
Unknown Object (File)
Sun, Apr 21, 6:28 AM
Unknown Object (File)
Dec 20 2023, 8:36 AM
Unknown Object (File)
Dec 12 2023, 1:04 PM
Unknown Object (File)
Nov 24 2023, 5:28 PM
Unknown Object (File)
Oct 23 2023, 4:27 PM
Unknown Object (File)
Sep 23 2023, 6:19 PM
Unknown Object (File)
Sep 6 2023, 12:23 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 Not Applicable
Unit
Tests Not Applicable