summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorYinghai Lu <yhlu.kernel@gmail.com>2008-08-15 19:36:45 -0700
committerJesse Barnes <jbarnes@virtuousgeek.org>2008-10-20 10:53:42 -0700
commit16dbef4a831782466b10d4ae56837c5ba17d1948 (patch)
tree8656c347e8e6aeecece6bfa4c182d1b1cec74bb4 /include
parent0235c4fc7fc6f621dc0dd89eba102ad5aa373390 (diff)
downloadop-kernel-dev-16dbef4a831782466b10d4ae56837c5ba17d1948.zip
op-kernel-dev-16dbef4a831782466b10d4ae56837c5ba17d1948.tar.gz
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>
Diffstat (limited to 'include')
-rw-r--r--include/linux/pci.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/pci.h b/include/linux/pci.h
index f7e7dbc..8a4d0be 100644
--- a/include/linux/pci.h
+++ b/include/linux/pci.h
@@ -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 */
};
OpenPOWER on IntegriCloud