Subject: Re: TIOCMGET
To: Michael C. Richardson <mcr@sandelman.ottawa.on.ca>
From: Bill Studenmund <skippy@macro.stanford.edu>
List: current-users
Date: 09/22/1997 21:46:35
On Fri, 19 Sep 1997, Michael C. Richardson wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
>
>
> I was hoping to fill in the TIOCMGET code in com.c so that mgetty
> might work better. (I can receive faxes, but not send them. Yes,
> probably flow control issues, but my hardware is fine...)
>
> dev/isa/com.c has:
> case TIOCMSET:
> case TIOCMBIS:
> case TIOCMBIC:
> case TIOCMGET:
> default:
> return (ENOTTY);
>
> Thinking this was an anomaly, I looked at arch/sparc/sparc/zs.c. Same thing.
> Okay, what about arch/sun3/sun3/zs.c... Not even mentioned. Maybe TIOCMGET
> is supposed to be handled above this layer?
> Nope: arch/hp300/dev/dca.c has support for it.
>
> Has it always been like this?
I think at one point the sun3/zs.c had it. com.c used to have it too. I
have patches to the M.I. z8530tty driver which will add it, but it's stuck
w/ the rest of the patches (which add mac68k support) in evaluation. :-(
Take care,
Bill