* assignment of major number to serial driver -2.6.x kernels
@ 2005-07-19 15:53 V. ANANDA KRISHNAN
2005-07-19 17:47 ` Jan Engelhardt
2005-07-20 11:25 ` Alan Cox
0 siblings, 2 replies; 3+ messages in thread
From: V. ANANDA KRISHNAN @ 2005-07-19 15:53 UTC (permalink / raw)
To: linux-kernel
Hi All,
I would like to know whether the usage of 253 as major (device) number
in serial port drivers is restricted in 2.6.x kernels. I am asking this
question, though the documentation tells the driver developers that 253
is a reserved major number, 2.6.x Linux kernels can accommodate more
than 255.
Also I would like to know the procedure (and related info) to apply
for getting a static number (major/minor) for devices in device drivers.
Is this practice continued still?
Thanks for your help.
Regards,
V. Ananda Krishnan
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: assignment of major number to serial driver -2.6.x kernels
2005-07-19 15:53 assignment of major number to serial driver -2.6.x kernels V. ANANDA KRISHNAN
@ 2005-07-19 17:47 ` Jan Engelhardt
2005-07-20 11:25 ` Alan Cox
1 sibling, 0 replies; 3+ messages in thread
From: Jan Engelhardt @ 2005-07-19 17:47 UTC (permalink / raw)
To: V. ANANDA KRISHNAN; +Cc: linux-kernel
>Hi All,
>
> I would like to know whether the usage of 253 as major (device) number
>in serial port drivers is restricted in 2.6.x kernels. I am asking this
>question, though the documentation tells the driver developers that 253
>is a reserved major number, 2.6.x Linux kernels can accommodate more
>than 255.
Majors 240 - 254 are reserved for private use, e.g. cooking@home; nothing to
be seen in mainline drivers.
As for majors >255, you should at best try :) The dev number handling is
there - I am able to mknod blah c 1234 0.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: assignment of major number to serial driver -2.6.x kernels
2005-07-19 15:53 assignment of major number to serial driver -2.6.x kernels V. ANANDA KRISHNAN
2005-07-19 17:47 ` Jan Engelhardt
@ 2005-07-20 11:25 ` Alan Cox
1 sibling, 0 replies; 3+ messages in thread
From: Alan Cox @ 2005-07-20 11:25 UTC (permalink / raw)
To: V. ANANDA KRISHNAN; +Cc: linux-kernel
On Maw, 2005-07-19 at 10:53 -0500, V. ANANDA KRISHNAN wrote:
> Also I would like to know the procedure (and related info) to apply
> for getting a static number (major/minor) for devices in device drivers.
> Is this practice continued still?
If you want device nodes you still need device numbers (www.lanana.org)
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2005-07-20 11:01 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-07-19 15:53 assignment of major number to serial driver -2.6.x kernels V. ANANDA KRISHNAN
2005-07-19 17:47 ` Jan Engelhardt
2005-07-20 11:25 ` Alan Cox
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®