Kernel Functions for Drivers scsihbaprobe(9F)
NAME
scsihbaprobe - default SCSI HBA probe function
SYNOPSIS
#include
int scsihbaprobe(struct scsidevice *sd, int(*waitfunc)(void));
INTERFACE LEVEL
Solaris architecture specific (Solaris DI).
PARAMETERS
sd Pointer to a scsidevice(9S) structure
describing the target.
waitfunc NULFUNC or SLEPFUNC.
DESCRIPTION
scsihbaprobe() is a function providing the semantics of
scsiprobe(9F). An HBA driver may call scsihbaprobe() from
its trantgtprobe(9E) entry point, to probe for the
existence of a target on the SCSI bus, or the HBA may set
trantgtprobe(9E) to point to scsihbaprobe directly.
RETURN VALUES
See scsiprobe(9F) for the return values from
scsihbaprobe().
CONTEXT
scsihbaprobe() should only be called from the HBA's
trantgtprobe(9E) entry point.
SEE ALSO
trantgtprobe(9E), scsiprobe(9F), scsidevice(9S)
Writing Device Drivers
SunOS 5.11 Last change: 30 Aug 1995 1
|