Technical data

SunOS 5.5 Devices riles(7D)
Once in theDL_ATTACHED state, the user must send a DL_BIND_REQ to associate a par-
ticular SAP (Service Access Point) with the stream.
CONFIGURATION riles.conf is the configuration file for the riles device driver. The riles.conf file should
contain the following properties.
intr This specifies the spl level and theIRQ level for which the board
has been configured
reg A list of sets where each set contains 3 values specifying the
entry number in the riles.conf file, and the starting address and
size (in bytes) of the onboard RAM (see sysbus(4)).
It is the system administrator’s responsibilityto ensure that these values do not conflict
with those used by any other board in the system.
The module gld, on which the riles driver depends, should be present in the /kernel/misc
directory.
EXAMPLES An example of an entry in the riles.conf file is given below.
name="riles" class="sysbus" intr=5,3 reg=0,0xc0000,0x4000;
This indicates that the I/O address for the board is 0x300, the spl level is 5, the IRQ level
is set to 3, the board’s shared memory is configured to begin at 0xc0000 and its memory
size is 0x4000 bytes.
FILES /dev/riles character special device
/kernel/drv/riles riles device driver
/kernel/drv/riles.conf riles device driver configuration file
/kernel/misc/gld GenericLAN Driver
SEE ALSO netstat(1M), sysbus(4), dlpi(7P), streamio(7I)
Writing Device Drivers
STREAMS Programming Guide
Standards Conformance Guide
DIAGNOSTICS The following diagnostic messages are output by the driver.
riles%d: cannot allocate private data structure (attach failed)
riles%d: cannot allocate transmit buffer (attach failed)
The driver cannot allocate resources needed for its operation. Consequently, the
driver does not get loaded.
riles%d: cannot read EISA nvm for slot %d (attach failed)
The driver failed to read the configured settings of the specified board from the
EISA non-volatile memory. The driver does not get loaded.
riles%d: no intr property in riles.conf (attach failed)
The intr property is not present in the riles.conf file. The driver does not get
loaded.
modified 5 May 1995 7D-277