Re: [PATCH] Yet more PCI fixes for 2.5.70

Greg KH
2003-06-10T20:55:37Z

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

PCI: remove pci_present() from drivers/scsi/sym53c8xx_comm.h

drivers/scsi/sym53c8xx_comm.h | 8 --------
1 files changed, 8 deletions(-)

diff -Nru a/drivers/scsi/sym53c8xx_comm.h b/drivers/scsi/sym53c8xx_comm.h
--- a/drivers/scsi/sym53c8xx_comm.h Tue Jun 10 11:18:29 2003
+++ b/drivers/scsi/sym53c8xx_comm.h Tue Jun 10 11:18:29 2003
@@ -319,8 +319,6 @@
#define PciDeviceFn(d) ((d)&0xff)
#define __PciDev(busn, devfn) (((busn)<<8)+(devfn))

-#define pci_present pcibios_present
-
#define pci_read_config_byte(d, w, v) \
pcibios_read_config_byte(PciBusNumber(d), PciDeviceFn(d), w, v)
#define pci_read_config_word(d, w, v) \
@@ -2530,12 +2528,6 @@
#ifdef SCSI_NCR_NVRAM_SUPPORT
ncr_nvram nvram0, nvram, *nvp;
#endif
-
- /*
- ** PCI is required.
- */
- if (!pci_present())
- return 0;

#ifdef SCSI_NCR_DEBUG_INFO_SUPPORT
ncr_debug = driver_setup.debug;