Re: [PATCH] Yet more PCI fixes for 2.5.70

Greg KH
2003-06-10T19:09:06Z

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;