Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/ic Report AUXUART fifo size on rpi3 to 1 byte. This...



details:   https://anonhg.NetBSD.org/src/rev/804583b7c8d3
branches:  trunk
changeset: 825997:804583b7c8d3
user:      nat <nat%NetBSD.org@localhost>
date:      Thu Aug 10 13:25:49 2017 +0000

description:
Report AUXUART fifo size on rpi3 to 1 byte.  This prevents bluetooth
errors using the h5 protocol.

diffstat:

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

diffs (27 lines):

diff -r 2420233fd3f0 -r 804583b7c8d3 sys/dev/ic/com.c
--- a/sys/dev/ic/com.c  Thu Aug 10 13:22:19 2017 +0000
+++ b/sys/dev/ic/com.c  Thu Aug 10 13:25:49 2017 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: com.c,v 1.341 2017/07/31 23:53:25 jmcneill Exp $ */
+/* $NetBSD: com.c,v 1.342 2017/08/10 13:25:49 nat 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.341 2017/07/31 23:53:25 jmcneill Exp $");
+__KERNEL_RCSID(0, "$NetBSD: com.c,v 1.342 2017/08/10 13:25:49 nat Exp $");
 
 #include "opt_com.h"
 #include "opt_ddb.h"
@@ -477,7 +477,7 @@
                goto fifodelay;
 
        case COM_TYPE_BCMAUXUART:
-               sc->sc_fifolen = 8;
+               sc->sc_fifolen = 1;
                fifo_msg = "BCM AUX UART, working fifo";
                SET(sc->sc_hwflags, COM_HW_FIFO);
                CSR_WRITE_1(regsp, COM_REG_FIFO,



Home | Main Index | Thread Index | Old Index