/* Wait for the frequency EEprom to complete a command...  */
static void fee_wait(u_long base, int delay, int number)
/* Wait for the frequency EEprom to complete a command...  */
static void fee_wait(u_long base, int delay, int number)
{
  int		count = 0;
  while((count++ < number) &&
	(mmc_in(base, mmroff(0, mmr_fee_status)) & MMR_FEE_STATUS_BUSY))
    udelay(delay);
}