func: static uint64_t eepro100_read(void *opaque, hwaddr unsigned size) EEPRO100State * s = opaque ; switch ( size )  return eepro100_read4 ( s , addr ) ; static uint32_t eepro100_read4(EEPRO100State * s, uint32_t addr) if ( addr <= sizeof ( s -> mem ) - sizeof ( val ) )  val = e100_read_reg4 ( s , addr ); switch ( addr )  val = eepro100_read_port ( s ); static uint32_t eepro100_read_port(EEPRO100State * s) return 0 ; val = eepro100_read_eeprom ( s ); static uint16_t eepro100_read_eeprom(EEPRO100State * s) uint16_t val = e100_read_reg2 ( s , SCBeeprom ) ; if ( eeprom93xx_read ( s -> eeprom ) )  val |= EEPROM_DO; val &= ~EEPROM_DO; return val ; TRACE ( OTHER , logout ( "addr=%s val=0x%08x\n" , regname ( addr ) , val ) ); static char *regname(uint32_t addr) static char buf [ 32 ] ; if ( addr < PCI_IO_SIZE )  snprintf ( buf , sizeof ( buf ) , "??? 0x%08x" , addr ); return buf ; 