gen68360 & termios
sebastian ssmoller
sebastian.ssmoller at gmx.net
Tue Nov 9 21:47:55 UTC 2004
(...)
> >
> > to enable ttyS1 ?
>
> If the gen68360 BSP supported more serial ports, they would likely
> have been registered by the console driver. It only
> registers a single serial port. Often a single serial port/console
> driver will register multiple serial ports if it can support them
> all.
>
> AFAIK there is only a single serial port supported so there are
> no more device drivers in the gen68360.
>
hhmm - ok - so in fact there are two hardware serial ports and the 68360
should support them both (afaik) ...
looking into console/console.c i found lots of code dealing with smc1
but none dealing with smc2 - so this meens to me two things: i am blind
XOR i cannot access ttyS2 with this driver ;-)
but console/console.c would be the right place to add this code right ?
(...)
back to the other prob:
> >
> > any ideas while a simple tcgetattr & tcsetattr (without changing
> > anything ) causes my stdout to be broken ?
what about this - i thought just getting and (re)setting the attr's
would have no effect ...
(...)
THX,
seb
--
"Perfection is achieved, not when there is nothing left to add,
but when there is nothing left to take away."
--- Antoine de St. Exupery, Wind, Sand, and Stars, 1939
More information about the users
mailing list