Re: [PATCH] Yet more PCI fixes for 2.5.70

From: Greg KH (greg@kroah.com)
Date: Tue Jun 10 2003 - 13:49:28 EST


ChangeSet 1.1361, 2003/06/09 16:07:27-07:00, greg@kroah.com

PCI: remove pci_present() from drivers/scsi/qla1280.c

 drivers/scsi/qla1280.c | 6 ------
 1 files changed, 6 deletions(-)

diff -Nru a/drivers/scsi/qla1280.c b/drivers/scsi/qla1280.c
--- a/drivers/scsi/qla1280.c Tue Jun 10 11:18:53 2003
+++ b/drivers/scsi/qla1280.c Tue Jun 10 11:18:53 2003
@@ -360,7 +360,6 @@
  */
 #if LINUX_VERSION_CODE < KERNEL_VERSION(2, 4, 0)
 #define pci_set_dma_mask(dev, mask) dev->dma_mask = mask;
-#define pci_present() pcibios_present()
 #define pci_enable_device(pdev) 0
 #define pci_find_subsys(id, dev, sid, sdev, pdev) pci_find_device(id,dev,pdev)
 #define scsi_set_pci_device(host, pdev)
@@ -1008,11 +1007,6 @@
                "arguments to\n"
                "qla1280: insmod or else it might trash certain memory areas.\n");
 #endif
-
- if (!pci_present()) {
- printk(KERN_INFO "scsi: PCI not present\n");
- return 0;
- }
 
         bdp = &ql1280_board_tbl[0];
         qla1280_hostlist = NULL;

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sun Jun 15 2003 - 22:00:25 EST