David Woodhouse wrote: >On Sat, 2004-06-05 at 12:22 -0700, Tom Rini wrote: > >>On Sat, Jun 05, 2004 at 10:12:24AM +0100, David Woodhouse wrote: >> >> >>>On Thu, 2004-06-03 at 17:13 +0300, Pantelis Antoniou wrote: >>> >>>>Hi >>>> >>>>The following patch updates the new CPM1/CPM2 uart driver. >>>> >>>It seems to lose queued characters from the kernel output when userspace >>>/dev/console is first opened. Should you drain the FIFO before resetting >>>the hardware on open? Or indeed refrain from resetting the hardware if >>>you're not actually changing anything? >>> >>I haven't seen this problem on 8xx myself. >> > >8265 here. > >VFS: Mounted root (nfs filesystem). >Freeing unused kernel memory: 100k in? >sh-2.05b# > > Hi there.
The following patch fixes the problem by properly waiting two character times on mode change. Regards Pantelis -------------- next part -------------- A non-text attachment was scrubbed... Name: cpm_uart_fix.patch Type: text/x-patch Size: 1782 bytes Desc: not available Url : http://ozlabs.org/pipermail/linuxppc-embedded/attachments/20040607/a51f7eb8/attachment.bin