lkml.org 
[lkml]   [2022]   [Sep]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH v2 01/13] trinity: Add base driver
On Sat, Sep 17, 2022, at 4:49 PM, Jiho Chu wrote:
> On Sat, 17 Sep 2022 09:41:13 +0200
> "Arnd Bergmann" <arnd@arndb.de> wrote:
>>
>> If you have the need to manage multiple devices here, maybe use
>> a dynamic major number and have the chardev code allocate the
>> minor numbers, instead of using multiple misc devices and
>> doing that yourself.
>>
>
> I'm little confusing. It means that managing own char devices is proper,
> not using misc device? But, it's still under misc dir.

There is no strict connection between miscdevices and drivers/misc.

The former is for drivers that tend to have only one instance
in a system, while the latter is for drivers that do not have
a separate subsystem.

Arnd

\
 
 \ /
  Last update: 2022-09-22 15:57    [W:0.039 / U:0.340 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site