Module Name: src
Committed By: jmcneill
Date: Thu Oct 21 10:22:54 UTC 2021
Modified Files:
src/sys/dev/ic: com.c
Log Message:
Restore 16-byte FIFO for ns16550a, accidentally lost in r1.344.
Spotted by msaitoh. Thanks!
To generate a diff of this commit:
cvs rdiff -u -r1.370 -r1.371 src/sys/dev/ic/com.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/dev/ic/com.c
diff -u src/sys/dev/ic/com.c:1.370 src/sys/dev/ic/com.c:1.371
--- src/sys/dev/ic/com.c:1.370 Wed Oct 20 01:09:49 2021
+++ src/sys/dev/ic/com.c Thu Oct 21 10:22:54 2021
@@ -1,4 +1,4 @@
-/* $NetBSD: com.c,v 1.370 2021/10/20 01:09:49 jmcneill Exp $ */
+/* $NetBSD: com.c,v 1.371 2021/10/21 10:22:54 jmcneill Exp $ */
/*-
* Copyright (c) 1998, 1999, 2004, 2008 The NetBSD Foundation, Inc.
@@ -66,7 +66,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: com.c,v 1.370 2021/10/20 01:09:49 jmcneill Exp $");
+__KERNEL_RCSID(0, "$NetBSD: com.c,v 1.371 2021/10/21 10:22:54 jmcneill Exp $");
#include "opt_com.h"
#include "opt_ddb.h"
@@ -574,6 +574,7 @@ com_attach_subr(struct com_softc *sc)
SET(sc->sc_hwflags, COM_HW_FIFO);
fifo_msg = "ns16550a";
+ sc->sc_fifolen = 16;
/*
* IIR changes into the EFR if LCR is set to LCR_EERS