From patchwork Tue May 28 03:17:41 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Wang Sheng-Hui X-Patchwork-Id: 2621841 X-Patchwork-Delegate: bhelgaas@google.com Return-Path: X-Original-To: patchwork-linux-pci@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork2.kernel.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by patchwork2.kernel.org (Postfix) with ESMTP id 05437DF215 for ; Tue, 28 May 2013 03:17:43 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758731Ab3E1DRm (ORCPT ); Mon, 27 May 2013 23:17:42 -0400 Received: from mail-qc0-f173.google.com ([209.85.216.173]:49636 "EHLO mail-qc0-f173.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1758717Ab3E1DRl (ORCPT ); Mon, 27 May 2013 23:17:41 -0400 Received: by mail-qc0-f173.google.com with SMTP id c11so3778271qcv.18 for ; Mon, 27 May 2013 20:17:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=26eppZHY/aI3SlRmbKcvrp/LJHZnw1ClkZvIP2hSJeE=; b=picRTCNb7wAqP0tZpcuqnjboB/ZHOA2u33T488s64qtWySd+UMSpqieIal/5wjPUT/ BnEI07eSTc/QR4rC1UoW9T/l8Z4zICLw2gkp2rNUdsJ2b2xPYNLGiMIDuZt22o/fsFFf 9PsnllBYrr3NSXpjH7XmBOfiF+EKowXh9oE5cbqJ2KjrJv/8wpzcLVeuov85jCz+6wR6 wZE+6KJBqeJbbK7x0O62S3kzbJyoAoJRCsyij5IB1YskFvjDyOmKCLqTusAxn1T9OGH6 Tqjcsp9Uymj75YVwNzmhr8gpCrkXcZodrwH5+cJQ1qHLV5J3SXOQGYcbye9YslTUjDUF Tl/w== MIME-Version: 1.0 X-Received: by 10.224.167.133 with SMTP id q5mr30359825qay.2.1369711061173; Mon, 27 May 2013 20:17:41 -0700 (PDT) Received: by 10.49.38.195 with HTTP; Mon, 27 May 2013 20:17:41 -0700 (PDT) Date: Tue, 28 May 2013 11:17:41 +0800 Message-ID: Subject: [PATCH] PCI: fix a typo in the comment for pci.c/pci_swizzle_interrupt_pin From: Wang Sheng-Hui To: Martin Mares , Bjorn Helgaas , linux-pci@vger.kernel.org Sender: linux-pci-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-pci@vger.kernel.org The INTx pin should be INIT[ABCD]. Fix the type "3=INTC". Signed-off-by: Wang Sheng-Hui --- drivers/pci/pci.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/pci/pci.c b/drivers/pci/pci.c index a899d8b..e5f4e55 100644 --- a/drivers/pci/pci.c +++ b/drivers/pci/pci.c @@ -2421,7 +2421,7 @@ bool pci_acs_path_enabled(struct pci_dev *start, /** * pci_swizzle_interrupt_pin - swizzle INTx for device behind bridge * @dev: the PCI device - * @pin: the INTx pin (1=INTA, 2=INTB, 3=INTD, 4=INTD) + * @pin: the INTx pin (1=INTA, 2=INTB, 3=INTC, 4=INTD) * * Perform INTx swizzling for a device behind one level of bridge. This is * required by section 9.1 of the PCI-to-PCI bridge specification for devices