From patchwork Sat May 12 08:17:26 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Linus Walleij X-Patchwork-Id: 8558 Return-Path: X-Original-To: patchwork@peony.canonical.com Delivered-To: patchwork@peony.canonical.com Received: from fiordland.canonical.com (fiordland.canonical.com [91.189.94.145]) by peony.canonical.com (Postfix) with ESMTP id 0E82923EB5 for ; Sat, 12 May 2012 08:17:32 +0000 (UTC) Received: from mail-ob0-f180.google.com (mail-ob0-f180.google.com [209.85.214.180]) by fiordland.canonical.com (Postfix) with ESMTP id C6E31A186BA for ; Sat, 12 May 2012 08:17:31 +0000 (UTC) Received: by mail-ob0-f180.google.com with SMTP id un3so1708738obb.11 for ; Sat, 12 May 2012 01:17:31 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-forwarded-to:x-forwarded-for:delivered-to:received-spf:from:to:cc :subject:date:message-id:x-mailer:x-gm-message-state; bh=4UPRw/OETCmVVUsZ3IssdyzHFGEPlG0NurfVNHMleIQ=; b=lwfOg5BGiTinMdCCkaxVET3/vo2RkJemcUHPFLz7wMXVLcQ9wCRepMLXWfc1ggAFyt N9aH5Bc4AylYWbgWhQ+/Va8u9QqKicV6QwtiqdPDYainQ9i2/Al2jWxwi6Dw7bUu5Rle 1E1yElyR05zuOJ19QguDEiqBwbHjFZaQE05dxcFWM81L1eFvINhfjwkAc5cqsqs3CNJJ 1t3OBbbAReSKdI24jbSfmzqFT8KcaqxRWImBT4rjhnmwiz9xzTmwminvyOYPjzD/BiNj 8YbC2Xzn2gsei6Zs/kAFTciSXm0o8sqp9FZ6l8YQkoJKOVyI66IJbYpoO50wBEIH4A0D xQxg== Received: by 10.50.89.168 with SMTP id bp8mr509998igb.3.1336810651551; Sat, 12 May 2012 01:17:31 -0700 (PDT) X-Forwarded-To: linaro-patchwork@canonical.com X-Forwarded-For: patch@linaro.org linaro-patchwork@canonical.com Delivered-To: patches@linaro.org Received: by 10.231.73.147 with SMTP id q19csp226549ibj; Sat, 12 May 2012 01:17:30 -0700 (PDT) Received: by 10.152.130.138 with SMTP id oe10mr1026258lab.5.1336810650306; Sat, 12 May 2012 01:17:30 -0700 (PDT) Received: from mail.df.lth.se (mail.df.lth.se. [194.47.250.12]) by mx.google.com with ESMTPS id ef10si5581499lbb.80.2012.05.12.01.17.29 (version=TLSv1/SSLv3 cipher=OTHER); Sat, 12 May 2012 01:17:30 -0700 (PDT) Received-SPF: neutral (google.com: 194.47.250.12 is neither permitted nor denied by best guess record for domain of linus.walleij@linaro.org) client-ip=194.47.250.12; Authentication-Results: mx.google.com; spf=neutral (google.com: 194.47.250.12 is neither permitted nor denied by best guess record for domain of linus.walleij@linaro.org) smtp.mail=linus.walleij@linaro.org Received: from fecusia (c83-249-216-219.bredband.comhem.se [83.249.216.219]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.df.lth.se (Postfix) with ESMTPSA id 2278965D8A; Sat, 12 May 2012 10:17:28 +0200 (CEST) Received: by fecusia (sSMTP sendmail emulation); Sat, 12 May 2012 10:17:27 +0200 From: "Linus Walleij" To: netdev@vger.kernel.org, linux-usb@vger.kernel.org, "David S. Miller" , Greg Kroah-Hartman , Felipe Balbi Cc: Jussi Kivilinna , Haiyang Zhang , Wei Yongjun , Ben Hutchings , 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> X-Mailer: git-send-email 1.7.7.6 X-Gm-Message-State: ALoCoQnBoF4oI9QxiIKIAcTF/MShCTu0vqwG3aK0a8uaD2TXq8PmzIcjQFGT2Py83MJTCf/VGuN2 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 - -/* - * Reserved message type for private communication between lower-layer host - * driver and remote device, if necessary. - */ -#define REMOTE_NDIS_BUS_MSG 0xff000001