From patchwork Tue Aug 27 19:00:40 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bjorn Helgaas X-Patchwork-Id: 2850276 X-Patchwork-Delegate: bhelgaas@google.com Return-Path: X-Original-To: patchwork-linux-pci@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 9863D9F2F4 for ; Tue, 27 Aug 2013 19:00:50 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 09BAD20429 for ; Tue, 27 Aug 2013 19:00:46 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id C6C78203F7 for ; Tue, 27 Aug 2013 19:00:44 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753844Ab3H0TAo (ORCPT ); Tue, 27 Aug 2013 15:00:44 -0400 Received: from mail-pb0-f45.google.com ([209.85.160.45]:57673 "EHLO mail-pb0-f45.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753835Ab3H0TAn (ORCPT ); Tue, 27 Aug 2013 15:00:43 -0400 Received: by mail-pb0-f45.google.com with SMTP id mc17so5230610pbc.32 for ; Tue, 27 Aug 2013 12:00:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=subject:to:from:cc:date:message-id:in-reply-to:references :user-agent:mime-version:content-type:content-transfer-encoding; bh=UHpouWdotgITDhTGv6rmkgb8H40eow/gwRNTksQKo0U=; b=nYDBxT/woIjVt+lAmH1Aa8ijAtG2q47bQ2zzXuid2y9Rjkwa2uveLlXqgWCPg2RBuO IdWeIdDd0+D9Mqq+eI/T9F6RY4ongfeGJeWp7skRBFTVlATL+9mw8sqNa5cG0iV5WYMv 1rGJSzJs4VKiOLate2zViY9EHt7z11/fKNvPWR75X3ES4cAtqtWw1/p3wB8jurHEnJdM Ed0eLQ0S3J9QmpT2LxFbEq98NFwRXHrmfJ0rFkbtmpwdjrrQRP4ubxtvpld66BQepzyA nDiT/ggwAgrNZv4s6kjbcM8zC9ZRZ+ehMcwX6w25u4eTN+8G7lmKSX0mLbCNLs8PWgyq KJug== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-gm-message-state:subject:to:from:cc:date:message-id:in-reply-to :references:user-agent:mime-version:content-type :content-transfer-encoding; bh=UHpouWdotgITDhTGv6rmkgb8H40eow/gwRNTksQKo0U=; b=okC8iximxyUXmBci7pmcCC3B666xqZ5W2W+MfgTwFvrTA3qLQPowkRQfrtIfMskcUL 9PU/XYNA0wYgmDIrjJu12JnLMxQ1qL7dwqAr+r562mdf31405uAaa/6OoHeQ526e8DCQ 2pjRMe9KRHzwvS1YpgOW0rIhRr8DDihQDbsNgbQf9LmtTIJKJYd8jc+YHfloPxFuXJKe rBv3hpdIfSsEXxVAMp8fe53F9iz6SIQ9OBt9d/sbYZIAFZez8J8/QDEJnbWOppA3a7/f mwTdBshJVBIJPTUGKHSLYWbVE4YngMQBT5b9YjD60pP7hlOmmZA7rmCqgFiPelP1BqUF 4jsg== X-Gm-Message-State: ALoCoQnAvy3DSerJi4r0m4SLcJLnwXy3Cvpc9VkKA/X87ByQiqCL2TBFRt/NPsBFSOLXKR04Oj64bpemo51G113b3KJMjhylDkfGJ4wf81Hk3BIQrXM/+HKVWx3l2Ogp4aw5dd46ZpZGwsT+J5N9ZxGkoHDmp/vBMh3nrqGSisNb0nDOs97c69esvtdKdr0dBvcA1JlgzDx6/qRMP85tCEuRz18jaATyH1xbOTD2j3xao3N3RrIFlX0= X-Received: by 10.68.115.15 with SMTP id jk15mr23177313pbb.36.1377630043318; Tue, 27 Aug 2013 12:00:43 -0700 (PDT) Received: from localhost ([172.19.241.6]) by mx.google.com with ESMTPSA id qp10sm28560005pab.13.1969.12.31.16.00.00 (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Tue, 27 Aug 2013 12:00:42 -0700 (PDT) Subject: [PATCH 3/5] PCI: Remove obsolete comment reference to pci_pcie_cap2() To: linux-pci@vger.kernel.org From: Bjorn Helgaas Cc: Lee Jones , Samuel Ortiz Date: Tue, 27 Aug 2013 13:00:40 -0600 Message-ID: <20130827190040.16595.42583.stgit@bhelgaas-glaptop> In-Reply-To: <20130827185731.16595.52864.stgit@bhelgaas-glaptop> References: <20130827185731.16595.52864.stgit@bhelgaas-glaptop> User-Agent: StGit/0.16 MIME-Version: 1.0 Sender: linux-pci-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-pci@vger.kernel.org X-Spam-Status: No, score=-9.3 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, T_DKIM_INVALID, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP pci_pcie_cap2() was replaced by pcie_capability_read_word() and similar functions, so update the comment. Signed-off-by: Bjorn Helgaas --- include/uapi/linux/pci_regs.h | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) -- To unsubscribe from this list: send the line "unsubscribe linux-pci" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/include/uapi/linux/pci_regs.h b/include/uapi/linux/pci_regs.h index 5bb33f4..591bb3b 100644 --- a/include/uapi/linux/pci_regs.h +++ b/include/uapi/linux/pci_regs.h @@ -544,10 +544,12 @@ #define PCI_EXP_RTSTA_PME 0x10000 /* PME status */ #define PCI_EXP_RTSTA_PENDING 0x20000 /* PME pending */ /* - * Note that the following PCI Express 'Capability Structure' registers - * were introduced with 'Capability Version' 0x2 (v2). These registers - * do not exist on devices with Capability Version 1. Use pci_pcie_cap2() - * to use these fields safely. + * The Device Capabilities 2, Device Status 2, Device Control 2, + * Link Capabilities 2, Link Status 2, Link Control 2, + * Slot Capabilities 2, Slot Status 2, and Slot Control 2 registers + * are only present on devices with PCIe Capability version 2. + * Use pcie_capability_read_word() and similar interfaces to use them + * safely. */ #define PCI_EXP_DEVCAP2 36 /* Device Capabilities 2 */ #define PCI_EXP_DEVCAP2_ARI 0x20 /* Alternative Routing-ID */