vt82c686: Remove index field of SuperIOConfig
commitc953bf7118261a6af8f306108d5072b5d4efccd0
authorBALATON Zoltan <balaton@eik.bme.hu>
Sat, 9 Jan 2021 20:16:36 +0000 (9 21:16 +0100)
committerPhilippe Mathieu-Daudé <f4bug@amsat.org>
Sun, 21 Feb 2021 18:42:34 +0000 (21 19:42 +0100)
tree2e2aecff8f295ae5d3fa53bd414737113b6a4a21
parent3dc31cb849053c2748e0cf0595bd25475572b28a
vt82c686: Remove index field of SuperIOConfig

Remove the separate index value from SuperIOConfig and store
the index at reg 0 which is reserved and returns 0 on read.
This simplifies the object state.

Signed-off-by: BALATON Zoltan <balaton@eik.bme.hu>
Message-Id: <15b2968fd300a12d06b42368d084f6f80d3c3be5.1610223397.git.balaton@eik.bme.hu>
[PMD: Split original patch in 5, this is part 1/5]
Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
hw/isa/vt82c686.c