Commit 788d2393 authored by Matthias Brugger's avatar Matthias Brugger Committed by Thomas Gleixner

irq/platform-msi: Fix comment about maximal MSIs

Commit aff5e06b ("irq/platform-MSI: Increase the maximum MSIs the MSI
framework can support") increased the maximum MSIs to 2048.

Fix the comment to reflect that.
Signed-off-by: default avatarMatthias Brugger <mbrugger@suse.com>
Cc: gregkh@linuxfoundation.org
Cc: majun258@huawei.com
Link: http://lkml.kernel.org/r/1484592500-15400-1-git-send-email-mbrugger@suse.comSigned-off-by: default avatarThomas Gleixner <tglx@linutronix.de>
parent 49def185
...@@ -206,7 +206,7 @@ platform_msi_alloc_priv_data(struct device *dev, unsigned int nvec, ...@@ -206,7 +206,7 @@ platform_msi_alloc_priv_data(struct device *dev, unsigned int nvec,
{ {
struct platform_msi_priv_data *datap; struct platform_msi_priv_data *datap;
/* /*
* Limit the number of interrupts to 256 per device. Should we * Limit the number of interrupts to 2048 per device. Should we
* need to bump this up, DEV_ID_SHIFT should be adjusted * need to bump this up, DEV_ID_SHIFT should be adjusted
* accordingly (which would impact the max number of MSI * accordingly (which would impact the max number of MSI
* capable devices). * capable devices).
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment