- uart_console_write(&uap->port, s, count, pmz_console_putchar);
+ for (i = 0; i < count; i++) {
+ /* Wait for the transmit buffer to empty. */
+ while ((read_zsreg(uap, R0) & Tx_BUF_EMP) == 0)
+ udelay(5);
+ write_zsdata(uap, s[i]);
+ if (s[i] == 10) {
+ while ((read_zsreg(uap, R0) & Tx_BUF_EMP) == 0)
+ udelay(5);
+ write_zsdata(uap, R13);
+ }
+ }