Vax 613 0S Instruction Manual Page 286

  • Download
  • Add to my manuals
  • Print
  • Page
    / 344
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 285
OPEN
OPEN
Open an I/O device for access.
Format
status = DISPATCH(OPEN,
device_str,
device_str_length);
Arguments
OPEN
OPEN function code (10
16
).
device_str
Virtual address of a device name string. This string is of the format of the boot_
dev environment variable:
"protocol tc_num tc_slot channel remote_address unit boot_dev_type ctrl_dev_type"
Where:
protocol SCSI, MOP, or BOOTP
tc_num 0
tc_slot TURBOchannel slot number
channel SCSI port A or B
remote_address 0 for disk , Ethernet address for network
unit ID and LUN for SCSI
boot_dev_type 0 = disk, 1 = tape, 2 = network
ctrl_dev_type Module type (for example, PMAZ, FLAM-IO...)
device_str_length
Length in bytes of the device string.
Description
This routine prepares an I/O device for use by the READ and WRITE routines.
The OPEN routine assigns a unique channel number to the device; no other
OPEN device has the same number. Two devices minimum can be open at one
time. Eight devices can be supported at one time. OPEN can be used to open
access to SCSI, Ethernet, FLASH ROM, and TURBOchannel devices on the DEC
3000 AXP.
16–62 Console
Page view 285
1 2 ... 281 282 283 284 285 286 287 288 289 290 291 ... 343 344

Comments to this Manuals

No comments