aboutsummaryrefslogtreecommitdiff
path: root/sys/arm/conf/EFIKA_MX
diff options
context:
space:
mode:
authorIan Lepore <ian@FreeBSD.org>2014-01-08 03:40:18 +0000
committerIan Lepore <ian@FreeBSD.org>2014-01-08 03:40:18 +0000
commit7c2136adbbf135b36b2b81eef1c8a424aabfb49a (patch)
tree077dccfdb48f02052a20d2aba11fc2d5a2124056 /sys/arm/conf/EFIKA_MX
parent2c6d18ebc3bee9e314d4e2a3afed98173c29ce1b (diff)
downloadsrc-7c2136adbbf135b36b2b81eef1c8a424aabfb49a.tar.gz
src-7c2136adbbf135b36b2b81eef1c8a424aabfb49a.zip
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.
Notes
Notes: svn path=/head/; revision=260440
Diffstat (limited to 'sys/arm/conf/EFIKA_MX')
-rw-r--r--sys/arm/conf/EFIKA_MX1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/arm/conf/EFIKA_MX b/sys/arm/conf/EFIKA_MX
index fdfcb819e64c..d0b8cdd52f3a 100644
--- a/sys/arm/conf/EFIKA_MX
+++ b/sys/arm/conf/EFIKA_MX
@@ -130,6 +130,7 @@ device cd # CD
device pass # Passthrough device (direct SCSI access)
# USB support
+options USB_HOST_ALIGN=32 # Align usb buffers to cache line size.
#options USB_DEBUG # enable debug msgs
device ehci # OHCI USB interface
device usb # USB Bus (required)