Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ drv_majors(D4I) — UnixWare 2.01

Media Vault

Software Library

Restoration Projects

Artifacts Sought






       drv_majors(D4I)                                      drv_majors(D4I)


       NAME
             drv_majors - target driver's device numbering structure

       SYNOPSIS
             #include <sys/sdi_edt.h>
             #include <sys/ddi.h>

       DESCRIPTION
             The drv_majors structure is used to specify the device nodes
             for a specific device.  This structure is part of the owner
             structure; its fields must be initialized by the target
             driver's rinit routine.  The drv_majors structure must not be
             allocated directly by a driver.

             b_maj the block major number of the target driver for this
                   device.

             c_maj the character major number of the target driver for this
                   device.

             minors_per
                   the number of minor numbers reserved for this device.

             first_minor
                   the first minor number for this device

          Structure Members
             The drv_majors structure, defined as struct drv_majors,
             contains the following structure members:

             major_t b_maj;          /* block major number */
             major_t c_maj;          /* character major number */
             ulong_t minors_per;     /* number of minors per device instance */
             minor_t first_minor;    /* the first minor for this device */

       REFERENCES
             owner(D4I), rinit(D2I), scsi_xedt(D4I), sdi_edt(D4I)











                           Copyright 1994 Novell, Inc.               Page 1








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