/* I have my own version of udelay(), as it is needed when initialising the chip, before the delay loop has been calibrated. Should probably reference one of the vmechip2 or pccchip2 counter for an accurate delay, but this wild guess will do for now.  */
void my_udelay(long us)
/* I have my own version of udelay(), as it is needed when initialising the chip, before the delay loop has been calibrated. Should probably reference one of the vmechip2 or pccchip2 counter for an accurate delay, but this wild guess will do for now.  */
void my_udelay(long us)
{
	u_char x;
	volatile u_char *p = &x;
	int i;
	while (us--)
		for (i = 100; i; i--)
			x |= *p;
}