Re: PPP/Serial system.

Steve Davies (sdavies@lhr-sys.dhl.com)
Thu, 4 Jul 1996 10:08:25 +0100 (BST)


Many thanks for the reply below, and for all the other help/pointers
given. I also stand ashamed that I failed to re-read the PPP FAQ before
posting the questions :-)

Cheers,
Steve

On Wed, 3 Jul 1996, Carsten Paeth wrote:

> >
> >
> > Hi,
> >
> > Firstly I'll try asking the following question again as I think the list
> > must have lost it before. I occasionally get the error:
> >
> > ppp_toss: reason code = 4
> >
> > Can anyone translate this for me as I can't find anything in the kernel
> > code which tells me what reason 4 is !
>
> It's not easy to find if you don't know, it's coming from the tty driver
> parallel to the input buffer, the driver fills a flag array for each
> character:
> #define TTY_NORMAL 0
> #define TTY_BREAK 1
> #define TTY_FRAME 2
> #define TTY_PARITY 3
> #define TTY_OVERRUN 4
> These flags are used by the PPP driver to check for errors.
>
> >
> > Secondly, I am curious to know whether the kernel fully supports the
> > 16550A Serial UART ? If so, what size xmit/recv buffers does it configure
> > ? I would like it to be set to 8/8 bytes as I think the above error may
> > be caused by buffer overruns.
>
> Yes it is coming from an overrun. The 16550A ist detected automaticly
> and the size of the xmit/recv buffers in the chip is 16 bytes always,
> as far as I know. interupts will be posted at 8 bytes (set by the driver).
>
> calle
> --
> calle@calle.in-berlin.de
>