User`s manual

Adding SDL Tools Support for New Devices
SBCSCSI/D1 E-17
E
3. Edit "file.c", altering all parameters required to support the new device as
required. Refer to the SCSI-2, SCSI Driver Library, and manufacturer's
speciÞcations for initialization parameters.
4. If a "MakeÞle" is being used, add "file.c" and "file.o" to the SOURCES and
OBJECTS lists, as well as the compiler invocation instructions which build
"file.o".
5. From the above table, locate the appropriate array for the device type
being added, in the Þle "globals.c". Add the name of the new device to the
array. If more than MAX_DEVICES (deÞned in "t167.h") entries appear in
the array declaration, the compiler generates an error message. Either the
value of MAX_DEVICES must then be changed, or support for an existing
device deleted.
Table E-3. Template Files
Device Type File Array
direct-access, Þxed-media devices, i.e.,
conventional hard-disk drives
"t167daf.c" sdp_daf[ ]
direct-access, removable-media devices, i.e.,
ßoppy-disk drives
"t167dar.c" sdp_dar[ ]
sequential-access devices, i.e., streaming
tape drives
"t167sad.c" sdp_sad[ ]