lkml.org 
[lkml]   [2008]   [Jan]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [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.


\
 
 \ /
  Last update: 2008-01-30 14:47    [W:2.213 / U:0.004 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site