Subject: Re: Tty patches applied to -current
To: Thomas Gerner <thomas@murmel.camelot.de>
From: Leo Weppelman <leo@wau.mis.ah.nl>
List: port-atari
Date: 04/02/1998 10:15:17
On Thu 26 Mar 1998, Thomas Gerner wrote:
> On Wed, Mar 25, 1998 at 01:25:58PM +0100, Leo Weppelman wrote:
> [ ... ]
> > I haven't decided what to call the dailin/dialout nodes yet... It would be
> > nice to have a logical connection between the two. Personally I was thinking
> > to split the nodes into 2 directories:
> >     /dev/ttyin
> >     /dev/ttyout
> > 
> > This sceme was mentioned by Greg Woods on tech-kern. All the other scemes seem
> > to loose on the atari-port since we have mdm0[12] and ser[01]...
> > Anyway, I haven't decided yet and that's why I haven't changed the MAKEDEV
> > script yet. Feel free to comment ;-)
> 
> I would dislike any subdirectury above /dev. But I would have no problem
> with renaming the current tty devices to tty0[1234] and cua0[1234]. This
> is more similar with some other ports or systems like FreeBSD. I don't
> really know any reason why we should use mdm0[12] and ser[12]. OK, this
> is more familar to the naming convention used by TOS, but NetBSD is not
> TOS.

Julian and Andre voiced approx. the same opinion. Are there people on this
list with another opinion? 
Iff we are taking the 'tty0[1234]' route, it should be documented, right ;-)
I thought about intro(4) since tty(4) was already there and documenting
something different. The FAQ should be adjusted too.

So... I came to the following proposal:
   - Follow the i386-port naming sceme
       tty0[1234] -> dialin
       dty0[1234] -> dialout
     This is different to both Solaris and FreeBSD, but the same as
     NetBSD/i386...

   - I was thinking to make the following relations:
       tty00 -> 8530 Channel A (formerly ser02)
       tty01 -> 8530 Channel B (formerly mdm02)
       tty02 -> UART on first 68901 (formerly mdm01)
       tty03 -> UART on second 68901 (formerly ser01)

       The rationale behind this being:
         - sort per chip-type
         - 8530 first -> it has backside connectors on all models
         - use chip (channel) order

Leo.