User's Guide

Scorpion 40 configurations for Windows NT, Novell, and UNIX 7
Configurations for the Sun UNIX environment
Dip switch settings
Before using the Scorpion 40 in a Sun UNIX environment, set the
operating-system dip switches as shown below:
Operating System / tape
driver software
Switch
5
Switch
6
Switch
7
Switch
8
Sun UNIX
ON OFF ON ON
Sun OS 4.1.x
To configure SunOS 4.1.x to use the Scorpion 40, you must modify
the
stdef.h
and
st_conf.c
files (in the directory /usr/sys/scsi/
targets), then rebuild the kernel, as described below:
1. Modify the
stdef.h
file by adding a define statement for the
Seagate drive like the one shown below:
#define ST_TYPE_SEAGATE_DAT <value>
This statement should be added after the last ST_TYPE_ define
statement in the file. <value> should be the next unused
hexadecimal value. This value will depend on the release and
number of devices supported by the system. For example, if the
last value for an existing device is 0x2d, then use a value of
0x2e.
2. Modify the
st_conf.c
file by adding the following lines at the end
of the device definition list:
/*Seagate DAT drive support */
{
“SEAGATE DAT”,7,”SEAGATE”,ST_TYPE_SEAGATE_DAT,10240,
(ST_VARIABLE|ST_BSF|ST_BSR|ST_LONG_ERASE|ST_KNOWS_EOD),
5000,5000,
{0x0,0x8c,0x8c,0x8c},
{0,0,0,0}
}
3. Use the
config
command to rebuild the kernel and include the
new device definition. Refer to the
config
man page for details.