Neel Natu 61f7c762de Create the "cfecons" tty directly using tty_makedev(). It is not clear what
the intention of having two ttys pointing to the same cfe console device was.

Also we were not initializing the output[] array passed in as input to
tty_makedev() so one name of the ttys was garbage.

Fix the code that calls cfe_write() to deal with the case where only a partial
buffer is written out.

cfe_cngetc() needs to return if there is no character available as input.
If we don't do this then the cfe_timeout() function will spin forever
because cfe_cngetc() will only ever return if there is valid input.

Approved by: imp (mentor)
2010-01-26 03:42:34 +00:00
..
2010-01-21 21:31:39 +00:00
2010-01-06 05:58:07 +00:00
2010-01-24 10:22:39 +00:00
2009-11-29 20:47:43 +00:00
2010-01-23 22:11:18 +00:00
2009-11-12 00:36:22 +00:00
2010-01-25 16:09:50 +00:00