Messages in this thread | | | Date | Wed, 30 Jan 2008 14:43:57 +0100 | From | Jiri Slaby <> | 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.
| |