Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ sdi_gethbano(D3I) — UnixWare 2.01

Media Vault

Software Library

Restoration Projects

Artifacts Sought






       sdi_gethbano(D3I)                                  sdi_gethbano(D3I)


       NAME
             sdi_gethbano - get/validate host bus adapter controller number

       SYNOPSIS
             #include <sys/sdi.h>
             int sdi_gethbano(int cntlnum);

          Arguments
             cntlnum
                   Requested HBA controller number.

       DESCRIPTION
             If cntlnum is negative, sdi_gethbano returns the next
             available controller number.  Non-negative values of cntlnum
             are checked for validity.  In this case, sdi_gethbano returns
             cntlnum if valid or a negative value if not.

          Return Values
             A positive value represents a valid and available controller
             number.  A negative value indicates the requested controller
             number is either invalid or unavailable, or there are no
             available numbers to allocate.

       USAGE
             sdi_gethbano is typically called by the start routines of HBA
             drivers to obtain a controller number for later use by
             sdi_register.

          Level
             Base only.

       REFERENCES
             sdi_register(D3I)

       NOTICES
          Applicability
             sdi: 1, 2











                           Copyright 1994 Novell, Inc.               Page 1








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