As a workaround for the Raspberry PI, only allow 1 TX transfer to be

active at once.

XXX This might affect all host controllers
This commit is contained in:
skrll 2013-03-16 15:48:21 +00:00
parent 9d4b5bd001
commit b19588b393
2 changed files with 8 additions and 2 deletions

View File

@ -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_FAST_SOFTINTS # should be in types.h
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"

View File

@ -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)