console: Fix console buffer truncation
commit61941056b800a6527895941e0d5a55dbc6504e49
authorJosef 'Jeff' Sipek <jeffpc@josefsipek.net>
Fri, 11 Jan 2008 08:13:53 +0000 (11 03:13 -0500)
committerJosef 'Jeff' Sipek <jeffpc@josefsipek.net>
Fri, 11 Jan 2008 08:13:53 +0000 (11 03:13 -0500)
tree6d4c7d42bd9f470b81d681a1d2d28dbd654a24db
parentb864f06278aff3293622e6321efb4e76263f90d0
console: Fix console buffer truncation

The 3215 console happily ignored all the data after the 150th byte. This led
to incomplete strings being written out. The simplest fix is to stop adding
pointers to the MIDAW list if we detect that we'd go over the 150 byte
maximum.

Signed-off-by: Josef 'Jeff' Sipek <jeffpc@josefsipek.net>
drivers/console.c