summaryrefslogtreecommitdiffstats
path: root/sys/arm/conf/KB920X
diff options
context:
space:
mode:
authorian <ian@FreeBSD.org>2014-01-08 03:40:18 +0000
committerian <ian@FreeBSD.org>2014-01-08 03:40:18 +0000
commit8424dea31318b55988c151dd6854c1e6ac55bd7d (patch)
tree077dccfdb48f02052a20d2aba11fc2d5a2124056 /sys/arm/conf/KB920X
parentd98502cf6111d74a673a2f9ec30d97006e5dabf0 (diff)
downloadFreeBSD-src-8424dea31318b55988c151dd6854c1e6ac55bd7d.zip
FreeBSD-src-8424dea31318b55988c151dd6854c1e6ac55bd7d.tar.gz
Add option USB_HOST_ALIGN to configs that contain 'device usb'. Setting
this to the cache line size is required to avoid data corruption on armv4 and armv5, and improves performance on armv6, in both cases by avoiding partial cacheline flushes for USB IO. All these configs already exist in 10-stable. A few that don't (and thus can't be MFC'd yet) will be committed separately.
Diffstat (limited to 'sys/arm/conf/KB920X')
-rw-r--r--sys/arm/conf/KB920X1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/arm/conf/KB920X b/sys/arm/conf/KB920X
index 7cf56d8..0cdf9c3 100644
--- a/sys/arm/conf/KB920X
+++ b/sys/arm/conf/KB920X
@@ -95,6 +95,7 @@ device icee
device bpf
# USB support
+options USB_HOST_ALIGN=32 # Align usb buffers to cache line size.
options USB_DEBUG # enable debug msgs
device ohci # OHCI localbus->USB interface
device usb # USB Bus (required)
OpenPOWER on IntegriCloud