lkml.org 
[lkml]   [2003]   [Jun]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
SubjectRe: [PATCH] Yet more PCI fixes for 2.5.70
From
Date
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/

\
 
 \ /
  Last update: 2005-03-22 13:36    [W:1.041 / U:0.000 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site