On 31/01/19 23:24, Philippe Mathieu-Daudé wrote: > The model implementation is: > - abstract SuperIO parent which can instantiate all configs, > - child implementation. > > Childs require their parent, and even if the parent will instantiate > them without all properties, the parent needs to link with them. > > In short, if a SuperIO child requires ISA_SUPERIO, it also requires to > link to serial/parallel/floppy/ide.
It depends... Some SuperIO chips (children) do not have full functionality, and will never have one or more of serial/parallel/floppy/ide. This is why I left the choice of "select"ing the components in the children. The code already has to set up ISASuperIOClass, so there is knowledge of what to select. Paolo