HomeFreeBSD

sound: remove PCM_KLDSTRING() and fix status strings

Description

sound: remove PCM_KLDSTRING() and fix status strings

PCM_KLDSTRING() prints the kernel module associated with a given audio
device only when that module is not compiled in. Get rid of
PCM_KLDSTRING() altogether and print the driver name (even for modules
that are compiled in) instead, as it implies the module as well.

While here, convert all status strings to the following dmesg-like
format:

[<port|mem> <irq>] on <driver>

Sponsored by: The FreeBSD Foundation
MFC after: 2 weeks
Reviewed by: markj, imp
Differential Revision: https://reviews.freebsd.org/D43349

Details

Provenance
christosAuthored on Jan 16 2024, 4:48 PM
Reviewer
markj
Differential Revision
D43349: sound: remove PCM_KLDSTRING() and fix status strings
Parents
rG18d87fe4fe3b: snd_uaudio: provide information about the device name and attached driver
Branches
Unknown
Tags
Unknown