User`s manual
siop_init()
SBCSCSI/D1 3-3
3
siop_init()
NAME
siop_init ÑInitialize the SIOP Firmware
SYNOPSIS
#include "scsi.h" /* SCSI specific definitions */
#include "ncr.h" /* Firmware structure definitions */
#include "ncr710.h" /* hardware/firmware specific definitions */
#include "scsi_err.h" /* error definitions */
UINT siop_init(initvals, siopdatap)
INIT_TYPE_1 *initvals; /* pointer to a structure which contains init
values (refer to Appendix B) */
struct siopdata *siopdatap;/* SIOP Firmware global data pointer */
DESCRIPTION
The initialization routine initializes the SIOP chip, Firmware structures, and
Firmware flags. It must be called before the siop_cmd and siop_int entry
points. Input to this routine is a pointer to an initialization structure and a
pointer to a global data work area.
The INIT_TYPE_1 initialization structure is defined in the appendix on data
structures (Appendix B). The siopdata area is allocated by your Application,
but its definition is private to the Firmware (see below).
This routine returns status to the caller after initialization is complete.
RETURN VALUE
Status of the Firmware is returned in the least significant byte (LSB) of the
returned value.