postinstall revision 5c1d0199d69216ebefa9ed86940778f6d215a97f
696N/A# The contents of this file are subject to the terms of the 696N/A# Common Development and Distribution License (the "License"). 696N/A# You may not use this file except in compliance with the License. 696N/A# See the License for the specific language governing permissions 696N/A# and limitations under the License. 696N/A# When distributing Covered Code, include this CDDL HEADER in each 696N/A# If applicable, add the following below this CDDL HEADER, with the 696N/A# fields enclosed by brackets "[]" replaced with your own identifying 696N/A# information: Portions Copyright [yyyy] [name of copyright owner] 696N/A# Copyright 2007 Sun Microsystems, Inc. All rights reserved. 696N/A# Use is subject to license terms. 696N/A# ident "%Z%%M% %I% %E% SMI" 696N/A# Function: check_add_drv() 844N/A# If not simply calls add_drv with the arguments given. If there is 696N/A# such an entry in name_to_major file, it adds entries in driver_aliases 696N/A# driver_classes and minor_perm if necessary. 696N/A# The syntax of this function is the same as add_drv. \?) echo "check_add_drv can not handle this option" # NB: We really would have liked to use update_drv here, but # since we can't do that (see CR 6281386), we have this code. # Note that if we've never added this driver before, the add_drv # below takes care of worrying about conflicting entries in # driver squatting on the alias.) # entry already in name_to_major, add alias, class, minorperm # Okay, so 128h is not a legal PCI vendor id. But apparently some SPARC # firmware creates the node with this id. Not sure why, possibly it is # a firmware bug, possibly it was intended to prevent the driver from # being used with 3rd party NICs. Whatever the reason, it isn't relevant # anymore, but we still have to support the old node. -i
'"pci128h,9102" "pci108e,9102" "pci1282,9102"' \