/* Wait for the command register to be ready. We will poll this, since it won't usually take too long to be ready.  */
static void stl_cd1400ccrwait(struct stlport *portp)
/* Wait for the command register to be ready. We will poll this, since it won't usually take too long to be ready.  */
static void stl_cd1400ccrwait(struct stlport *portp)
{
	int	i;
	for (i = 0; i < CCR_MAXWAIT; i++)
		if (stl_cd1400getreg(portp, CCR) == 0)
			return;
	printk("STALLION: cd1400 not responding, port=%d panel=%d brd=%d\n",
		portp->portnr, portp->panelnr, portp->brdnr);
}