aboutsummaryrefslogtreecommitdiff
path: root/sys/compat/linuxkpi
diff options
context:
space:
mode:
authorBjoern A. Zeeb <bz@FreeBSD.org>2022-02-09 11:48:37 +0000
committerBjoern A. Zeeb <bz@FreeBSD.org>2022-02-14 00:15:41 +0000
commit8f33ad3cf5361c700e2b133915685983003de67c (patch)
treea11ead61fd67c8a72be65c9c46e22f5800088643 /sys/compat/linuxkpi
parente5b95b220135bba90154c9c27803f54bf1a75548 (diff)
downloadsrc-8f33ad3cf5361c700e2b133915685983003de67c.tar.gz
src-8f33ad3cf5361c700e2b133915685983003de67c.zip
LinuxKPI: add more errno
Add ENOMEDIUM, ENOSR, and ELNRNG to linux/errno.h needed by drivers. MFC after: 3 days Reviewed by: hselasky Differential Revision: https://reviews.freebsd.org/D34227
Diffstat (limited to 'sys/compat/linuxkpi')
-rw-r--r--sys/compat/linuxkpi/common/include/linux/errno.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/sys/compat/linuxkpi/common/include/linux/errno.h b/sys/compat/linuxkpi/common/include/linux/errno.h
index 18019e9bed8d..f9c0ceeac5e2 100644
--- a/sys/compat/linuxkpi/common/include/linux/errno.h
+++ b/sys/compat/linuxkpi/common/include/linux/errno.h
@@ -64,5 +64,8 @@
#define EIOCBQUEUED 529
#define ERFKILL 530
#define EBADE 531
+#define ENOMEDIUM 532
+#define ENOSR 533
+#define ELNRNG 534
#endif /* _LINUXKPI_LINUX_ERRNO_H_ */