Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ sdi_clrconfig(D3I) — UnixWare 2.01

Media Vault

Software Library

Restoration Projects

Artifacts Sought






       sdi_clrconfig(D3I)                                sdi_clrconfig(D3I)


       NAME
             sdi_clrconfig - free devices claimed by target controllers

       SYNOPSIS
             #include <sys/sdi.h>
             void sdi_clrconfig(struct owner *op, int flags, void (*rinit)());

          Arguments
             op    A pointer to the head of an owner list previously
                   returned by sdi_doconfig(D3I).

             flags Indicates the device or devices to be freed (values:
                   SDI_REMOVE, SDI_DISCLAIM).

             rinit The address of the driver's rinit routine, which should
                   be the same address that was previously passed to
                   sdi_doconfig.

       DESCRIPTION
             sdi_clrconfig essentially undoes what was done by a prior call
             to sdi_doconfig.  When the value of flags is
             SDI_DISCLAIM|SDI_REMOVE, all devices claimed by the calling
             target driver are freed.  The address of the driver's rinit
             routine is then removed from the system's rinit table.

          Return Values
             None.

       USAGE
             This function is typically called by the _unload routine of
             dynamically loadable target drivers, in preparation to unload
             the driver.

          Level
             Base only.

       REFERENCES
             sdi_access(D3I), sdi_doconfig(D3I), _unload(D2)

       NOTICES
          Applicability
             sdi: 1, 2






                           Copyright 1994 Novell, Inc.               Page 1








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