Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ disk.cfg(4) — UnixWare 2.01

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

pdiadd(1M)

pdirm(1M)






       disk.cfg(4)                                              disk.cfg(4)


       NAME
             disk.cfg - configuration defaults for mass-storage and SCSI
             devices

       DESCRIPTION
             Default values used by the pdiadd and pdirm commands can be
             set or changed with keywords in /etc/conf/pack.d/*/disk.cfg,
             where the * represents the name of any PDI-capable devices
             supported by your release of the UNIX System.

          Environment Variables
             The following variables are recognized in disk.cfg:

             NAMES Specifies the short name of this device, and is used in
                   the UNIX System configuration as the directory name for
                   the device, as represented by the * above.  For example,
                         NAMES=adsc
                   means that the device driver will be known by the string
                   adsc.  The NAMES variable is required in
                   /etc/conf/pack.d/*/disk.cfg.

             NAMEL Specifies the long name of this device in the UNIX
                   System configuration.  For example,
                         NAMEL="Adaptec Host Adapter"
                   means that the device driver is an Adaptec Host Adapter.
                   Notice that the long name must be enclosed in double
                   quotes, because it contains space characters.  This name
                   is used for informational messages.  The NAMEL variable
                   is required in /etc/conf/pack.d/*/disk.cfg.

             SHAR  Specifies the value for the ishare flag for this device,
                   and this flag is used in the UNIX System configuration
                   for the device.  For example,
                         SHAR=1
                   means that the device driver cannot share interrupts
                   with other devices in your UNIX System.

             IVEC  Specifies the value for the interrupt vector used by
                   this device, and is used in the UNIX System
                   configuration for the device.  For example,
                         IVEC=1
                   means that the device driver can only be configured at
                   interrupt 1.  Another way that a value for IVEC may be
                   specified is
                         IVEC="14 15 11"
                   which means that the device driver can be configured at


                           Copyright 1994 Novell, Inc.               Page 1













      disk.cfg(4)                                              disk.cfg(4)


                  either interrupt 14, 15, or 11.  This line also
                  indicates that interrupt 14 is the default value,
                  because it is the first value listed.  The IVEC variable
                  is required in /etc/conf/pack.d/*/disk.cfg.  If the
                  device does not use interrupts, the value 0 should be
                  specified.

            DMA1  Specifies the value for the DMA channel used by this
                  device, and is used in the UNIX System configuration for
                  the device.  For example,
                        DMA1=1
                  means that the device driver can only be configured at
                  DMA channel 1.  Another way that a value for DMA1 may be
                  specified is
                        DMA1="5 6 7"
                  which means that the device driver can be configured at
                  either DMA channel 5, 6, or 7.  This line also indicates
                  that DMA channel 5 is the default value, because it is
                  the first value listed.  The DMA1 variable is required
                  in /etc/conf/pack.d/*/disk.cfg.  If the device does not
                  use a DMA channel, the value 0 should be specified.

            IOADDR
                  Specifies the value for the I/O addresses used by this
                  device, and is used in the UNIX System configuration for
                  the device.  For example,
                        IOADDR="170-178"
                  means that the device driver can only be configured at
                  I/O address 0x170, and needs all addresses up to and
                  including 0x178.  Another way that a value for IOADDR
                  may be specified is
                        IOADDR="170-178 1F0-1F8"
                  which means that the device driver can be configured at
                  starting I/O address 0x170 or 0x1F0.  The value
                  specified after the dash always indicates the end of the
                  address range required by this device.  This line also
                  indicates that 0x170 is the default value for starting
                  I/O address for this device, because it is the first
                  value listed.  The IOADDR variable is required in
                  /etc/conf/pack.d/*/disk.cfg if the device uses an
                  address range for I/O registers.  Do not use prefix 0x
                  when specifying values for IOADDR.

            MEMADDR
                  Specifies the value for the memory addresses used by
                  this device, and is used in the UNIX System


                          Copyright 1994 Novell, Inc.               Page 2













       disk.cfg(4)                                              disk.cfg(4)


                   configuration for the device.  For example,
                         MEMADDR="C8000-C9FFF"
                   means that the device driver can only be configured at
                   memory address 0xC8000 and needs all addresses up to and
                   including 0xC9FFF.  Another way that a value for MEMADDR
                   may be specified is
                         MEMADDR="C8000-C9FFF D6000-D7FFF"
                   which means that the device driver can be configured at
                   starting memory address 0xC8000 or 0xD6000.  The value
                   specified after the dash always indicates the end of the
                   address range required by this device.  This line also
                   indicates that 0xC8000 is the default value for starting
                   memory address for this device, because it is the first
                   value listed.  The MEMADDR variable is required in
                   /etc/conf/pack.d/*/disk.cfg.  If the device does not use
                   an address range for a boot ROM or other purposes, a
                   value of 0-0" should be specified.  This value is a
                   valid value in a list of acceptable values if the use of
                   a memory address is optional for this device.  The
                   prefix 0x must not be used in the specification of
                   values for MEMADDR.

             DEVICE
                   Specifies the controller type for this device, and is
                   used to control the UNIX System configuration for the
                   device.  For example,
                         DEVICE=DCD
                   means that the device is a Directly Coupled Device,
                   while
                         DEVICE=SCSI
                   means that the device is a SCSI device.  The DEVICE
                   variable is required in /etc/conf/pack.d/*/disk.cfg.
                   The only allowable values for DEVICE are DCD and SCSI.

             DEVTYPE
                   Specifies the type of this device, and is used to
                   control the UNIX System configuration for the device.
                   For example,
                         DEVTYPE=DISK
                   means that the device is a disk device, while
                         DEVTYPE=TAPE
                   means that the device is a tape device.  The DEVTYPE
                   variable is required in /etc/conf/pack.d/*/disk.cfg if
                   the value of DEVICE is DCD.  The only allowable values
                   for DEVTYPE are DISK or TAPE.



                           Copyright 1994 Novell, Inc.               Page 3













      disk.cfg(4)                                              disk.cfg(4)


            DCD_IPL
                  Must contain the same value as the default value for the
                  IPL variable.  This variable is used during the
                  configuration process to record the current value of the
                  IPL variable for this device.  For example,
                        DCD_IPL=5
                  means that this DCD device is configured at IPL 5 in the
                  current UNIX System kernel.  The DCD_IPL variable is
                  required in /etc/conf/pack.d/*/disk.cfg if the value of
                  DEVICE is DCD.

            DCD_SHAR
                  Must contain the same value as the default value for the
                  SHAR variable.  This variable is used during the
                  configuration process to record the current value of the
                  SHAR variable for this device.  For example,
                        DCD_SHAR=3
                  means that this DCD device is configured at SHAR 3 in
                  the current UNIX System kernel.  The DCD_SHAR variable
                  is required in /etc/conf/pack.d/*/disk.cfg if the value
                  of DEVICE is DCD.

            DCD_IVEC
                  Must contain the same value as the default value for the
                  IVEC variable.  This variable is used during the
                  configuration process to record the current value of the
                  IVEC variable for this device.  For example,
                        DCD_IVEC=14
                  means that this DCD device is configured at IVEC 14 in
                  the current UNIX System kernel.  The DCD_IVEC variable
                  is required in /etc/conf/pack.d/*/disk.cfg if the value
                  of DEVICE is DCD.

         Files
            /etc/conf/pack.d/*/disk.cfg

      REFERENCES
            pdiadd(1M), pdirm(1M)










                          Copyright 1994 Novell, Inc.               Page 4








Typewritten Software • bear@typewritten.org • Edmonds, WA 98026