/* this routine is only used when we are not talking to another IB 1.2-compliant device that we think can do DDR. (This includes all existing switch chips as of Oct 2007.) 1.2-compliant devices go directly to DDR prior to reaching INIT  */
static void try_auto_neg(struct ipath_devdata *dd)
/* this routine is only used when we are not talking to another IB 1.2-compliant device that we think can do DDR. (This includes all existing switch chips as of Oct 2007.) 1.2-compliant devices go directly to DDR prior to reaching INIT  */
static void try_auto_neg(struct ipath_devdata *dd)
{
	ipath_write_kreg(dd, IPATH_KREG_OFFSET(IBNCModeCtrl),
		0x3b9dc07);
	dd->ipath_flags |= IPATH_IB_AUTONEG_INPROG;
	ipath_autoneg_send(dd, 0);
	set_speed_fast(dd, IPATH_IB_DDR);
	ipath_toggle_rclkrls(dd);
	schedule_delayed_work(&dd->ipath_autoneg_work,
		msecs_to_jiffies(2));
}