mirror of
https://github.com/SCST-project/scst.git
synced 2026-05-17 10:41:26 +00:00
Get irq number from PCI subsystem after irq routing mechanism (like ACPI)
set it up. Otherwise we get irq number from legacy BIOS range and proper irq (other number from PCI range) is not handled or handled by other driver - - VERY VERY BAD THINGS happen then. git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@178 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
@@ -840,7 +840,6 @@ isplinux_pci_init(struct Scsi_Host *host)
|
||||
isp_pci_mapmem &= ~(1 << isp->isp_unit);
|
||||
#endif
|
||||
}
|
||||
irq = isp_pci->pci_dev->irq;
|
||||
|
||||
if (vid != PCI_VENDOR_ID_QLOGIC) {
|
||||
printk("%s: 0x%04x is not QLogic's PCI Vendor ID\n", loc, vid);
|
||||
@@ -911,6 +910,7 @@ isplinux_pci_init(struct Scsi_Host *host)
|
||||
return (1);
|
||||
}
|
||||
|
||||
irq = isp_pci->pci_dev->irq;
|
||||
(void) PRDW(isp_pci, PCI_COMMAND, &cmd);
|
||||
|
||||
if ((cmd & PCI_CMD_ISP) != pci_cmd_isp) {
|
||||
|
||||
Reference in New Issue
Block a user