diff mbox

PCI: fix a typo in the comment for pci.c/pci_swizzle_interrupt_pin

Message ID CAKXJSOEeeOemeFk4EHZmoVB2q1FLd_RO+EoTzyn_qR4fND1OMA@mail.gmail.com
State Accepted
Headers show

Commit Message

Wang Sheng-Hui May 28, 2013, 3:17 a.m. UTC
The INTx pin should be INIT[ABCD]. Fix the type "3=INTC".

Signed-off-by: Wang Sheng-Hui <shhuiw@gmail.com>
---
 drivers/pci/pci.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Bjorn Helgaas May 28, 2013, 5:05 p.m. UTC | #1
On Mon, May 27, 2013 at 9:17 PM, Wang Sheng-Hui <shhuiw@gmail.com> wrote:
> The INTx pin should be INIT[ABCD]. Fix the type "3=INTC".
>
> Signed-off-by: Wang Sheng-Hui <shhuiw@gmail.com>

Applied to my pci/misc branch for v3.11, thanks!

> ---
>  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
> --
> 1.7.12.4
--
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 mbox

Patch

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