On 06/07/11 17:02, Andreas Färber wrote:
Hi,As suggested by Gerd, I've introduced a set_state() callback at ISA level and implemented it as required for pc87312. This approach simplifies some things but currently has the drawback that the devices are disabled and potentially re-enabled for each register write.
Doesn't the pc87312 keep track of the configured iobases and irqs? So it should know whenever a register write changed something or not ...
cheers, Gerd