.\" 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 "MEGA_GET_LDRV_NUM" "9" "09 October 2005" "" ""
.SH NAME
mega_get_ldrv_num \-
.SH SYNOPSIS
"SYNOPSIS"
.sp
\fB
.sp
int mega_get_ldrv_num (adapter_t * \fIadapter\fB, Scsi_Cmnd * \fIcmd\fB, int \fIchannel\fB);
\fR
.SH "ARGUMENTS"
.TP
\fB\fIadapter\fB\fR
-- undescribed --
.TP
\fB\fIcmd\fB\fR
-- undescribed --
.TP
\fB\fIchannel\fB\fR
-- undescribed --
.SH "DESCRIPTION"
.PP
\fIadapter\fR - pointer to our soft state
\fIcmd\fR - scsi mid layer command
\fIchannel\fR - channel on the controller
.PP
Calculate the logical drive number based on the information in scsi command
and the channel number.