[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <653402b90609151726l230e9bafg5d06a36e7cd7b32c@mail.gmail.com>
Date: Sat, 16 Sep 2006 02:26:16 +0200
From: "Miguel Ojeda" <maxextreme@...il.com>
To: jim@...bons.com
Cc: linux-kernel@...r.kernel.org
Subject: Re: request for ioctl range for private devices
On 9/16/06, Jim Gibbons <jim@...bons.com> wrote:
>
> I would like to use an ioctl range that would be safe, now and in the
> future. Given that we won't be putting this driver on any general
> computing platforms, it seems inappropriate to reserve an ioctl range
> for this device.
>
I'm trying to get a patch accepted, and I just modified the file to
appear in the ioctl-number list, so if they apply the patch, the magic
number will be automatically reserved.
I think it's the right approach. Anyway, you should write and send the
device driver first, for review, because some people disagree with
your ioctl use, and maybe they can ask you for use another way to
communicate special commands to your device.
If you are not going to submit the driver code ever, I think it will
be much more difficult to get a ioctl just for your private use. If
I'm right, you will have to keep your patch update on your own, as it
doesn't belong to linux at all.
Miguel Ojeda
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists