/* Wait ~100us for the serial eeprom to satisfy our request.  */
static int ahd_wait_seeprom(struct ahd_softc *ahd)
/* Wait ~100us for the serial eeprom to satisfy our request.  */
static int ahd_wait_seeprom(struct ahd_softc *ahd)
{
	int cnt;
	cnt = 5000;
	while ((ahd_inb(ahd, SEESTAT) & (SEEARBACK|SEEBUSY)) != 0 && --cnt)
		ahd_delay(5);
	if (cnt == 0)
		return (ETIMEDOUT);
	return (0);
}