lkml.org 
[lkml]   [1996]   [Jun]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: SCSI device numbering (was: Re: Ideas for v2.1
On 20 Jun 1996, H. Peter Anvin wrote:
> That being said, as the Linux Device Registrar I strongly advice that
> 2.1 *must* be the time to increase the size of dev_t to a mininum of
> 32 bit; I personally advocate 64 bit with support for sparse
> allocation of major numbers.
>

Why not use strings? The first character as the device driver handler
(major number) and the rest of the strings as the parameter (many minor
numbers:). If you run out of major numbers you can assign one as stub
for other device drivers (something like subdirectory).

Okay, I know, I know. We won't be needing unlimited numbers of major/minor
numbers. Changing dev_t to 64 is as easy as changing a line in an include
file. :/

Hasdi



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