提交 16dbef4a 编写于 作者: Y Yinghai Lu 提交者: Jesse Barnes

PCI: change MSI-x vector to 32bit

We are using 28bit pci (bus/dev/fn + 12 bits) as irq number, so the
cache for irq number should be 32 bit too.
Signed-off-by: NYinghai Lu <yhlu.kernel@gmail.com>
Cc: Andrew Vasquez <andrew.vasquez@qlogic.com>
Signed-off-by: NJesse Barnes <jbarnes@virtuousgeek.org>
上级 0235c4fc
......@@ -2108,7 +2108,7 @@ struct scsi_qla_host;
struct qla_msix_entry {
int have_irq;
uint16_t msix_vector;
uint32_t msix_vector;
uint16_t msix_entry;
};
......
......@@ -725,7 +725,7 @@ enum pci_dma_burst_strategy {
};
struct msix_entry {
u16 vector; /* kernel uses to write allocated vector */
u32 vector; /* kernel uses to write allocated vector */
u16 entry; /* driver uses to specify entry, OS writes */
};
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册