summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorVisa Hankala <visa@cvs.openbsd.org>2015-09-01 14:45:25 +0000
committerVisa Hankala <visa@cvs.openbsd.org>2015-09-01 14:45:25 +0000
commit5e8a713dddb4fc525df7731c676a51508ec17f53 (patch)
tree80fe65e39e805b5a518c11623348ebdda9c552e5 /sys
parentdaea662a51cc223b8a78bbdac4a0605e63d0cc8d (diff)
Increase transfer FIFOs for dwc2, to improve USB performance. The new
values are from dwc2 of NetBSD. ok jmatthew@, jasper@
Diffstat (limited to 'sys')
-rw-r--r--sys/arch/octeon/dev/octdwctwo.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/arch/octeon/dev/octdwctwo.c b/sys/arch/octeon/dev/octdwctwo.c
index c5125bb7411..995a783ae39 100644
--- a/sys/arch/octeon/dev/octdwctwo.c
+++ b/sys/arch/octeon/dev/octdwctwo.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: octdwctwo.c,v 1.8 2015/07/19 00:33:36 jasper Exp $ */
+/* $OpenBSD: octdwctwo.c,v 1.9 2015/09/01 14:45:24 visa Exp $ */
/*
* Copyright (c) 2015 Masao Uebayashi <uebayasi@tombiinc.com>
@@ -80,9 +80,9 @@ static struct dwc2_core_params octdwctwo_params = {
.speed = 0,
.enable_dynamic_fifo = 1,
.en_multiple_tx_fifo = 0,
- .host_rx_fifo_size = 256/*XXX*/,
- .host_nperio_tx_fifo_size = 128/*XXX*/,
- .host_perio_tx_fifo_size = 128/*XXX*/,
+ .host_rx_fifo_size = 456,
+ .host_nperio_tx_fifo_size = 912,
+ .host_perio_tx_fifo_size = 256,
.max_transfer_size = 65535,
.max_packet_count = 511,
.host_channels = 8,