summaryrefslogtreecommitdiffstats
path: root/sys/dev/sound/pci
diff options
context:
space:
mode:
authorken <ken@FreeBSD.org>2003-03-26 04:38:39 +0000
committerken <ken@FreeBSD.org>2003-03-26 04:38:39 +0000
commit70bd0898d60fb2ba96ed2a53c6793e4a26e1e9a6 (patch)
tree55fcde982310d70b959e99a3fccd476d3eacebc9 /sys/dev/sound/pci
parentb29b2ea5669747bf7af4f5a8a3dc82ec95dd802e (diff)
downloadFreeBSD-src-70bd0898d60fb2ba96ed2a53c6793e4a26e1e9a6.zip
FreeBSD-src-70bd0898d60fb2ba96ed2a53c6793e4a26e1e9a6.tar.gz
Clean up dynamically allocated sysctl variables when we run dacleanup() and
cdcleanup(). This fixes sysctl problems ("can't re-use a leaf") when someone adds another peripheral at the same unit number. (e.g. rescan da0, it goes away, then rescan again and da0 comes back, but since we haven't cleaned up the sysctl variables from the last da0 instance, we can't register the variables for the new instance under the same name.) Reported by: njl Tested by: njl
Diffstat (limited to 'sys/dev/sound/pci')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud