svn commit: r304723 - head/sys/net
Sepherosa Ziehau
sephe at FreeBSD.org
Wed Aug 24 03:16:27 UTC 2016
Author: sephe
Date: Wed Aug 24 03:16:25 2016
New Revision: 304723
URL: https://svnweb.freebsd.org/changeset/base/304723
Log:
net/rndis: Fix RNDIS_STATUS_PENDING definition.
While I'm here, sort the RNDIS status in ascending order.
MFC after: 1 week
Sponsored by: Microsoft
Differential Revision: https://reviews.freebsd.org/D7594
Modified:
head/sys/net/rndis.h
Modified: head/sys/net/rndis.h
==============================================================================
--- head/sys/net/rndis.h Wed Aug 24 03:08:13 2016 (r304722)
+++ head/sys/net/rndis.h Wed Aug 24 03:16:25 2016 (r304723)
@@ -27,15 +27,15 @@
#define RNDIS_VERSION_MAJOR 0x00000001
#define RNDIS_VERSION_MINOR 0x00000000
-#define RNDIS_STATUS_BUFFER_OVERFLOW 0x80000005L
-#define RNDIS_STATUS_FAILURE 0xC0000001L
-#define RNDIS_STATUS_INVALID_DATA 0xC0010015L
+#define RNDIS_STATUS_SUCCESS 0x00000000L
+#define RNDIS_STATUS_PENDING 0x00000103L
#define RNDIS_STATUS_MEDIA_CONNECT 0x4001000BL
#define RNDIS_STATUS_MEDIA_DISCONNECT 0x4001000CL
+#define RNDIS_STATUS_BUFFER_OVERFLOW 0x80000005L
+#define RNDIS_STATUS_FAILURE 0xC0000001L
#define RNDIS_STATUS_NOT_SUPPORTED 0xC00000BBL
-#define RNDIS_STATUS_PENDING STATUS_PENDING /* XXX */
#define RNDIS_STATUS_RESOURCES 0xC000009AL
-#define RNDIS_STATUS_SUCCESS 0x00000000L
+#define RNDIS_STATUS_INVALID_DATA 0xC0010015L
#define OID_GEN_SUPPORTED_LIST 0x00010101
#define OID_GEN_HARDWARE_STATUS 0x00010102
More information about the svn-src-head
mailing list