Library /sys$common/syshlp/sysmanhelp.hlb
IO, CONNECT, Examples

 *Conan The Librarian (sorry for the slow response - running on an old VAX)

    1.SYSMAN> IO CONNECT DKA0:/DRIVER_NAME=SYS$DKDRIVER/CSR=%X80AD00-
      /ADAPTER=4/NUM_VEC=3/VECTOR_SPACING=%X10/VECTOR=%XA20/LOG

      %SYSMAN-I-IOADDRESS, the CRB is located at address 805AEC40
      %SYSMAN-I-IOADDRESS, the DDB is located at address 805AA740
      %SYSMAN-I-IOADDRESS, the DPT is located at address 80D2A000
      %SYSMAN-I-IOADDRESS, the IDB is located at address 805AEE80
      %SYSMAN-I-IOADDRESS, the SB is located at address 80417F80
      %SYSMAN-I-IOADDRESS, the UCB is located at address 805B68C0

      The command in this example connects device DKA0, loads driver
      SYS$DKDRIVER, and specifies the following data:

         Physical CSR address
         Adapter number
         Number of vectors
         Spacing between vectors
         Interrupt vector address

      The /LOG qualifier displays the addresses of all control
      blocks, as shown.

    2.SYSMAN> IO CONNECT DKA0:/DRIVER_NAME=SYS$DKDRIVER/CSR=%X80AD00-
      /ADAPTER=4/VECTOR=(%XA20,%XA30,%XA40)/LOG=(CRB,DPT,UCB)

      %SYSMAN-I-IOADDRESS, the CRB is located at address 805AEC40
      %SYSMAN-I-IOADDRESS, the DPT is located at address 80D2A000
      %SYSMAN-I-IOADDRESS, the UCB is located at address 805B68C0

      The command in this example connects device DKA0, loads driver
      SYS$DKDRIVER, and specifies the following data:

         Physical CSR address
         Adapter number
         Addresses for interrupt vectors

      The /LOG qualifier displays the addresses of the channel
      request block (CRB), the driver prologue table (DPT), and the
      unit control block (UCB).

    3.SYSMAN> IO CONNECT FTA0:/DRIVER=SYS$FTDRIVER/NOADAPTER/LOG=(ALL)

      %SYSMAN-I-IOADDRESS, the CRB is located at address 805AEC40
      %SYSMAN-I-IOADDRESS, the DDB is located at address 805AA740
      %SYSMAN-I-IOADDRESS, the DPT is located at address 80D2A000
      %SYSMAN-I-IOADDRESS, the IDB is located at address 805AEE80
      %SYSMAN-I-IOADDRESS, the SB is located at address 80417F80
      %SYSMAN-I-IOADDRESS, the UCB is located at address 805B68C0

      The command in this example connects pseudoterminal FTA0,
      loads driver SYS$FTDRIVER, and uses the /NOADAPTER qualifier
      to indicate that FTA0 is not an actual hardware device. The
      /LOG=(ALL) qualifier displays the addresses of all control
      blocks, as shown.

    For more information about loading and configuing device drivers,
    refer to Writing OpenVMS Alpha Device Drivers in C.
  Close     HLB-list     TLB-list     Help  

[legal] [privacy] [GNU] [policy] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.