lkml.org 
[lkml]   [2000]   [Sep]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Russell King forks ARM Linux.
On Wed, Sep 27, 2000 at 02:30:13PM -0700, H. Peter Anvin wrote:
> Russ is 100% correct that different drivers shouldn't use the
> same device numbers, unless they are:
>
> a) mutually exclusive,
> b) interface compatible, *AND*
> c) handle all arbitration necessary.

This doesn't handle the watchdog driver case, but that's special anyway.
(All watchdog drivers use the same device number, which has the nice effect
of not loading the softdog driver when you have a real hardware watchdog and
a driver for it).

> If (a), (b) and (c) are all satisfied, it is often justified to share
> device numbers and device nodes.

Could this go into the next revision of Documentation/devices.txt ? There
certainly doesn't seem to be a good place to point people to right now.

Philipp Rumpf
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 12:39    [W:0.136 / U:0.128 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site