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: Yinghai Lu <yhlu.kernel@gmail.com>
Cc: Andrew Vasquez <andrew.vasquez@qlogic.com>
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
This commit is contained in:
Yinghai Lu 2008-08-15 19:36:45 -07:00 committed by Jesse Barnes
parent 0235c4fc7f
commit 16dbef4a83
2 changed files with 2 additions and 2 deletions

View File

@ -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;
};

View File

@ -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 */
};