.\" 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 "MEGADEV_IOCTL" "" "06 October 2005" "" ""
.SH NAME
megadev_ioctl \-
.SH SYNOPSIS
"SYNOPSIS"
.sp
\fB
.sp
int megadev_ioctl (struct inode * \fIinode\fB, struct file * \fIfilep\fB, unsigned int \fIcmd\fB, unsigned long \fIarg\fB);
\fR
.SH "ARGUMENTS"
.TP
\fB\fIinode\fB\fR
-- undescribed --
.TP
\fB\fIfilep\fB\fR
-- undescribed --
.TP
\fB\fIcmd\fB\fR
-- undescribed --
.TP
\fB\fIarg\fB\fR
-- undescribed --
.SH "DESCRIPTION"
.PP
\fIinode\fR - Our device inode
\fIfilep\fR - unused
\fIcmd\fR - ioctl command
\fIarg\fR - user buffer
.PP
ioctl entry point for our private ioctl interface. We move the data in from
the user space, prepare the command (if necessary, convert the old MIMD
ioctl to new ioctl command), and issue a synchronous command to the
controller.