'\" te .\" Copyright (c) 1995, Sun Microsystems, Inc., All Rights Reserved .TH scsi_hba_probe 9F "30 Aug 1995" "SunOS 5.11" "Kernel Functions for Drivers" .SH NAME scsi_hba_probe \- default SCSI HBA probe function .SH SYNOPSIS .LP .nf #include \fBint\fR \fBscsi_hba_probe\fR(\fBstruct scsi_device *\fR\fIsd\fR, \fBint\fR\fB(*\fRwaitfunc\fB)(void)\fR); .fi .SH INTERFACE LEVEL .sp .LP Solaris architecture specific (Solaris DDI). .SH PARAMETERS .sp .ne 2 .mk .na \fB\fIsd\fR \fR .ad .RS 13n .rt Pointer to a \fBscsi_device\fR(9S) structure describing the target. .RE .sp .ne 2 .mk .na \fB\fIwaitfunc\fR \fR .ad .RS 13n .rt \fBNULL_FUNC\fR or \fBSLEEP_FUNC\fR. .RE .SH DESCRIPTION .sp .LP \fBscsi_hba_probe()\fR is a function providing the semantics of \fBscsi_probe\fR(9F). An \fBHBA\fR driver may call \fBscsi_hba_probe()\fR from its \fBtran_tgt_probe\fR(9E) entry point, to probe for the existence of a target on the \fBSCSI\fR bus, or the \fBHBA\fR may set \fBtran_tgt_probe\fR(9E) to point to \fBscsi_hba_probe\fR directly. .SH RETURN VALUES .sp .LP See \fBscsi_probe\fR(9F) for the return values from \fBscsi_hba_probe()\fR. .SH CONTEXT .sp .LP \fBscsi_hba_probe()\fR should only be called from the \fBHBA\fR's \fBtran_tgt_probe\fR(9E) entry point. .SH SEE ALSO .sp .LP \fBtran_tgt_probe\fR(9E), \fBscsi_probe\fR(9F), \fBscsi_device\fR(9S) .sp .LP \fIWriting Device Drivers for Oracle Solaris 11.2\fR