Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/dev/ic Restore 16-byte FIFO for ns16550a, accidentally l...



details:   https://anonhg.NetBSD.org/src/rev/d72819bd4519
branches:  trunk
changeset: 1024388:d72819bd4519
user:      jmcneill <jmcneill%NetBSD.org@localhost>
date:      Thu Oct 21 10:22:54 2021 +0000

description:
Restore 16-byte FIFO for ns16550a, accidentally lost in r1.344.

Spotted by msaitoh. Thanks!

diffstat:

 sys/dev/ic/com.c |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (26 lines):

diff -r 206a94dd5e5e -r d72819bd4519 sys/dev/ic/com.c
--- a/sys/dev/ic/com.c  Thu Oct 21 07:33:13 2021 +0000
+++ b/sys/dev/ic/com.c  Thu Oct 21 10:22:54 2021 +0000
@@ -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 @@
                        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



Home | Main Index | Thread Index | Old Index