/* Set the Rx values normally modified by IBC in IB1.2 mode to default values, as gotten from selected column of init table.  */
static int set_rxeq_vals(struct ipath_devdata *dd, int vsel)
/* Set the Rx values normally modified by IBC in IB1.2 mode to default values, as gotten from selected column of init table.  */
static int set_rxeq_vals(struct ipath_devdata *dd, int vsel)
{
	int ret;
	int ridx;
	int cnt = ARRAY_SIZE(rxeq_init_vals);
	for (ridx = 0; ridx < cnt; ++ridx) {
		int elt, reg, val, loc;
		elt = rxeq_init_vals[ridx].rdesc & 0xF;
		reg = rxeq_init_vals[ridx].rdesc >> 4;
		loc = EPB_LOC(0, elt, reg);
		val = rxeq_init_vals[ridx].rdata[vsel];
		ret = ibsd_mod_allchnls(dd, loc, val, 0xFF);
		if (ret < 0)
			break;
	}
	return ret;
}