[lkml]   [2002]   [Jan]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: Serial Driver Name Question (kernels 2.4.x)
On Wed, Jan 09, 2002 at 09:36:30AM -0700, Richard Gooch wrote:
> Since you have to change all the drivers anyway, I'd prefer if
> _tty_make_name() was left unchanged, and instead you put the "%d" in
> each, thusly:
> = "tts/N%d";
> #else
> = "ttyN%d";
> #endif
> The reason: maximum flexibility in the kinds of names we can
> support. If for some reason we want a name like "tts/N%d_A" and
> "tts/N%d_B" (say a driver with linked ttys, like the pty driver), we
> don't need to make a global change.

I think that is a good idea.

However these names appear in /proc/devices too which looks rather
ugly running with devfs at the moment...

# cat /proc/devices
Character devices:
1 mem
2 pty/m%d
3 pty/s%d
4 ttys/%d
5 serial/%d
10 misc
108 ppp
128 ptm
136 pts/%d
162 raw

Nick Craig-Wood
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

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