[comp.os.minix] MINIX PC & ST RS232 support

hcj@lzaz.ATT.COM (HC Johnson) (12/16/88)

I need advice on cosmetic details of adding rs232 to the MINIX/ST

Currently I have done rs232 as 'another' tty, that is tty_struct[2]
is for rs232.  This makes it easy to log in onto as /etc/ttys only
is sensitive to minor numbers.  There are some nasty side effects tho.

Both the keyboard and rs232 (and midi) for that matter pass through tty.c
While the simplistic double buffering for the keyboard (16 char max)
is quite adequate, the buffers need to be much larger for rs232 and midi.
This forces tty.c (charint()) to turn the interrupt off for longer periods.

So the choice is this.
1. keep one tty.c, change the buffering and impact stkbd.c to solve rs232
   throuput problems.
or
2. create a new driver, a clone of tty, that handles rs232 (and perhaps midi).

What was done for the IBM pc's?
I've seen referances to rs232 throuput problems on them also.  What was
the resolution to that?

Thanks for any thoughts you may have on this.

Howard C. Johnson
ATT Bell Labs
...lzaz!hcj