From patchwork Tue May 1 18:23:50 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Linus Walleij X-Patchwork-Id: 8338 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 5D15B23E23 for ; Tue, 1 May 2012 18:23:56 +0000 (UTC) Received: from mail-gy0-f180.google.com (mail-gy0-f180.google.com [209.85.160.180]) by fiordland.canonical.com (Postfix) with ESMTP id 2AECDA183A1 for ; Tue, 1 May 2012 18:23:56 +0000 (UTC) Received: by ghbz12 with SMTP id z12so2647535ghb.11 for ; Tue, 01 May 2012 11:23:55 -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=lDck7aZcFsxlxCpZuYG2FWUa9HlLAJ040U79IJWRs7BC2EgExgAMifWOJSqiS0Rq/q 6p9Q1WVBKcDeDUlIZjHwq0AIFqO2uc4FDD2PM9eovCp5wWBBPlrEj2EIPOfXiLAyqZER UB8Cm0EcqPvnt/hUQ7o6PjnmPP6BRZgVGXIuwXK0DQhmxw0UMz+Cm6Gm/SsXSWrID7px 5Rd+p5/474wq6bT4UuLFGuUJ/2Ot7e9fPRLUHPgsmJchSoVuyUzOTu27zTjtPkp0xBB1 rKKOOJJw9z+Ql/92NnWlTGBLUZl5qJq8f0R67G52UsqKUvJtMiFEfzgzcM9hK37m6RrT R2Eg== Received: by 10.50.10.225 with SMTP id l1mr2866612igb.1.1335896635402; Tue, 01 May 2012 11:23:55 -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.137.198 with SMTP id x6csp198044ibt; Tue, 1 May 2012 11:23:54 -0700 (PDT) Received: by 10.152.111.33 with SMTP id if1mr24391950lab.10.1335896634197; Tue, 01 May 2012 11:23:54 -0700 (PDT) Received: from mail.df.lth.se (mail.df.lth.se. [194.47.250.12]) by mx.google.com with ESMTPS id a9si7238708lbh.29.2012.05.01.11.23.53 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 01 May 2012 11:23:54 -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-217-212.bredband.comhem.se [83.249.217.212]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.df.lth.se (Postfix) with ESMTPSA id 1B60965D55; Tue, 1 May 2012 20:23:52 +0200 (CEST) Received: by fecusia (sSMTP sendmail emulation); Tue, 1 May 2012 20:23:51 +0200 From: "Linus Walleij" To: netdev@vger.kernel.org, linux-usb@vger.kernel.org, Greg Kroah-Hartman , "David S. Miller" , Felipe Balbi Cc: Jussi Kivilinna , Haiyang Zhang , Wei Yongjun , Ben Hutchings , Linus Walleij Subject: [PATCH 13/13 v4] usb/net: rndis: move bus message definition Date: Tue, 1 May 2012 20:23:50 +0200 Message-Id: <1335896630-13695-1-git-send-email-linus.walleij@linaro.org> X-Mailer: git-send-email 1.7.7.6 X-Gm-Message-State: ALoCoQnDmBJJHBIlC23xmOy95NYG50gXbi4m4ltJi01BBL4Jk85yBDbfW10+avKFtRHNapRbntHB 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