From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Linus Walleij" Subject: [PATCH 13/17 v5] usb/net: rndis: move bus message definition Date: Sat, 12 May 2012 10:17:26 +0200 Message-ID: <1336810646-5196-1-git-send-email-linus.walleij@linaro.org> Cc: Jussi Kivilinna , Haiyang Zhang , Wei Yongjun , Ben Hutchings , Linus Walleij To: netdev-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, linux-usb-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, "David S. Miller" , Greg Kroah-Hartman , Felipe Balbi Return-path: Sender: linux-usb-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org List-Id: netdev.vger.kernel.org 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 --- include/linux/rndis.h | 11 +++++------ 1 files changed, 5 insertions(+), 6 deletions(-) diff --git a/include/linux/rndis.h b/include/linux/rndis.h index 3f2ba8f..0c8dc71 100644 --- a/include/linux/rndis.h +++ b/include/linux/rndis.h @@ -31,6 +31,11 @@ #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 @@ -383,9 +388,3 @@ #define REMOTE_CONDIS_MP_DELETE_VC_CMPLT 0x80008002 #define REMOTE_CONDIS_MP_ACTIVATE_VC_CMPLT 0x80008005 #define REMOTE_CONDIS_MP_DEACTIVATE_VC_CMPLT 0x80008006