> +              *
> +              * pci_irq_vector() below is able to handle entry differently
> +              * depending on MSI vs MSI-x case
> +              *
>                */

One more instance of this comment left :)

>               pcie_capability_read_word(dev, PCI_EXP_FLAGS, &reg16);
>               entry = (reg16 & PCI_EXP_FLAGS_IRQ) >> 9;
> @@ -100,7 +107,10 @@ static int pcie_port_enable_msix(struct pci_dev *dev, 
> int *irqs, int mask)
>                * MSI/MSI-X vectors assigned to the port is going to be used
>                * for AER, where "For MSI-X, the value in this register
>                * indicates which MSI-X Table entry is used to generate the
> -              * interrupt message."
> +              * interrupt message."  and "For MSI, the value
> +              * in this field indicates the offset between the base Message
> +              * Data and the interrupt message that is generated."
> +              *
>                */

And while this is getting a little too deep into nitpicking:  we usually
don't add empty lines to the end of comments.

Reply via email to