Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ cm_getbrdkey(D3) — UnixWare 2.01

Media Vault

Software Library

Restoration Projects

Artifacts Sought






       cm_getbrdkey(D3)                                    cm_getbrdkey(D3)


       NAME
             cm_getbrdkey - retrieve the resource manager key for a
             particular driver/board

       SYNOPSIS
             #include <sys/confmgr.h>
             #include <sys/ddi.h>
             rm_key_t cm_getbrdkey(char *drvname, int relbrd);

          Arguments
             drvname
                    The module name for the driver.

             relbrd The relative board number.

       DESCRIPTION
             cm_getbrdkey is used to retrieve a key corresponding to one of
             the boards a driver supports.  The key is used by the driver
             to access parameters associated with the specified board.

             relbrd must be within the range 0 to cm_getnbrd(D3) - 1.

          Return Values
             cm_getbrdkey returns a key for accessing the specified board.
             It returns RM_NULL_KEY if relbrd is out of range, drvname is
             NULL, or there are no keys with a matching drvname.

       USAGE
          Level
             Initialization or Base.

          Synchronization Constraints
             Does not sleep.

             Driver-defined basic locks, read/write locks, and sleep locks
             may be held across calls to this function.

       REFERENCES
             cm_getnbrd(D3), cm_getval(D3), cm_params(D5)

       NOTICES
          Portability
             All processors





                           Copyright 1994 Novell, Inc.               Page 1













      cm_getbrdkey(D3)                                    cm_getbrdkey(D3)


         Applicability
            ddi: 6, 6mp, 7, 7mp














































                          Copyright 1994 Novell, Inc.               Page 2








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