#
# CDDL HEADER START
#
# 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.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
# See the License for the specific language governing permissions
# and limitations under the License.
#
# When distributing Covered Code, include this CDDL HEADER in each
# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
# 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]
#
# CDDL HEADER END
#
#
# Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
# Use is subject to license terms.
# Copyright 2019 Peter Tribble.
#
#
# NOTICE: This file contains important KERNEL STATE.  Do not edit this file.
# Its format and contents are subject to change in future releases of Solaris.
#

#
# keyboard and mouse configuration rules
#
# Configure and/or unconfigure a keyboard into the keyboard console stream.
# pushmod is the STREAMS module to be pushed on the minor node specified by
# driver-minorname.  The pushmod varies based on the keyboard hardware.
#
driver-minorname="hid:internal_keyboard" consconfig_dacf:kb_config post-attach - pushmod="usbkbm"
driver-minorname="hid:internal_keyboard" consconfig_dacf:kb_config pre-detach - pushmod="usbkbm"

#
# Configure and/or unconfigure a mouse into the mouse console stream.  pushmod
# is the STREAMS module to be pushed on the minor node specified by
# driver-minorname.  The pushmod varies based on the mouse hardware.
#
driver-minorname="hid:internal_mouse" consconfig_dacf:ms_config post-attach - pushmod="usbms"
driver-minorname="hid:internal_mouse" consconfig_dacf:ms_config pre-detach - pushmod="usbms"
driver-minorname="zs:mouse" consconfig_dacf:ms_config post-attach - pushmod="ms"
driver-minorname="su:mouse" consconfig_dacf:ms_config post-attach - pushmod="ms"
driver-minorname="mouse8042:internal_mouse" consconfig_dacf:ms_config post-attach - pushmod="vuid3ps2"
driver-minorname="mouse8042:internal_mouse" consconfig_dacf:ms_config pre-detach - pushmod="vuid3ps2"
driver-minorname="su_pnp:mouse" consconfig_dacf:ms_config post-attach - pushmod="ms"

#
# Devices directly supporting the keyboard API need no device-specific module,
# but do need to be linked to the console stream.
#
minor-nodetype="ddi_keyboard" consconfig_dacf:kb_config post-attach -
minor-nodetype="ddi_keyboard" consconfig_dacf:kb_config pre-detach -

#
# Configure and/or unconfigure DDI_NT_NET devices.
#
minor-nodetype="ddi_network" net_dacf:net_config post-attach -
minor-nodetype="ddi_network" net_dacf:net_config pre-detach -
