Re: [PATCH] usb: enable pci MSI/MSIX in usb core

From: Alex,Shi
Date: Fri Feb 17 2012 - 03:51:47 EST



> The controller driver will need to know which of the multiple MSI-X
> interrupts has been raised:
>
> irqreturn_t (*msix_irq)(struct usb_hcd *hcd, unsigned int nr_or_index);

Actually, hcd has 2 object for msix, msix_count and msix_entries.

Do you mean msix_count maybe smaller than we decide in hcd_setup_msix()?
Which situation will make this?


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/