eata module for DPT SCSI cards
Hi, I'm still having to have the following applied to be able to use the eata driver for my DPT2044W SCSI card.
Is there any chance that this could be mainlined or another fix implemented that can be mainlined?
As it is with the following patches applied, I still have to unload and reload the eata driver before mounting filesystems on the disk attached to the DPT2044W SCSI card that uses the eata driver, otherwise kexec reboots fail.
Without the patches applied, the machine locks up when it tries to load the eata module.
Arthur.
drivers/pci/pci-driver.c +1 -0
@@ -391,6 +391,7 @@ int __weak pcibios_alloc_irq(struct pci_dev *dev) {return 0 ; } +EXPORT_SYMBOL_GPL (pcibios_alloc_irq);void __weak pcibios_free_irq (struct pci_dev *dev) {
drivers/scsi/eata.c +2 -0
@@ -1061,6 +1061,7 @@ static void enable_pci_ports(void) driver_name, dev->bus->number, dev->devfn);#endif +pcibios_alloc_irq (dev);if (pci_enable_device (dev)) printk ("%s: warning, pci_enable_device failed, bus %d devfn 0x%x.\n",
@@ -1520,6 +1521,7 @@ static void add_pci_ports(void)if (!(dev =pci_get_class (PCI_CLASS_STORAGE_SCSI <<8 , dev)))break ; +pcibios_alloc_irq (dev);if (pci_enable_device (dev)) {#if defined(DEBUG_PCI_DETECT ) printk
## end