[Differential] D7594: net/rndis: Fix RNDIS_STATUS_PENDING definition.
sepherosa_gmail.com (Sepherosa Ziehau)
phabric-noreply at FreeBSD.org
Mon Aug 22 07:32:10 UTC 2016
sepherosa_gmail.com created this revision.
sepherosa_gmail.com added reviewers: hselasky, glebius, bz, gnn, rwatson.
sepherosa_gmail.com added a subscriber: freebsd-net-list.
REVISION SUMMARY
While I'm here, sort the RNDIS status in ascending order.
REVISION DETAIL
https://reviews.freebsd.org/D7594
AFFECTED FILES
sys/net/rndis.h
CHANGE DETAILS
diff --git a/sys/net/rndis.h b/sys/net/rndis.h
--- a/sys/net/rndis.h
+++ b/sys/net/rndis.h
@@ -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
EMAIL PREFERENCES
https://reviews.freebsd.org/settings/panel/emailpreferences/
To: sepherosa_gmail.com, hselasky, glebius, bz, gnn, rwatson
Cc: freebsd-net-list
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D7594.19531.patch
Type: text/x-patch
Size: 958 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-net/attachments/20160822/b1af84ce/attachment.bin>
More information about the freebsd-net
mailing list