linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* 8250.c::autoconfig() fails loopback test on MPC824[15]
@ 2007-08-04 23:17 Guennadi Liakhovetski
  2007-08-04 23:35 ` Arnd Bergmann
  0 siblings, 1 reply; 11+ messages in thread
From: Guennadi Liakhovetski @ 2007-08-04 23:17 UTC (permalink / raw)
  To: linux-serial; +Cc: linuxppc-dev

Hi,

I tried using of_serial.c on a (PPC) MPC8241 based system, which has a 
"16650A" compatible double UART built into the SoC. Using of_serial.c 
causes the ports to be autoconfigured, and this fails. The loopback test 
fails, because the MSR register on 824[15] doesn't implement the 
UART_MSR_DCD bit. Question: what's better, teach 8250.c to handle UARTs 
without this bit, or set the UPF_SKIP_TEST bit in of_serial.c for these 
SOCs to skip the loopback test altogether? The latter is certainly easier 
and affects much fewer systems, so, I'd go for that.

Thanks
Guennadi
---
Guennadi Liakhovetski

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2007-08-06 19:54 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-08-04 23:17 8250.c::autoconfig() fails loopback test on MPC824[15] Guennadi Liakhovetski
2007-08-04 23:35 ` Arnd Bergmann
2007-08-05 14:06   ` Guennadi Liakhovetski
2007-08-05 16:41     ` Arnd Bergmann
2007-08-05 21:31       ` Jon Loeliger
2007-08-05 21:39         ` Guennadi Liakhovetski
2007-08-05 21:50           ` Jon Loeliger
2007-08-05 21:57           ` Arnd Bergmann
2007-08-06 19:29             ` Segher Boessenkool
2007-08-06 19:54               ` Guennadi Liakhovetski
2007-08-06 19:15       ` Segher Boessenkool

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).