ipr: differentiate pci-x and pci-e based adapters
authorWayne Boyer <wayneb@linux.vnet.ibm.com>
Wed, 17 Jun 2009 16:55:35 +0000 (09:55 -0700)
committerJames Bottomley <James.Bottomley@HansenPartnership.com>
Sun, 21 Jun 2009 15:52:47 +0000 (10:52 -0500)
commit1be7bd82bf4c5d9d3efd1de0e2ebe2c5b1db8340
tree119d8afd7e8168626faee5332788c2b75fce261f
parent95fecd90397ec1f85eb31ede955d846a86d2077b
ipr: differentiate pci-x and pci-e based adapters

MSI has only been tested on and known to work with PCI-E based adapters.  This
patch adds a field to struct ipr_chip_t to indicate which type of interrupt to
use based on what is known about the chip.

Signed-off-by: Wayne Boyer <wayneb@linux.vnet.ibm.com>
Acked-by: Brian King <brking@linux.vnet.ibm.com>
Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
drivers/scsi/ipr.c
drivers/scsi/ipr.h