Port-arm archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[PATCH] Make OMAP com ports work with getty and bluetooth
Some ports don't have a DCD pin. Pretend it is always missing.
Index: com.c
===================================================================
RCS file: /cvsroot/src/sys/dev/ic/com.c,v
retrieving revision 1.355
diff -u -p -r1.355 com.c
--- com.c 11 Jan 2019 23:10:40 -0000 1.355
+++ com.c 13 Jan 2019 00:19:36 -0000
@@ -1601,7 +1601,7 @@ comparam(struct tty *tp, struct termios
* CLOCAL or MDMBUF. We don't hang up here; we only do that by
* explicit request.
*/
- if (sc->sc_type == COM_TYPE_INGENIC) {
+ if (sc->sc_type == COM_TYPE_INGENIC || sc->sc_type == COM_TYPE_OMAP) {
/* no DCD here */
(void) (*tp->t_linesw->l_modem)(tp, 1);
} else
Home |
Main Index |
Thread Index |
Old Index