Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ master(F) — Xenix 2.3.4g

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

config(C)

configure(C)



     MASTER(F)                XENIX System V                 MASTER(F)



     Name
          master - Master device information table.

     Description
          master contains device information used by config(C) to
          generate the configuration files.  The file consists of 4
          parts, each separated by a line with a dollar sign ($) in
          column 1.

               - Part 1 contains device information.
               - Part 2 contains the line discipline table.
               - Part 3 contains names of devices that have aliases.
               - Part 4 contains tunable parameter information.

          Any line with an asterisk (*) in column 1 is treated as a
          comment.

        Part 1
          This part contains definitions for the system devices.  Each
          line has 14 fields with the fields delimited by tabs and/or
          blanks:

               Field 1:       Device name (8 chars. maximum).
               Field 2:       Number of interrupt vectors.
               Field 3:       Device mask (octal).  Each ``on'' bit
                              indicates that the driver has the
                              corresponding handler or structure:
                                   000400  tty structure.
                                   000200  Not used.
                                   000100  Initialization handler.
                                   000040  Clock time poll routine.
                                   000020  Open handler.
                                   000010  Close handler.
                                   000004  Read handler.
                                   000002  Write handler.
                                   000001  Ioctl handler.
               The clock time poll routine, if present in the driver,
               is called every clock tick in which the clock
               interrupted task-time processing.
               Field 4:       Device type indicator (octal):
                                   000200 Not used
                                   000100  No qswtch on interrupt.
                                   000040  Not used.
                                   000020  Required device.
                                   000010  Block device.
                                   000004  Character device.
                                   000002  Not used.
                                   000001  Not used.
               Field 5:       Handler prefix (4 chars. maximum).
                              Usually same as Field 1. The routines of
                              dev.c should begin dev... The tty
                              structure of dev.c should be named



     Page 1                                           (printed 8/7/87)





     MASTER(F)                XENIX System V                 MASTER(F)



                              dev_tty.
               Field 6:       Not used.
               Field 7:       Major device number for block-type
                              device.
               Field 8:       Major device number for character-type
                              device.
               Field 9:       Maximum number of devices per
                              controller.
               Field 10:      The spl level (1 - 7) at which the
                              device's interrupt routine should be
                              called.
               Fields 11-14:  Maximum of four interrupt vector
                              addresses (octal).  Each address is
                              followed by a unique letter or a blank.

          Devices that are not interrupt-driven have an interrupt
          vector size of zero.  Devices that generate interrupts but
          are not of the standard character or block device mold,
          should be specified with a type (field 4) which has neither
          the block nor character bits set.

        Part 2
          This part contains definitions for the system line
          discipline.  Each line has 9 fields.  Each field is a
          maximum of 8 characters delimited by a blank if less than 8:

               Field 1:       Device associated with this line.
               Field 2:       Open routine.
               Field 3:       Close routine.
               Field 4:       Read routine.
               Field 5:       Write routine.
               Field 6:       Ioctl routine.
               Field 7:       Receiver interrupt routine.
               Field 8:       Transmitter interrupt routine.
               Field 9:       Modem control interrupt routine.

        Part 3
          This part contains definitions for device aliases.  Each
          line has 2 fields:

               Field 1:       Alias name of device (8 chars. maximum).
               Field 2:       Reference name of device as given in
                              part 1 (8 chars. maximum).

          Aliases may be used in place of actual device names when
          creating the config(C) description file.

        Part 4
          This part contains the names and default values for tunable
          parameters.  Each line has 2 or 3 fields:

               Field 1:       Parameter name to be used in the



     Page 2                                           (printed 8/7/87)





     MASTER(F)                XENIX System V                 MASTER(F)



                              config(C) description file (20 chars.
                              maximum).
               Field 2:       Parameter name as it will appear in the
                              resulting c.c file (20 chars. maximum).
               Field 3:       Default parameter value (20 chars.
                              maximum).

          If a parameter has no default value, an explicit
          specification for the parameter must be given in the
          description file.  See config(C) for a list of the tunable
          parameters.

     See Also
          config(C), configure(C)









































     Page 3                                           (printed 8/7/87)



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