[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <47A07F1D.9000208@gmail.com>
Date: Wed, 30 Jan 2008 14:43:57 +0100
From: Jiri Slaby <jirislaby@...il.com>
To: Bryan Wu <cooloney.lkml@...il.com>
CC: Robin Getz <rgetz@...ckfin.uclinux.org>,
Bryan Wu <bryan.wu@...log.com>, linux-kernel@...r.kernel.org,
Mike Frysinger <michael.frysinger@...log.com>
Subject: Re: [PATCH 1/1] [Blackfin] char driver for Blackfin on-chip OTP memory
On 01/30/2008 02:15 PM, Bryan Wu wrote:
> And one question for Jiri, what is the difference between misc char
> driver with other char drivers.
No difference in behaviour. Open function in misc replaces fops by your
specified one (like a v4l or tty layer, or chrdev_open aswell, which will be
called on each character device open).
> Because we got some other char drivers locally, maybe some day send them out.
Misc has one predefined major and is used for such uses, in which you need only
one minor number. The point is not to block resting 254 minors of one major just
for only one minor used.
--
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