aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/ioat/ioat_hw.h
diff options
context:
space:
mode:
authorConrad Meyer <cem@FreeBSD.org>2015-10-26 03:30:50 +0000
committerConrad Meyer <cem@FreeBSD.org>2015-10-26 03:30:50 +0000
commit59acd4badb75bfcda1737e34a97d677c17fe5833 (patch)
tree1872e4bdd0a3f864de9a787a832f0c2fff136e72 /sys/dev/ioat/ioat_hw.h
parentbf8553ea3853b2d67d361c308e56365bc5b72d42 (diff)
downloadsrc-59acd4badb75bfcda1737e34a97d677c17fe5833.tar.gz
src-59acd4badb75bfcda1737e34a97d677c17fe5833.zip
ioat: Add %b format string for CHANERR codes
Sponsored by: EMC / Isilon Storage Division
Notes
Notes: svn path=/head/; revision=289983
Diffstat (limited to 'sys/dev/ioat/ioat_hw.h')
-rw-r--r--sys/dev/ioat/ioat_hw.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/sys/dev/ioat/ioat_hw.h b/sys/dev/ioat/ioat_hw.h
index d2bba62a6a20..b3a21cb14dc7 100644
--- a/sys/dev/ioat/ioat_hw.h
+++ b/sys/dev/ioat/ioat_hw.h
@@ -126,6 +126,13 @@ __FBSDID("$FreeBSD$");
#define IOAT_CHANERR_RATVERR (1 << 26)
#define IOAT_CHANERR_RRTVERR (1 << 27)
+#define IOAT_CHANERR_STR \
+ "\20\34RRTVERR\33RATVERR\32RGTVERR\31RDIFFERR\30BBERR\27RTVERR\26ATVERR" \
+ "\25GTVERR\24DIFFERR\23DCNTERR\21CXPERR\20UNAFFERR\17SEDERR\16INTCFGERR" \
+ "\15CMPADDERR\14DXSERR\13DCERR\12WDERR\11RDERR\10DUNCORERR\07CUNCORERR" \
+ "\06CCMDERR\05CHADDERR\04DERR\03NDADDERR\02XDADDERR\01XSADDERR"
+
+
#define IOAT_CFG_CHANERR_INT_OFFSET 0x180
#define IOAT_CFG_CHANERRMASK_INT_OFFSET 0x184