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.1364, 2003/06/09 16:08:46-07:00, greg@kroah.com

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

drivers/scsi/sym53c8xx.c | 8 --------
1 files changed, 8 deletions(-)

diff -Nru a/drivers/scsi/sym53c8xx.c b/drivers/scsi/sym53c8xx.c
--- a/drivers/scsi/sym53c8xx.c Tue Jun 10 11:18:39 2003
+++ b/drivers/scsi/sym53c8xx.c Tue Jun 10 11:18:39 2003
@@ -493,8 +493,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) \
@@ -12903,12 +12901,6 @@
#ifdef SCSI_NCR_NVRAM_SUPPORT
ncr_nvram nvram0, nvram, *nvp;
#endif
-
- /*
- ** PCI is required.
- */
- if (!pci_present())
- return 0;

/*
** Initialize driver general stuff.

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