From: "Alejandro C" <alexfestss@hotmail.com>
To: linuxppc-dev@ozlabs.org
Subject: On the transfer of data from the uart.c driver to the tty layer...
Date: Tue, 05 Sep 2006 14:56:28 +0000 [thread overview]
Message-ID: <BAY121-F225DA006048FC317F8E97BDB300@phx.gbl> (raw)
Hi all,
I'm working on a the uart.c driver to add support for SCCs in HDLC mode. The
application I'm going to run on top will be sending Ethernet packets
encapsulated in the data field of an HDLC frame. The idea was to make the
buffer big enough so that a whole Eth. packet (max 1518 octects) could fit
in just one buffer. I let the CPM interrupt on a frame basis and the problem
I've come across is that the receive buffer in the struct tty_struct, where
the tty layer collects the data from the driver
(tty_struct.tty_flip_buffer.char_buf), is only 1024 bytes
(2*TTY_FLIPBUF_SIZE). The easiest at this stage would be to make those
buffers larger, but I don't know what sort of impact this might have... Any
tips?
Any ideas on how to solve it in another fashion?
Help will be highly appreciated.
Regards,
Alejandro
_________________________________________________________________
Acepta el reto MSN Premium: Correos más divertidos con fotos y textos
increíbles en MSN Premium. Descárgalo y pruébalo 2 meses gratis.
http://join.msn.com?XAPID=1697&DI=1055&HL=Footer_mailsenviados_correosmasdivertidos
next reply other threads:[~2006-09-05 15:08 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-09-05 14:56 Alejandro C [this message]
2006-09-06 0:45 ` On the transfer of data from the uart.c driver to the tty layer Benjamin Herrenschmidt
2006-09-06 2:28 ` Dan Malek
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=BAY121-F225DA006048FC317F8E97BDB300@phx.gbl \
--to=alexfestss@hotmail.com \
--cc=linuxppc-dev@ozlabs.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).