devices-audio revision 88447a05f537aabe9a1bc3d5313f22581ec992a7
# The contents of this file are subject to the terms of the # Common Development and Distribution License (the "License"). # You may not use this file except in compliance with the License. # See the License for the specific language governing permissions # and limitations under the License. # When distributing Covered Code, include this CDDL HEADER in each # If applicable, add the following below this CDDL HEADER, with the # fields enclosed by brackets "[]" replaced with your own identifying # information: Portions Copyright [yyyy] [name of copyright owner] # Copyright 2009 Sun Microsystems, Inc. All rights reserved. # Use is subject to license terms. # In order to populate the initial startup mapping of devfs links to # the audio subsystem (necessary to properly report numbers in # /dev/sndstat and in the OSS sysinfo ioctls -- thank you Linux!) we # need to run some code at boot. We key this off of the handler in # devfsadm for the audio node(s). # Additionally, we need to make sure the streams audio module is # loaded so that the symbolic links are properly created for STREAMs # devices and point to a reasonable device node.