diff options
author | ian <ian@FreeBSD.org> | 2014-01-08 03:40:18 +0000 |
---|---|---|
committer | ian <ian@FreeBSD.org> | 2014-01-08 03:40:18 +0000 |
commit | 8424dea31318b55988c151dd6854c1e6ac55bd7d (patch) | |
tree | 077dccfdb48f02052a20d2aba11fc2d5a2124056 /sys/arm/conf/SAM9G20EK | |
parent | d98502cf6111d74a673a2f9ec30d97006e5dabf0 (diff) | |
download | FreeBSD-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/SAM9G20EK')
-rw-r--r-- | sys/arm/conf/SAM9G20EK | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/arm/conf/SAM9G20EK b/sys/arm/conf/SAM9G20EK index e173f01..9a3921d 100644 --- a/sys/arm/conf/SAM9G20EK +++ b/sys/arm/conf/SAM9G20EK @@ -119,6 +119,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. device ohci # OHCI localbus->USB interface device usb # USB Bus (required) device umass # Disks/Mass storage - Requires scbus and da |