Module Name: src Committed By: jmcneill Date: Sat Apr 25 21:34:08 UTC 2020
Modified Files: src/sys/arch/evbarm/dev: plcom.c Log Message: plcom_common_putc: do not wait for FIFO to train after writing data To generate a diff of this commit: cvs rdiff -u -r1.60 -r1.61 src/sys/arch/evbarm/dev/plcom.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/arch/evbarm/dev/plcom.c diff -u src/sys/arch/evbarm/dev/plcom.c:1.60 src/sys/arch/evbarm/dev/plcom.c:1.61 --- src/sys/arch/evbarm/dev/plcom.c:1.60 Sun Nov 10 21:16:25 2019 +++ src/sys/arch/evbarm/dev/plcom.c Sat Apr 25 21:34:08 2020 @@ -1,4 +1,4 @@ -/* $NetBSD: plcom.c,v 1.60 2019/11/10 21:16:25 chs Exp $ */ +/* $NetBSD: plcom.c,v 1.61 2020/04/25 21:34:08 jmcneill Exp $ */ /*- * Copyright (c) 2001 ARM Ltd @@ -94,7 +94,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: plcom.c,v 1.60 2019/11/10 21:16:25 chs Exp $"); +__KERNEL_RCSID(0, "$NetBSD: plcom.c,v 1.61 2020/04/25 21:34:08 jmcneill Exp $"); #include "opt_plcom.h" #include "opt_ddb.h" @@ -2327,11 +2327,6 @@ plcom_common_putc(dev_t dev, struct plco PWRITE1(pi, PL01XCOM_DR, c); PLCOM_BARRIER(pi, BR | BW); - /* wait for this transmission to complete */ - timo = 1500000; - while (!ISSET(PREAD1(pi, PL01XCOM_FR), PL01X_FR_TXFE) && --timo) - continue; - splx(s); }