Module Name: src
Committed By: joerg
Date: Sun Mar 2 13:22:21 UTC 2014
Modified Files:
src/sys/arch/arm/ep93xx: epe.c
Log Message:
Make the empty loop body explicit.
To generate a diff of this commit:
cvs rdiff -u -r1.29 -r1.30 src/sys/arch/arm/ep93xx/epe.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/arm/ep93xx/epe.c
diff -u src/sys/arch/arm/ep93xx/epe.c:1.29 src/sys/arch/arm/ep93xx/epe.c:1.30
--- src/sys/arch/arm/ep93xx/epe.c:1.29 Mon Nov 12 18:00:36 2012
+++ src/sys/arch/arm/ep93xx/epe.c Sun Mar 2 13:22:21 2014
@@ -1,4 +1,4 @@
-/* $NetBSD: epe.c,v 1.29 2012/11/12 18:00:36 skrll Exp $ */
+/* $NetBSD: epe.c,v 1.30 2014/03/02 13:22:21 joerg Exp $ */
/*
* Copyright (c) 2004 Jesse Off
@@ -27,7 +27,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: epe.c,v 1.29 2012/11/12 18:00:36 skrll Exp $");
+__KERNEL_RCSID(0, "$NetBSD: epe.c,v 1.30 2014/03/02 13:22:21 joerg Exp $");
#include <sys/types.h>
#include <sys/param.h>
@@ -422,7 +422,8 @@ epe_init(struct epe_softc *sc)
/* maximum valid max frame length */
EPE_WRITE(MaxFrmLen, (0x7ff << 16)|MHLEN);
/* wait for receiver ready */
- while((EPE_READ(BMSts) & BMSts_RxAct) == 0);
+ while((EPE_READ(BMSts) & BMSts_RxAct) == 0)
+ continue;
/* enqueue the entries in RXStsQ and RXDQ */
CTRLPAGE_DMASYNC(0, sc->ctrlpage_dmamap->dm_mapsize,
BUS_DMASYNC_PREWRITE|BUS_DMASYNC_PREREAD);