postinstall revision 3695222e2a2e1ff9d1f12560f85ffdffcf78c69f
#
# Copyright 2007 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
#ident "%Z%%M% %I% %E% SMI"
#
# SUNWagp postinstall script
export PATH
BRALIAS="\
\"pci8086,7124\" \
\"pci8086,7122\" \
\"pci8086,7120\" \
\"pci1022,7454\" \
\"pci8086,3580\" \
\"pci8086,3575\" \
\"pci8086,2560\" \
\"pci8086,2570\" \
\"pci8086,2580\" \
\"pci8086,2590\" \
\"pci8086,2770\" \
\"pci8086,1130\" \
"
CPUGART='"pci1022,1103"'
DRVPERM='* 0644 root sys'
driver=$1
return $?
}
EXIT=0
add_drv -b "${BASEDIR}" \
-m "${DRVPERM}" \
-i "${BRALIAS}" \
agptarget || \
EXIT=1
# amd64_gart is only needed in AMD64 system
installed amd64_gart || \
add_drv -b "${BASEDIR}" \
-m "${DRVPERM}" \
-i "${CPUGART}" \
amd64_gart || \
EXIT=1
add_drv -b "${BASEDIR}" \
-m "${DRVPERM}" \
agpgart || \
EXIT=1
exit ${EXIT}