Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/arm/broadcom Reduce burstlen for RCV/XMT from 128bi...
details: https://anonhg.NetBSD.org/src/rev/d1c0021c8303
branches: trunk
changeset: 782611:d1c0021c8303
user: matt <matt%NetBSD.org@localhost>
date: Thu Nov 08 21:32:48 2012 +0000
description:
Reduce burstlen for RCV/XMT from 128bits to 96bits.
diffstat:
sys/arch/arm/broadcom/bcm53xx_eth.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (29 lines):
diff -r 694454ba8ea5 -r d1c0021c8303 sys/arch/arm/broadcom/bcm53xx_eth.c
--- a/sys/arch/arm/broadcom/bcm53xx_eth.c Thu Nov 08 20:43:55 2012 +0000
+++ b/sys/arch/arm/broadcom/bcm53xx_eth.c Thu Nov 08 21:32:48 2012 +0000
@@ -34,7 +34,7 @@
#include <sys/cdefs.h>
-__KERNEL_RCSID(1, "$NetBSD: bcm53xx_eth.c,v 1.16 2012/11/08 00:59:12 matt Exp $");
+__KERNEL_RCSID(1, "$NetBSD: bcm53xx_eth.c,v 1.17 2012/11/08 21:32:48 matt Exp $");
#include <sys/param.h>
#include <sys/atomic.h>
@@ -483,14 +483,14 @@
__SHIFTIN(BCMETH_RCVOFFSET, RCVCTL_RCVOFFSET)
| RCVCTL_PARITY_DIS
| RCVCTL_OFLOW_CONTINUE
- | __SHIFTIN(4, RCVCTL_BURSTLEN));
+ | __SHIFTIN(3, RCVCTL_BURSTLEN));
/* 6. Load XMTADDR_LO with new pointer */
bcmeth_txq_reset(sc, &sc->sc_txq);
bcmeth_write_4(sc, sc->sc_txq.txq_reg_xmtctl, XMTCTL_DMA_ACT_INDEX
| XMTCTL_PARITY_DIS
- | __SHIFTIN(4, XMTCTL_BURSTLEN));
+ | __SHIFTIN(3, XMTCTL_BURSTLEN));
/* 7. Setup other UNIMAC registers */
bcmeth_write_4(sc, UNIMAC_FRAME_LEN, sc->sc_maxfrm);
Home |
Main Index |
Thread Index |
Old Index