i.kclasses_sparc revision 5c44817c0d1a2b9b02dbbf343823da0b064f0ee7
75c0816e8295e180f4bc7f10db3d0d880383bc1cMark Andrews# CDDL HEADER START
4a14ce5ba00ab7bc55c99ffdcf59c7a4ab902721Automatic Updater# The contents of this file are subject to the terms of the
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein# Common Development and Distribution License (the "License").
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein# You may not use this file except in compliance with the License.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein# See the License for the specific language governing permissions
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein# and limitations under the License.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein# When distributing Covered Code, include this CDDL HEADER in each
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein# If applicable, add the following below this CDDL HEADER, with the
ea94d370123a5892f6c47a97f21d1b28d44bb168Tinderbox User# fields enclosed by brackets "[]" replaced with your own identifying
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein# information: Portions Copyright [yyyy] [name of copyright owner]
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein# CDDL HEADER END
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein#ident "%Z%%M% %I% %E% SMI"
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein# Copyright 2008 Sun Microsystems, Inc. All rights reserved.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein# Use is subject to license terms.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein obs["xbox"] = 1;
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein obs["sbi"] = 1;
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein } !($1 in obs) {print $0}'
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein if [ ! -f $dest ] ; then
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein sed -e '/^#ident[ ]*\"@(#)driver_classes.*$/d' \
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein -e '/^\"QLGC,isp\"[ ]*scsi$/d' \
5d564da348e890e42f63eebf2dced9a05b41f4fbTinderbox User -e '/^\"SUNW,isp\"[ ]*scsi$/d' \
5d564da348e890e42f63eebf2dced9a05b41f4fbTinderbox User -e '/^ncr[ ]*scsi$/d' \
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein -e '/^vme[ ]*vme$/d' \
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein -e '/^pci[ ]*pci$/d' \
11e9368a226272085c337e9e74b79808c16fbdbaTinderbox User if [ $? != 0 ] ; then
11e9368a226272085c337e9e74b79808c16fbdbaTinderbox User if [ $? != 0 ] ; then
5d564da348e890e42f63eebf2dced9a05b41f4fbTinderbox User if [ $? != 0 ] ; then
44d0f0256fbdce130a18655023c3b06bacacbd61Automatic Updater grep '^pci_pci[ ].*pci' $dest > /dev/null 2>&1
6f64d4ab8e68f9b2333bcbfc755396d29a4a9d7cAutomatic Updater if [ $? != 0 ] ; then
5d564da348e890e42f63eebf2dced9a05b41f4fbTinderbox User if [ $? != 0 ] ; then
5d564da348e890e42f63eebf2dced9a05b41f4fbTinderbox User if [ $? != 0 ] ; then
5d564da348e890e42f63eebf2dced9a05b41f4fbTinderbox User if [ $? != 0 ] ; then
44d0f0256fbdce130a18655023c3b06bacacbd61Automatic Updater if [ $? != 0 ] ; then
bbbf2e27d3a981163dab139497d6b2dc85449db0Tinderbox User if [ $? != 0 ] ; then
bd84b04e4fda4f41923bba6e7277546d87045b5aTinderbox User if [ $? != 0 ] ; then
5d564da348e890e42f63eebf2dced9a05b41f4fbTinderbox User if [ $? != 0 ] ; then
bcf15a19ae0efa72a22cdfb50666a3c6ce39eb9fTinderbox User grep '^scsi_vhci[ ].*scsi-self-identifying' $dest > /dev/null 2>&1
44d0f0256fbdce130a18655023c3b06bacacbd61Automatic Updater if [ $? != 0 ] ; then
bd84b04e4fda4f41923bba6e7277546d87045b5aTinderbox User echo 'scsi_vhci scsi-self-identifying' >> $dest