kernels/linux-2.4.0/drivers/net/3c509.c
/* Read a word from the EEPROM using the regular EEPROM access register.
   Assume that we are in register window zero.
 */
Read a word from the EEPROM using the regular EEPROM access register.
Assume that we are in register window zero.
Read a word from the EEPROM using the regular EEPROM access register . Assume that we are in register window zero .
static ushort read_eeprom(int ioaddr, int index)
{
	outw(EEPROM_READ + index, ioaddr + 10);
	udelay (500);
	return inw(ioaddr + 12);
}
static ushort read_eeprom ( int ioaddr , int index ) { outw ( EEPROM_READ + index , ioaddr + 10 ) ; udelay ( 500 ) ; return inw ( ioaddr + 12 ) ; }
Read a word from the EEPROM using the regular EEPROM access register.
Read a word from the EEPROM using the regular EEPROM access register .
/* Pause for at least 162 us. for the read to take place. */