/* Return code 0 - driver can claim the device negative value - driver can not claim the device  */
static int __devinit lpfc_pci_probe_one(struct pci_dev *pdev, const struct pci_device_id *pid)
/* Return code 0 - driver can claim the device negative value - driver can not claim the device  */
static int __devinit lpfc_pci_probe_one(struct pci_dev *pdev, const struct pci_device_id *pid)
{
	int rc;
	struct lpfc_sli_intf intf;
	if (pci_read_config_dword(pdev, LPFC_SLIREV_CONF_WORD, &intf.word0))
		return -ENODEV;
	if ((bf_get(lpfc_sli_intf_valid, &intf) == LPFC_SLI_INTF_VALID) &&
		(bf_get(lpfc_sli_intf_rev, &intf) == LPFC_SLIREV_CONF_SLI4))
		rc = lpfc_pci_probe_one_s4(pdev, pid);
	else
		rc = lpfc_pci_probe_one_s3(pdev, pid);
	return rc;
}