Download pSOSystem Programmer`s Reference

Transcript
pr.book Page 46 Thursday, January 28, 1999 9:18 AM
Standard pSOSystem Character I/O Interface
pSOSystem Programmer’s Reference
Device Read
The read operation follows the same interface and semantics as defined for the read
operation for a standard pSOSystem character device driver interface. Refer to section Device Read on page 4-20 for details.
Device Write
The write operation is not defined for TFTP driver.
Device Control
There are no device control functions defined for TFTP driver.
Reference Information
Supported Interfaces
Standard character I/O interface
Name registered in pSOS+ DNT
tftp
pRNC Name
///dev/tftp?<params>
Minor number encoding
0 through 0xFFFF - channel
number
Driver specific
parameters accepted by device
open entry
channel
The channel number to open
ipaddr
The IP address of the TFTP server
pathname
The complete path name of the file
to be transferred from the TFTP
server
Associated
SC_DEV_TFTP
The major number of the device
driver, or 0 if not to be configured
DEV_TFTP
The major number of device driver
shifted left by 16 bits; can be used
to create a valid pSOS+ device
number
SC_MAX_TFTP_CHA
N
Maximum number of channels that
can be simultaneously activated
sys_conf.h
parameters
pSOSystem Components required
4-46
pSOS+, pREPC+, pNA+/pNET+
TFTP