diff options
author | jmallett <jmallett@FreeBSD.org> | 2012-03-11 06:55:17 +0000 |
---|---|---|
committer | jmallett <jmallett@FreeBSD.org> | 2012-03-11 06:55:17 +0000 |
commit | b950f897393bcdb05429610285c339e942de5645 (patch) | |
tree | 171eb5bc9113db610070967c9309d9c2fa5a868d /sys/contrib/octeon-sdk/cvmx-srio.c | |
parent | cc09f92d5be5d129cc314de180c03e97082592ad (diff) | |
download | FreeBSD-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-srio.c')
-rw-r--r-- | sys/contrib/octeon-sdk/cvmx-srio.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/contrib/octeon-sdk/cvmx-srio.c b/sys/contrib/octeon-sdk/cvmx-srio.c index ed9ba3e..7704e1d 100644 --- a/sys/contrib/octeon-sdk/cvmx-srio.c +++ b/sys/contrib/octeon-sdk/cvmx-srio.c @@ -68,7 +68,9 @@ #include "cvmx-helper.h" #ifndef CVMX_BUILD_FOR_LINUX_HOST #include "cvmx-atomic.h" +#if !defined(CVMX_BUILD_FOR_FREEBSD_KERNEL) #include "cvmx-error.h" +#endif #include "cvmx-helper-errata.h" #endif #include "cvmx-qlm.h" @@ -770,7 +772,7 @@ int cvmx_srio_initialize(int srio_port, cvmx_srio_initialize_flags_t flags) cvmx_write_csr(CVMX_SRIOX_INT_REG(srio_port), cvmx_read_csr(CVMX_SRIOX_INT_REG(srio_port))); /* Enable error reporting */ -#if (!defined(CVMX_BUILD_FOR_LINUX_HOST) && !defined(CVMX_BUILD_FOR_LINUX_KERNEL)) || defined(CONFIG_CAVIUM_DECODE_RSL) +#if (!defined(CVMX_BUILD_FOR_LINUX_HOST) && !defined(CVMX_BUILD_FOR_LINUX_KERNEL) && !defined(CVMX_BUILD_FOR_FREEBSD_KERNEL)) || defined(CONFIG_CAVIUM_DECODE_RSL) cvmx_error_enable_group(CVMX_ERROR_GROUP_SRIO, srio_port); #endif |