341N/A# The contents of this file are subject to the terms of the
688N/A# Common Development and Distribution License (the "License").
341N/A# You may not use this file except in compliance with the License.
341N/A# See the License for the specific language governing permissions
341N/A# and limitations under the License.
341N/A# When distributing Covered Code, include this CDDL HEADER in each
341N/A# If applicable, add the following below this CDDL HEADER, with the
341N/A# fields enclosed by brackets "[]" replaced with your own identifying
341N/A# information: Portions Copyright [yyyy] [name of copyright owner]
341N/A# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
341N/A# Use is subject to license terms.
688N/A# add_drv ecpp driver if not already installed
341N/Amodnum=`grep -c ecpp ${NAMEMAJOR}`
341N/Aif [ "$modnum" = "0" ]; then
341N/A # add new entries to name_to_major, minor_perm, driver_classes files
688N/A# add alias if necessary for Lucent PCI modem
341N/Alucent_alias=`grep -c pci11c1,480 ${DRIVER_ALIASES}`
341N/Aif [ "${ARCH}" = "i386" -a "$lucent_alias" = "0" ]; then