Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys As a workaround for the Raspberry PI, only allow 1 TX tr...
details: https://anonhg.NetBSD.org/src/rev/a301824dc24c
branches: trunk
changeset: 785490:a301824dc24c
user: skrll <skrll%NetBSD.org@localhost>
date: Sat Mar 16 15:48:21 2013 +0000
description:
As a workaround for the Raspberry PI, only allow 1 TX transfer to be
active at once.
XXX This might affect all host controllers
diffstat:
sys/arch/evbarm/conf/std.rpi | 3 ++-
sys/dev/usb/if_urtwnvar.h | 7 ++++++-
2 files changed, 8 insertions(+), 2 deletions(-)
diffs (39 lines):
diff -r d95a8ac50ff8 -r a301824dc24c sys/arch/evbarm/conf/std.rpi
--- a/sys/arch/evbarm/conf/std.rpi Sat Mar 16 12:05:02 2013 +0000
+++ b/sys/arch/evbarm/conf/std.rpi Sat Mar 16 15:48:21 2013 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: std.rpi,v 1.6 2013/02/19 10:58:35 skrll Exp $
+# $NetBSD: std.rpi,v 1.7 2013/03/16 15:48:21 skrll Exp $
#
# standard NetBSD/evbarm for Raspberry Pi options
@@ -13,6 +13,7 @@
options __HAVE_CPU_UAREA_ALLOC_IDLELWP
options TPIDRPRW_IS_CURCPU
options KERNEL_BASE_EXT=0xc0000000
+options URTWN_DOTG_WORKAROUND
options EVBARM_BOARDTYPE="rpi"
makeoptions BOARDMKFRAG="${THISARM}/conf/mk.rpi"
diff -r d95a8ac50ff8 -r a301824dc24c sys/dev/usb/if_urtwnvar.h
--- a/sys/dev/usb/if_urtwnvar.h Sat Mar 16 12:05:02 2013 +0000
+++ b/sys/dev/usb/if_urtwnvar.h Sat Mar 16 15:48:21 2013 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: if_urtwnvar.h,v 1.5 2013/03/12 14:19:34 christos Exp $ */
+/* $NetBSD: if_urtwnvar.h,v 1.6 2013/03/16 15:48:21 skrll Exp $ */
/* $OpenBSD: if_urtwnreg.h,v 1.3 2010/11/16 18:02:59 damien Exp $ */
/*-
@@ -23,7 +23,12 @@
* Driver definitions.
*/
#define URTWN_RX_LIST_COUNT 1
+#ifndef URTWN_DOTG_WORKAROUND
#define URTWN_TX_LIST_COUNT 8
+#else
+#define URTWN_TX_LIST_COUNT 1
+#endif
+
#define URTWN_HOST_CMD_RING_COUNT 32
#define URTWN_RXBUFSZ (16 * 1024)
Home |
Main Index |
Thread Index |
Old Index