diff options
author | Yinghai Lu <yhlu.kernel@gmail.com> | 2008-08-19 20:50:45 -0700 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-10-16 16:52:56 +0200 |
commit | 42379b1122bab7f9aefdbd4b7004a6fa89dfbae5 (patch) | |
tree | cc5e0bb92bc6353d0476d45f5a68ff1fc23c4233 | |
parent | c691cc84529ec88ccb32b174535bb61875888c90 (diff) | |
download | kernel_samsung_espresso10-42379b1122bab7f9aefdbd4b7004a6fa89dfbae5.zip kernel_samsung_espresso10-42379b1122bab7f9aefdbd4b7004a6fa89dfbae5.tar.gz kernel_samsung_espresso10-42379b1122bab7f9aefdbd4b7004a6fa89dfbae5.tar.bz2 |
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>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
-rw-r--r-- | drivers/scsi/qla2xxx/qla_def.h | 2 | ||||
-rw-r--r-- | include/linux/pci.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/drivers/scsi/qla2xxx/qla_def.h b/drivers/scsi/qla2xxx/qla_def.h index 83c8192..f25f41a 100644 --- a/drivers/scsi/qla2xxx/qla_def.h +++ b/drivers/scsi/qla2xxx/qla_def.h @@ -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; }; diff --git a/include/linux/pci.h b/include/linux/pci.h index 98dc624..1f8db24 100644 --- a/include/linux/pci.h +++ b/include/linux/pci.h @@ -723,7 +723,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 */ }; |