Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/arm/ep93xx Make the empty loop body explicit.
details: https://anonhg.NetBSD.org/src/rev/52cbb0dae965
branches: trunk
changeset: 327230:52cbb0dae965
user: joerg <joerg%NetBSD.org@localhost>
date: Sun Mar 02 13:22:21 2014 +0000
description:
Make the empty loop body explicit.
diffstat:
sys/arch/arm/ep93xx/epe.c | 7 ++++---
1 files changed, 4 insertions(+), 3 deletions(-)
diffs (28 lines):
diff -r 49eb4c5978ff -r 52cbb0dae965 sys/arch/arm/ep93xx/epe.c
--- a/sys/arch/arm/ep93xx/epe.c Sun Mar 02 13:21:59 2014 +0000
+++ b/sys/arch/arm/ep93xx/epe.c Sun Mar 02 13:22:21 2014 +0000
@@ -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 @@
/* 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);
Home |
Main Index |
Thread Index |
Old Index