Bug fixes on read_iregisters + stub for read_devid

Signed-off-by: Olli Vanhoja <olli.vanhoja@gmail.com>