serial rxerr
Andy Green
andy at openmoko.com
Tue Feb 3 20:27:40 CET 2009
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Somebody in the thread at some point said:
|> But, we should have "Auto flow control" on GSM modem port (RTS / CTS
|> operation in hardware according to FIFO level).
|>
|> It means we should be immune from overrun totally.
|>
|> The status register on failure reports RX overrun though... that seems
|> to be the big clue.
| static void s3c24xx_serial_set_mctrl(struct uart_port *port, unsigned
| int mctrl)
| {
| /* todo - possibly remove AFC and do manual CTS */
| }
I don't think it's relevant... this is what sets AFC.
Also the one we're interested in is RTS I think.
static void s3c24xx_serial_set_termios(struct uart_port *port,
~ struct ktermios *termios,
~ struct ktermios *old)
...
~ umcon = (termios->c_cflag & CRTSCTS) ? S3C2410_UMCOM_AFC : 0;
...
~ dbg("setting ulcon to %08x, brddiv to %d, udivslot %08x\n",
~ ulcon, quot, udivslot);
~ wr_regl(port, S3C2410_ULCON, ulcon);
~ wr_regl(port, S3C2410_UBRDIV, quot);
~ wr_regl(port, S3C2410_UMCON, umcon);
I'll compile it with debug set and see if there's anything obvious.
- -Andy
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org
iEYEARECAAYFAkmImqwACgkQOjLpvpq7dMo+FgCcDDEWi2klrWWb4nxC5lV5jueo
lGMAnjr/hhq2phJV8rxfhQu+Mix28Wsa
=y2Yz
-----END PGP SIGNATURE-----
More information about the openmoko-kernel
mailing list