ioa_cfg->host->max_channel = IPR_VSET_BUS; 
static int __devinit ipr_probe(struct pci_dev *pdev,			       const struct pci_device_id *dev_id){	struct ipr_ioa_cfg *ioa_cfg;	int rc;	rc = ipr_probe_ioa(pdev, dev_id);	if (rc)		return rc;	ioa_cfg = pci_get_drvdata(pdev);	rc = ipr_probe_ioa_part2(ioa_cfg);	if (rc) {		__ipr_remove(pdev);		return rc;	}	rc = scsi_add_host(ioa_cfg->host, &pdev->dev);	if (rc) {		__ipr_remove(pdev);		return rc;	}	rc = ipr_create_trace_file(&ioa_cfg->host->shost_classdev.kobj,				   &ipr_trace_attr);	if (rc) {		scsi_remove_host(ioa_cfg->host);		__ipr_remove(pdev);		return rc;	}	rc = ipr_create_dump_file(&ioa_cfg->host->shost_classdev.kobj,				   &ipr_dump_attr);	if (rc) {		ipr_remove_trace_file(&ioa_cfg->host->shost_classdev.kobj,				      &ipr_trace_attr);		scsi_remove_host(ioa_cfg->host);		__ipr_remove(pdev);		return rc;	}	scsi_scan_host(ioa_cfg->host);	ipr_scan_vsets(ioa_cfg);	scsi_add_device(ioa_cfg->host, IPR_IOA_BUS, IPR_IOA_TARGET, IPR_IOA_LUN);	ioa_cfg->allow_ml_add_del = 1;	schedule_work(&ioa_cfg->work_q);	return 0;}
10457	/local/tlutelli/issta_data/temp/c/2005_temp/2005/10457/11cd8f120173a707e9ed7b78f7af8cde5a1ebb90/ipr.c/buggy/drivers/scsi/ipr.c