summaryrefslogtreecommitdiffstats
path: root/sys/contrib/octeon-sdk/cvmx-usb.c
diff options
context:
space:
mode:
authorjmallett <jmallett@FreeBSD.org>2012-03-11 06:55:17 +0000
committerjmallett <jmallett@FreeBSD.org>2012-03-11 06:55:17 +0000
commitb950f897393bcdb05429610285c339e942de5645 (patch)
tree171eb5bc9113db610070967c9309d9c2fa5a868d /sys/contrib/octeon-sdk/cvmx-usb.c
parentcc09f92d5be5d129cc314de180c03e97082592ad (diff)
downloadFreeBSD-src-b950f897393bcdb05429610285c339e942de5645.zip
FreeBSD-src-b950f897393bcdb05429610285c339e942de5645.tar.gz
Disable the Simple Executive's error decoding/reporting code.
Diffstat (limited to 'sys/contrib/octeon-sdk/cvmx-usb.c')
-rw-r--r--sys/contrib/octeon-sdk/cvmx-usb.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/contrib/octeon-sdk/cvmx-usb.c b/sys/contrib/octeon-sdk/cvmx-usb.c
index 6d99dac..6c692b9 100644
--- a/sys/contrib/octeon-sdk/cvmx-usb.c
+++ b/sys/contrib/octeon-sdk/cvmx-usb.c
@@ -74,8 +74,10 @@
#include "cvmx-helper-board.h"
#include "cvmx-csr-db.h"
#include "cvmx-swap.h"
+#if !defined(CVMX_BUILD_FOR_FREEBSD_KERNEL)
#include "cvmx-error.h"
#endif
+#endif
#define MAX_RETRIES 3 /* Maximum number of times to retry failed transactions */
#define MAX_PIPES 32 /* Maximum number of pipes that can be open at once */
OpenPOWER on IntegriCloud