postinstall revision 7c478bd95313f5f23a4c958a745db2134aa03244
#
# Copyright 2005 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"'
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}