Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 16dbef4a authored by Yinghai Lu's avatar Yinghai Lu Committed by Jesse Barnes
Browse files

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: default avatarYinghai Lu <yhlu.kernel@gmail.com>
Cc: Andrew Vasquez <andrew.vasquez@qlogic.com>
Signed-off-by: default avatarJesse Barnes <jbarnes@virtuousgeek.org>
parent 0235c4fc
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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;
};

+1 −1
Original line number Diff line number Diff line
@@ -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 */
};