.\" This manpage has been automatically generated by docbook2man
.\" from a DocBook document. This tool can be found at:
.\"
.\" Please send any bug reports, improvements, comments, patches,
.\" etc. to Steve Cheng .
.TH "SD_PROBE" "" "06 October 2005" "" ""
.SH NAME
sd_probe \- called during driver initialization and whenever a
.SH SYNOPSIS
"SYNOPSIS"
.sp
\fB
.sp
int sd_probe (struct device * \fIdev\fB);
\fR
.SH "ARGUMENTS"
.TP
\fB\fIdev\fB\fR
pointer to device object
.SH "DESCRIPTION"
.PP
Returns 0 if successful (or not interested in this scsi device
(e.g. scanner)); 1 when there is an error.
.SH "DESCRIPTION"
.PP
Returns 0 if successful (or not interested in this scsi device
(e.g. scanner)); 1 when there is an error.
.SH "NOTE"
.PP
this function is invoked from the scsi mid-level.
This function sets up the mapping between a given
(found in sdp) and new device name
(e.g. /dev/sda). More precisely it is the block device major
and minor number that is chosen here.
.PP
Assume sd_attach is not re-entrant (for time being)
Also think about \fBsd_attach\fR and \fBsd_remove\fR running coincidentally.