[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-trivial] [PATCH] FSL eTSEC: Fix typo in rx ring
From: |
Fabien Chouteau |
Subject: |
[Qemu-trivial] [PATCH] FSL eTSEC: Fix typo in rx ring |
Date: |
Fri, 14 Mar 2014 17:51:41 +0100 |
Signed-off-by: Fabien Chouteau <address@hidden>
---
hw/net/fsl_etsec/rings.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/hw/net/fsl_etsec/rings.c b/hw/net/fsl_etsec/rings.c
index 7760272..31e6f58 100644
--- a/hw/net/fsl_etsec/rings.c
+++ b/hw/net/fsl_etsec/rings.c
@@ -592,7 +592,7 @@ void etsec_walk_rx_ring(eTSEC *etsec, int ring_nbr)
/* TODO: Broadcast and Multicast */
- if (bd.flags | BD_INTERRUPT) {
+ if (bd.flags & BD_INTERRUPT) {
/* Set RXFx */
etsec->regs[RSTAT].value |= 1 << (7 - ring_nbr);
@@ -601,7 +601,7 @@ void etsec_walk_rx_ring(eTSEC *etsec, int ring_nbr)
}
} else {
- if (bd.flags | BD_INTERRUPT) {
+ if (bd.flags & BD_INTERRUPT) {
/* Set IEVENT */
ievent_set(etsec, IEVENT_RXB);
}
--
1.7.9.5
- [Qemu-trivial] [PATCH] FSL eTSEC: Fix typo in rx ring,
Fabien Chouteau <=