Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ sdevice(F) — OpenDesktop 1.0.0y

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

mdevice(F)

idinstall(ADM)

SDEVICE(F)



     SDEVICE(F)                                 UNIX System V



     Name
          sdevice - local device configuration file


     Syntax
          /etc/conf/cf.d/sdevice


     Description
          The  sdevice  file  contains  local   system   configuration
          information for each of the devices specified in the mdevice
          file.  It contains one  or  more  entries  for  each  device
          specified  in  mdevice.  sdevice is present in the directory
          /etc/conf/cf.d, and is coalesced from component files in the
          directory /etc/conf/sdevice.d.  Files in /etc/conf/sdevice.d
          are the System file components  either  delivered  with  the
          base system or installed later via idinstall.

          Each entry must contain the  following  whitespace-separated
          fields:

          1.   Device name: This field contains the internal  name  of
               the  driver.   This  must match one of the names in the
               first field of an mdevice file entry.

          2.   Configure: This field must contain  the  character  'Y'
               indicating  that  the  device is to be installed in the
               kernel.  For testing purposes, an 'N'  may  be  entered
               indicating that the device will not be installed.

          3.   Unit: This field can be encoded with a device dependent
               numeric  value.   It  is  usually used to represent the
               number of subdevices on a controller or  pseudo-device.
               Its value must be within the minimum and maximum values
               specified in fields 7 and 8 of the mdevice entry.

          4.   Ipl: The ipl field specifies the system  ipl  level  at
               which  the  driver's  interrupt handler will run in the
               new system kernel.  Legal values are 0 through  8.   If
               the  driver doesn't have an interrupt handling routine,
               put a 0 in this field.

          5.   Type: This field indicates the type of interrupt scheme
               required by the device.  The permissible values are:

                  0 - The device does not require an interrupt line.

                  1 - The device requires an interrupt line.
                      If the driver supports more  than  one  hardware
                      controller,  each controller requires a separate
                      interrupt.

                  2 - The device requires an interrupt line.
                      If the driver supports more  than  one  hardware
                      controller,  each controller will share the same
                      interrupt.

                  3 - The device requires an interrupt line.
                      If the driver supports more  than  one  hardware
                      controller,  each controller will share the same
                      interrupt.  Multiple device drivers  having  the
                      same ipl level can share this interrupt.

          6.   Vector: This field contains the interrupt vector number
               used  by  the  device.   If the Type field contains a 0
               (i.e., no interrupt required),  this  field  should  be
               encoded  with  a 0.  Note that more than one device can
               share an interrupt number.

          7.   SIOA: The SIOA field (Start I/O Address)  contains  the
               starting  address  on  the  I/O  bus  through which the
               device communicates.  This field must be within 0x1 and
               0x3fff.   (If  this  field  is  not  used, it should be
               encoded with the value zero.)

          8.   EIOA: The field (End  I/O  Address)  contains  the  end
               address  on  the  I/O  bus  through  which  the  device
               communicates.   This  field  must  be  within  0x1  and
               0x3fff.   (If  this  field  is  not  used, it should be
               encoded with the value zero.)

          9.   SCMA: The SCMA field (Start Controller Memory  Address)
               is  used  by controllers that have internal memory.  It
               specifies the starting address of  this  memory.   This
               field  must  be  within  0xa0000 and 0xfbfff.  (If this
               field is not used, it should be encoded with the  value
               zero.)

          10.  ECMA:  The  ECMA  (End   Controller   Memory   Address)
               specifies  the  end  of  the  internal  memory  for the
               device.  This field must be within 0xa0000 and 0xfbfff.
               (If  this  field is not used, it should be encoded with
               the value zero.)


     See Also
          mdevice(F), idinstall(ADM)


     (printed 8/23/89)                                  SDEVICE(F)

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