@@ -835,9 +819,6 @@ static int ntb_xeon_setup(struct ntb_device *ndev)
}
break;
caseNTB_CONN_RP:
dev_info(&ndev->pdev->dev,"Conn Type = RP\n");
ndev->conn_type=NTB_CONN_RP;
if(xeon_errata_workaround){
dev_err(&ndev->pdev->dev,
"NTB-RP disabled due to hardware errata. To disregard this warning and potentially lock-up the system, add the parameter 'xeon_errata_workaround=0'.\n");
@@ -867,8 +848,6 @@ static int ntb_xeon_setup(struct ntb_device *ndev)
ndev->limits.max_mw=SNB_MAX_MW;
break;
caseNTB_CONN_TRANSPARENT:
dev_info(&ndev->pdev->dev,"Conn Type = TRANSPARENT\n");
ndev->conn_type=NTB_CONN_TRANSPARENT;
/* Scratch pads need to have exclusive access from the primary
* or secondary side. Halve the num spads so that each side can
* have an equal amount.
@@ -890,10 +869,10 @@ static int ntb_xeon_setup(struct ntb_device *ndev)
ndev->limits.max_mw=SNB_MAX_MW;
break;
default:
/* Most likely caused by the remote NTB-RP device not being
* configured
/*
* we should never hit this. the detect function should've
* take cared of everything.
*/
dev_err(&ndev->pdev->dev,"Unknown PPD %x\n",val);
return-EINVAL;
}
@@ -977,9 +956,6 @@ static int ntb_device_setup(struct ntb_device *ndev)
if(rc)
returnrc;
dev_info(&ndev->pdev->dev,"Device Type = %s\n",
ndev->dev_type==NTB_DEV_USD?"USD/DSP":"DSD/USP");
if(ndev->conn_type==NTB_CONN_B2B)
/* Enable Bus Master and Memory Space on the secondary side */