diff options
author | Yinghai Lu <yhlu.kernel@gmail.com> | 2008-08-19 23:50:45 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-10-16 10:52:56 -0400 |
commit | 42379b1122bab7f9aefdbd4b7004a6fa89dfbae5 (patch) | |
tree | cc5e0bb92bc6353d0476d45f5a68ff1fc23c4233 | |
parent | c691cc84529ec88ccb32b174535bb61875888c90 (diff) |
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 83c819216771..f25f41a499e5 100644 --- a/drivers/scsi/qla2xxx/qla_def.h +++ b/drivers/scsi/qla2xxx/qla_def.h | |||
@@ -2108,7 +2108,7 @@ struct scsi_qla_host; | |||
2108 | 2108 | ||
2109 | struct qla_msix_entry { | 2109 | struct qla_msix_entry { |
2110 | int have_irq; | 2110 | int have_irq; |
2111 | uint16_t msix_vector; | 2111 | uint32_t msix_vector; |
2112 | uint16_t msix_entry; | 2112 | uint16_t msix_entry; |
2113 | }; | 2113 | }; |
2114 | 2114 | ||
diff --git a/include/linux/pci.h b/include/linux/pci.h index 98dc6243a706..1f8db240ca48 100644 --- a/include/linux/pci.h +++ b/include/linux/pci.h | |||
@@ -723,7 +723,7 @@ enum pci_dma_burst_strategy { | |||
723 | }; | 723 | }; |
724 | 724 | ||
725 | struct msix_entry { | 725 | struct msix_entry { |
726 | u16 vector; /* kernel uses to write allocated vector */ | 726 | u32 vector; /* kernel uses to write allocated vector */ |
727 | u16 entry; /* driver uses to specify entry, OS writes */ | 727 | u16 entry; /* driver uses to specify entry, OS writes */ |
728 | }; | 728 | }; |
729 | 729 | ||