]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/commitdiff
PCI: change MSI-x vector to 32bit
authorYinghai Lu <yhlu.kernel@gmail.com>
Sat, 16 Aug 2008 02:36:45 +0000 (19:36 -0700)
committerJesse Barnes <jbarnes@virtuousgeek.org>
Mon, 20 Oct 2008 17:53:42 +0000 (10:53 -0700)
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>
drivers/scsi/qla2xxx/qla_def.h
include/linux/pci.h

index 83c819216771a5c9c10d886789e3fa9350d75cc0..f25f41a499e5ed7be7ebd3dc109d4d4b14c9494a 100644 (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;
 };
 
index f7e7dbc09194e553101c283f9e3580cdc251edf0..8a4d0bebc311590bb8dabd15117bca8b30dee3c4 100644 (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 */
 };