* 8xx UART TX > 8 data bits
@ 2005-04-12 23:17 Robin Gilks
0 siblings, 0 replies; only message in thread
From: Robin Gilks @ 2005-04-12 23:17 UTC (permalink / raw)
To: ppc embedded list
Greetings
I'm trying to get an SMC channel to operate as a UART with more than 8
data bits (13 in fact!!). Using a 2.4.22 kernel on a mpc859 (basic 866).
This means its going to be getting two half words from the BDs for each
'character'. With the constraints of the SMC requiring even addresses
etc for this mode of operation, does anyone know if it will work writing
2x8 bit characters at a time so as to keep the existing tty structure
for SMC handling?
I've tried tracing the tty layers by code inspection but I keep getting
lost in the indirections!! If I could find how the BDs are allocated as
a result of a character write, then perhaps I could make minor mods to
ensure memory allocs on an even address.
Could be that I'm totally off the wall but I'm trying for a 'minimum
effort' viability hack :-))
--
Robin Gilks
Senior Design Engineer Phone: (+64)(3) 357 1569
Tait Electronics Fax : (+64)(3) 359 4632
PO Box 1645 Christchurch Email : robin.gilks@tait.co.nz
New Zealand
=======================================================================
This email, including any attachments, is only for the intended
addressee. It is subject to copyright, is confidential and may be
the subject of legal or other privilege, none of which is waived or
lost by reason of this transmission.
If the receiver is not the intended addressee, please accept our
apologies, notify us by return, delete all copies and perform no
other act on the email.
Unfortunately, we cannot warrant that the email has not been
altered or corrupted during transmission.
=======================================================================
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2005-04-12 23:41 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-04-12 23:17 8xx UART TX > 8 data bits Robin Gilks
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).