Module Name:    src
Committed By:   mrg
Date:           Wed Feb  6 04:07:31 UTC 2019

Modified Files:
        src/sys/arch/amiga/dev: wstsc.c

Log Message:
properly check SCI_CSR_DREQ in one place.


To generate a diff of this commit:
cvs rdiff -u -r1.34 -r1.35 src/sys/arch/amiga/dev/wstsc.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/amiga/dev/wstsc.c
diff -u src/sys/arch/amiga/dev/wstsc.c:1.34 src/sys/arch/amiga/dev/wstsc.c:1.35
--- src/sys/arch/amiga/dev/wstsc.c:1.34	Wed Jan 22 00:25:16 2014
+++ src/sys/arch/amiga/dev/wstsc.c	Wed Feb  6 04:07:31 2019
@@ -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 @@ wstsc_dma_xfer_in2(struct sci_softc *dev
 			}
 		}
 #else
-		while (!(*sci_csr * SCI_CSR_DREQ))
+		while (!(*sci_csr & SCI_CSR_DREQ))
 			;
 #endif
 

Reply via email to