Isaac Waldron wrote:
> I know how to create the equivalent function for FreeBSD, and currently have
> it set up to respond to some "dummy" ioctl's. My problem is that I can't
> find any documentation about where the first two arguments to the linux
> plex86_ioctl function are coming from. The first is a struct inode *, and
> the second is a struct file *.
>
> These arguments do not exist in the FreeBSD device ioctl functions that I
> have to write, so I need to find an alternate way of getting at the
> information they reference. My question is, what information do these refer
> to? I think they point to an open file descriptor, but which one?
http://www.linuxdoc.org/LDP/lkmpg/mpg.html should have an answer..
-- Ramon