MyWebUniversity.com Home Page
 



OpenSolaris man pages main menu


Kernel Functions for Drivers           scsihbalookupcapstr(9F)



NAME
     scsihbalookupcapstr - return  index  matching  capability
     string

SYNOPSIS
     #include 



     int scsihbalookupcapstr(char *capstr);


INTERFACE LEVEL
     Solaris architecture specific (Solaris DI).

PARAMETERS
     capstr    Pointer to a string


DESCRIPTION
     The  scsihbalookupcapstr()  function  attempts  to  match
     capstr  against a known set of capability strings. If found,
     the defined index for the matched capability is returned.


     The following indices are defined for the capability strings
     listed below.

     SCSICAPDMAMAX

         "dma-max" or "dmamax"


     SCSICAPMSGOUT

         "msg-out" or "msgout"


     SCSICAPDISCONECT

         "disconnect"


     SCSICAPSYNCHRONOUS

         "synchronous"


     SCSICAPWIDEXFER

         "wide-xfer" or "widexfer"




SunOS 5.11          Last change: 13 May 2006                    1






Kernel Functions for Drivers           scsihbalookupcapstr(9F)



     SCSICAPARITY

         "parity"


     SCSICAPINITIATORID

         "initiator-id"


     SCSICAPUNTAGEDQING

         "untagged-qing"


     SCSICAPTAGEDQING

         "tagged-qing"


     SCSICAPARQ

         "auto-rqsense"


     SCSICAPLINKEDCMDS

         "linked-cmds"


     SCSICAPSECTORSIZE

         "sector-size"


     SCSICAPTOTALSECTORS

         "total-sectors"


     SCSICAPGEOMETRY

         "geometry"


     SCSICAPRESETNOTIFICATION

         "reset-notification"


     SCSICAPQFULRETRIES




SunOS 5.11          Last change: 13 May 2006                    2






Kernel Functions for Drivers           scsihbalookupcapstr(9F)



         "qfull-retries"


     SCSICAPQFULRETRYINTERVAL

         "qfull-retry-interval"


     SCSICAPLUNRESET

         "lun-reset"


     SCSICAPCDBLEN

         "max-cdb-length"


RETURN VALUES
     The scsihbalookupcapstr() function returns a non-negative
     index  value  that  corresponds to the capability string. If
     the  string  does  not  match  a  known  capability,  -1  is
     returned.

CONTEXT
     The scsihbalookupcapstr() function  can  be  called  from
     user, interrupt, or kernel context.

ATRIBUTES
     See attributes(5) for descriptions of the  following  attri-
     butes:



     
           ATRIBUTE TYPE               ATRIBUTE VALUE       
    
     Interface Stability          Committed                   
    


SEE ALSO
     trangetcap(9E),     transetcap(9E),     scsiifgetcap(9F),
     scsiifsetcap(9F), scsiresetnotify(9F)


     Writing Device Drivers








SunOS 5.11          Last change: 13 May 2006                    3



OpenSolaris man pages main menu

Contact us      |       About us      |       Term of use      |       Copyright © 2000-2010 MyWebUniversity.com ™