Sun Microsystems, Inc.
spacerspacer
spacer   www.sun.com docs.sun.com | | |  
spacer
black dot
   
A   B   C   D   E   F   G   H   I   J   K   L   M   N   O   P   Q   R   S   T   U   V   W   X   Y   Z
    
 
Kernel Functions for Driversscsi_hba_probe(9F)


NAME

 scsi_hba_probe - default SCSI HBA probe function

SYNOPSIS

 
#include <sys/scsi/scsi.h>
int scsi_hba_probe(struct scsi_device *sd, int(*waitfunc)(void));

INTERFACE LEVEL

 

Solaris architecture specific (Solaris DDI).

PARAMETERS

 
sd
Pointer to a scsi_device(9S) structure describing the target.
waitfunc
NULL_FUNC or SLEEP_FUNC.

DESCRIPTION

 

scsi_hba_probe() is a function providing the semantics of scsi_probe(9F). An HBA driver may call scsi_hba_probe() from its tran_tgt_probe(9E) entry point, to probe for the existence of a target on the SCSI bus, or the HBA may set tran_tgt_probe(9E) to point to scsi_hba_probe directly.

RETURN VALUES

 

See scsi_probe(9F) for the return values from scsi_hba_probe().

CONTEXT

 

scsi_hba_probe() should only be called from the HBA's tran_tgt_probe(9E) entry point.

SEE ALSO

 

tran_tgt_probe(9E), scsi_probe(9F), scsi_device(9S)

Writing Device Drivers


SunOS 5.9Go To TopLast Changed 30 Aug 1995

 
      
      
Copyright 2002 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms.