Re: [PATCH] Yet more PCI fixes for 2.5.70

Greg KH (greg@kroah.com)
Tue, 10 Jun 2003 11:49:28 -0700


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;

-
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/