Module Name: src Committed By: nat Date: Thu Aug 10 13:25:49 UTC 2017
Modified Files: src/sys/dev/ic: com.c Log Message: Report AUXUART fifo size on rpi3 to 1 byte. This prevents bluetooth errors using the h5 protocol. To generate a diff of this commit: cvs rdiff -u -r1.341 -r1.342 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.341 src/sys/dev/ic/com.c:1.342 --- src/sys/dev/ic/com.c:1.341 Mon Jul 31 23:53:25 2017 +++ src/sys/dev/ic/com.c Thu Aug 10 13:25:49 2017 @@ -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 @@ com_attach_subr(struct com_softc *sc) 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,