summaryrefslogtreecommitdiffstats
path: root/sys/ofed
diff options
context:
space:
mode:
authorhselasky <hselasky@FreeBSD.org>2015-10-19 12:04:20 +0000
committerhselasky <hselasky@FreeBSD.org>2015-10-19 12:04:20 +0000
commita2fecac047a73c99b707fb923d6909cad38c86af (patch)
tree557ab27c7d7a8e379a8a8553dbd2fe70d5249342 /sys/ofed
parent5daa6ae96ec66d044eba9b16f4291832d332daee (diff)
downloadFreeBSD-src-a2fecac047a73c99b707fb923d6909cad38c86af.zip
FreeBSD-src-a2fecac047a73c99b707fb923d6909cad38c86af.tar.gz
Map two more Linux error return codes to FreeBSD ones.
Sponsored by: Mellanox Technologies
Diffstat (limited to 'sys/ofed')
-rw-r--r--sys/ofed/include/linux/errno.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/ofed/include/linux/errno.h b/sys/ofed/include/linux/errno.h
index 55e192b..fde9827 100644
--- a/sys/ofed/include/linux/errno.h
+++ b/sys/ofed/include/linux/errno.h
@@ -32,6 +32,8 @@
#include <sys/errno.h>
+#define ECHRNG EDOM
+#define ETIME ETIMEDOUT
#define ECOMM ESTALE
#define ENODATA ECONNREFUSED
#define ENOIOCTLCMD ENOIOCTL
OpenPOWER on IntegriCloud