commit 830ea3d0c27c0c750b7bf1b56c002ee7943f3edc Author: Mike Westerhof Date: Sun Jul 6 23:14:48 2008 -0500 gta0x-log-serial-rx-error.patch This patch causes a KERN_DEBUG message to be printed each time an error status is read from a UART. This is intended to facilitate the reporting of more useful problem and bug reports from users in the field. Signed-off-by: Mike Westerhof diff --git a/drivers/serial/s3c2410.c b/drivers/serial/s3c2410.c index fef3c8f..5652905 100644 --- a/drivers/serial/s3c2410.c +++ b/drivers/serial/s3c2410.c @@ -357,7 +357,7 @@ s3c24xx_serial_rx_chars(int irq, void *dev_id) port->icount.rx++; if (unlikely(uerstat & S3C2410_UERSTAT_ANY)) { - dbg("rxerr: port ch=0x%02x, rxs=0x%08x\n", + printk(KERN_DEBUG "rxerr: port ch=0x%02x, rxs=0x%08x\n", ch, uerstat); /* check for break */