If a sound module is compiled in, the PCM_KLDSTRING() macro usedPCM_KLDSTRING() adds the audio device's associated kernel module to formthe
the string passed to pcm_setstatus(), and later fetchwhich is used by the SNDCTL_CARDINFO
SNDCTL_CARDINFO ioctl to populate the "hw_info" field of oss_card_info,. However, because
will not contain any information about the module responsible for thePCM_KLDSTRING() only works for modules not compiled in the kernel, this
related device(s). However,information is not always available. it doesn't hurt to provide that informationThis patch gets rid of
even when thePCM_KLDSTRING() altogether as it doesn't hurt to include this
information even for module iss that are compiled in.
Sponsored by: The FreeBSD FoundationWhile at it, the string format is slightly changed from "at <info> kld
<module>" to "at <module>/<info>" to make the output cleaner.
Sponsored by: The FreeBSD Foundation
MFC after: 2 weeks