# @(#)install:diskctlrs/mvme323	35.4
# MVME323 Installation Disk Controller Description
# Copyright 1988, Motorola, Inc.

ControllerDesignation=323

ControllerName=MVME323

ControllerTitle="The MVME323 ESDI Disk Controller"

ControllerDescription=`0<<!!! cat -
The MVME323 controller supports one to four
182Mb or 390Mb (Wren V) CDC disk drives.
!!!`

ControllerNumbers=`0<<!!! cat -
0	\
0/m323182,m323182s,m323390,m323390s;\
1/m323182,m323182s,m323390,m323390s;\
2/m323182,m323182s,m323390,m323390s;\
3/m323182,m323182s,m323390,m323390s
!!!`

ControllerUpgradeScript=`0<<!!!! cat -
if [ X"\\${DEBUG}" = X"true" ]
then
	M323CONV=:
else
	M323CONV=m323conv
fi

0<<!!! cat -
			0<<DONE cat -
***> Upgrading disk volume ID block (please ignore controller errors)
DONE
			sleep 5
			if \\${M323CONV} \\\\\\${deviceNode}
			then
				: Success
			else
				0<<DONE 1>&2 cat -

ERROR:	Unexpected m323conv error occurred; the disk drive associated
 	to the \\\\\\${deviceNode} may be in need of formatting.
 	Installation procedure cannot proceed and is being aborted.

DONE
				exit 1
			fi
!!!
!!!!`
