Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/amiga/dev properly check SCI_CSR_DREQ in one place.



details:   https://anonhg.NetBSD.org/src/rev/484527621044
branches:  trunk
changeset: 839033:484527621044
user:      mrg <mrg%NetBSD.org@localhost>
date:      Wed Feb 06 04:07:31 2019 +0000

description:
properly check SCI_CSR_DREQ in one place.

diffstat:

 sys/arch/amiga/dev/wstsc.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 2f62e376e9d7 -r 484527621044 sys/arch/amiga/dev/wstsc.c
--- a/sys/arch/amiga/dev/wstsc.c        Wed Feb 06 04:00:43 2019 +0000
+++ b/sys/arch/amiga/dev/wstsc.c        Wed Feb 06 04:07:31 2019 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: wstsc.c,v 1.34 2014/01/22 00:25:16 christos Exp $ */
+/*     $NetBSD: wstsc.c,v 1.35 2019/02/06 04:07:31 mrg Exp $ */
 
 /*
  * Copyright (c) 1982, 1990 The Regents of the University of California.
@@ -58,7 +58,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: wstsc.c,v 1.34 2014/01/22 00:25:16 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: wstsc.c,v 1.35 2019/02/06 04:07:31 mrg Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -405,7 +405,7 @@
                        }
                }
 #else
-               while (!(*sci_csr * SCI_CSR_DREQ))
+               while (!(*sci_csr & SCI_CSR_DREQ))
                        ;
 #endif
 



Home | Main Index | Thread Index | Old Index