Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ owner(D4I) — UnixWare 2.01

Media Vault

Software Library

Restoration Projects

Artifacts Sought






       owner(D4I)                                                owner(D4I)


       NAME
             owner - target driver device claims structure

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

       DESCRIPTION
             owner structures are the data structures used to maintain
             information on the target drivers currently claiming a given
             device.  Since the SDI system must be able to allow serial
             sharing of devices among multiple drivers, the owner structure
             identifies the target drivers that need to use the device.

       USAGE
             The owner structures are added dynamically to the device EDT
             entry, as HBA drivers and target drivers are initialized.
             During HBA driver initialization The HBA start(D2I) routine
             calls the sdi_register(D3I) routine which calls each of the
             target driver's rinit functions, which allows the target
             driver to claim newly added devices.

             owner structures should not be allocated directly by drivers.
             They will be passed to the drivers from SDI.

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

             struct owner       *next;              /* next owner of the following edtp */
             struct sdi_edt     *edtp;              /* back ptr to edt entry */
             struct drv_majors  maj;                /* owner's major/minor number information */
             void               (*fault)();         /* routine to call after asynch event */
             int                (*target_rm_dev)(); /* routine called to disclaim dev */
             long               flt_parm;           /* parameter to (*fault)() */
             struct owner       *target_link;       /* target driver's list of owners */
             char               *name;              /* owner's name */

       REFERENCES
             drv_majors(D4I), rinit(D2I), sb(D4I), sdi_edt(D4I),
             sdi_register(D3I), start(D2I)







                           Copyright 1994 Novell, Inc.               Page 1








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