disk.cfg(4dsp)


disk.cfg -- configuration defaults for mass-storage devices

Description

Default values used by the sdiadd(1M) and sdirm(1M) commands can be set or changed with keywords in the /etc/conf/pack.d/*/disk.cfg file, where the ``*'' represents the name of any SDI-capable devices supported by your release of the UNIX® system.

Every HBA driver must include a disk.cfg file in its DSP, although the file may be empty.

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 can be specified is IVEC="14 15 11" which means that the device driver can be configured at 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 can 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 can 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 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 can 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 style of the Host Bus Adapter driver. Currently, the only supported style is specified as: DEVICE=SCSI This specification is used for all drivers. The DEVICE variable is required in /etc/conf/pack.d/*/disk.cfg.

Files

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

References

dcu(1M), sdiadd(1M), sdirm(1M)
25 April 2004
© 2004 The SCO Group, Inc. All rights reserved.
UnixWare 7 Release 7.1.4 - 25 April 2004