Welcome | spec | C-PLOT | Support | Users | Contact
 
Contents -> ADMINISTRATOR'S GUIDE -> Installed Files -> Enabling E/ISA I/O Ports On HP 700 Systems
spec Manual


5.5.5. - Enabling E/ISA I/O Ports On HP 700 Systems



The process for making the E/ISA I/O ports on HP 700 platforms involves a few steps. A config file for the HP eisa_config utility is required, such as the following, which is appropriate for the Oregon Micro Systems PC boards:
    BOARD
            ID = "OMS0001"
            NAME = "OMS PCX/PC38 Motor Controllers"
            MFR = "Oregon Micro Systems"
            CATEGORY = "OTH"
            SLOT = ISA8
            IOCHECK = INVALID
            DISABLE = UNSUPPORTED
    
    FUNCTION = "I/O Registers"
            TYPE="OTH"
            CHOICE="default"
            LINK
                    PORT = 330h
                    SIZE = BYTE
                    SHARE = NO
            LINK
                    PORT = 331h
                    SIZE = BYTE
                    SHARE = NO
            LINK
                    PORT = 332h
                    SIZE = BYTE
                    SHARE = NO
            LINK
                    PORT = 333h
                    SIZE = BYTE
                    SHARE = NO
    
A similar file needs to be created for each ISA card you intend to use with spec and placed in the directory /etc/eisa with a name that matches the board ID, as in !OMS0001.CFG for ID = "OMS0001". The IDs are arbitrary for ISA boards. Be sure to enter the PORT addresses for all the I/O ports to be used on the card.

After the configuration files are installed, you must run the HP eisa_config utility to save the configuration. You must also reboot the computer to make the boards available.

When spec starts up, it will use the CSS hp_ports utility to create a special file that will be used to access the ports. For example, the special file /dev/ioports/0x330 will be created to access the ports described in the example above. spec will create one special file for each eight consecutive I/O ports.


  Top
  Prev | Next