OSDN Git Service

usb/net: rndis: move bus message definition
authorLinus Walleij <linus.walleij@linaro.org>
Fri, 11 May 2012 22:17:26 +0000 (22:17 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sat, 12 May 2012 19:15:20 +0000 (15:15 -0400)
This moves the bus message definition to land together with the
other message types. This message is not used in the kernel but
I'm keeping it anyway.

Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/rndis.h

index 3f2ba8f..0c8dc71 100644 (file)
 #define RNDIS_MSG_INDICATE     0x00000007
 #define RNDIS_MSG_KEEPALIVE    0x00000008
 #define RNDIS_MSG_KEEPALIVE_C  (RNDIS_MSG_KEEPALIVE|RNDIS_MSG_COMPLETION)
+/*
+ * Reserved message type for private communication between lower-layer host
+ * driver and remote device, if necessary.
+ */
+#define RNDIS_MSG_BUS          0xff000001
 
 /* codes for "status" field of completion messages */
 #define        RNDIS_STATUS_SUCCESS                    0x00000000
 #define REMOTE_CONDIS_MP_DELETE_VC_CMPLT       0x80008002
 #define REMOTE_CONDIS_MP_ACTIVATE_VC_CMPLT     0x80008005
 #define REMOTE_CONDIS_MP_DEACTIVATE_VC_CMPLT   0x80008006
-
-/*
- * Reserved message type for private communication between lower-layer host
- * driver and remote device, if necessary.
- */
-#define REMOTE_NDIS_BUS_MSG                    0xff000001