lkml.org 
[lkml]   [2009]   [Nov]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Serial: sc26xx device name
Alan Cox wrote:
>> 2) How are device name conflicts handled?
>>
>
> Badly - they should never occur but if someone didn't properly reserve
> the namespace they can and then whoever forgot to reserve the namespace
> loses.
>
Currently this can't happen because the sc26xx driver uses ttySC205
in contradiction to ttySC0 shown in devices.txt

However if the driver were to be "fixed" to use the name registered
in devices.txt a conflict could occur if a sc26xx chip were used on
a superH system.

The problem seems to be that while the major/minor numbers in devices.txt
are unique (and the drivers are correctly using their registered numbers),
the _names_ are not unique (at least in this case - I haven't checked for
others).




\
 
 \ /
  Last update: 2009-11-21 15:27    [W:0.037 / U:0.024 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site