Commit b196c28d authored by Greg Kroah-Hartman's avatar Greg Kroah-Hartman

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

parent af4f72cf
...@@ -319,8 +319,6 @@ typedef unsinged int device_t; ...@@ -319,8 +319,6 @@ typedef unsinged int device_t;
#define PciDeviceFn(d) ((d)&0xff) #define PciDeviceFn(d) ((d)&0xff)
#define __PciDev(busn, devfn) (((busn)<<8)+(devfn)) #define __PciDev(busn, devfn) (((busn)<<8)+(devfn))
#define pci_present pcibios_present
#define pci_read_config_byte(d, w, v) \ #define pci_read_config_byte(d, w, v) \
pcibios_read_config_byte(PciBusNumber(d), PciDeviceFn(d), w, v) pcibios_read_config_byte(PciBusNumber(d), PciDeviceFn(d), w, v)
#define pci_read_config_word(d, w, v) \ #define pci_read_config_word(d, w, v) \
...@@ -2531,12 +2529,6 @@ sym53c8xx__detect(Scsi_Host_Template *tpnt, u_short ncr_chip_ids[], int chips) ...@@ -2531,12 +2529,6 @@ sym53c8xx__detect(Scsi_Host_Template *tpnt, u_short ncr_chip_ids[], int chips)
ncr_nvram nvram0, nvram, *nvp; ncr_nvram nvram0, nvram, *nvp;
#endif #endif
/*
** PCI is required.
*/
if (!pci_present())
return 0;
#ifdef SCSI_NCR_DEBUG_INFO_SUPPORT #ifdef SCSI_NCR_DEBUG_INFO_SUPPORT
ncr_debug = driver_setup.debug; ncr_debug = driver_setup.debug;
#endif #endif
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment