Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ mod_drvdetach(D3) — UnixWare 2.01

Media Vault

Software Library

Restoration Projects

Artifacts Sought






       mod_drvdetach(D3)                                  mod_drvdetach(D3)


       NAME
             mod_drvdetach - remove interrupts for a loadable device driver

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

          Arguments
             iip       Pointer to the driver's prefixattach_info structure.

       DESCRIPTION
             mod_drvdetach is called from a loadable driver's _unload(D2)
             routine.  It disables and removes interrupts for a driver
             being dynamically unloaded from 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
             Does not 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_drvdetach.

       REFERENCES
             _unload(D2), mod_drvattach(D3)




                           Copyright 1994 Novell, Inc.               Page 1













      mod_drvdetach(D3)                                  mod_drvdetach(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