Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ mod_drvattach(D3) — UnixWare 2.01

Media Vault

Software Library

Restoration Projects

Artifacts Sought






       mod_drvattach(D3)                                  mod_drvattach(D3)


       NAME
             mod_drvattach - install interrupts for a loadable device
             driver

       SYNOPSIS
             #include <sys/moddefs.h>
             #include <sys/ddi.h>
             void mod_drvattach(void *iip);

          Arguments
             iip       Pointer to the driver's prefixattach_info structure.

       DESCRIPTION
             mod_drvattach is called from a loadable driver's _load(D2)
             routine.  It installs and enables interrupts for a driver
             being dynamically loaded into a running system.

       USAGE
             The prefixattach_info structure is defined and initialized by
             the kernel configuration tools at the time the driver is
             configured into the system.  The definition of the attach_info
             structure is not included in the DDI/DKI, and can change
             across releases.  It should be treated as a ``black box'' by
             the driver; none of its fields may be referenced.

          Return Values
             None

          Level
             Base only.

          Synchronization Constraints
             Can sleep.

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

             Driver-defined sleep locks may be held across calls to this
             function.

          Examples
             See _load(D2) for an example of mod_drvattach.

       REFERENCES
             _load(D2), mod_drvdetach(D3)



                           Copyright 1994 Novell, Inc.               Page 1













      mod_drvattach(D3)                                  mod_drvattach(D3)


      NOTICES
         Portability
            All processors

         Applicability
            ddi: 4, 5, 5mp, 6, 6mp, 7, 7mp










































                          Copyright 1994 Novell, Inc.               Page 2








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