.\" 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 "INT_TO_SCSILUN" "9" "09 October 2005" "" ""
.SH NAME
int_to_scsilun \-
.SH SYNOPSIS
"SYNOPSIS"
.sp
\fB
.sp
void int_to_scsilun (unsigned int \fIlun\fB, struct scsi_lun * \fIscsilun\fB);
\fR
.SH "ARGUMENTS"
.TP
\fB\fIlun\fB\fR
-- undescribed --
.TP
\fB\fIscsilun\fB\fR
struct scsi_lun to be set.
.SH "DESCRIPTION"
.PP
Reverts the functionality of the scsilun_to_int, which packed
an 8-byte lun value into an int. This routine unpacks the int
back into the lun value.
.SH "NOTE"
.PP
the \fBscsilun_to_int\fR routine does not truly handle all
8bytes of the lun value. This functions restores only as much
as was set by the routine.
.SH "GIVEN AN INTEGER"
.PP
0x0b030a04, this function returns a
.SH "SCSI_LUN OF"
.PP
struct scsi_lun of: 0a 04 0b 03 00 00 00 00