superio/common: fix regression in ssdt
commit5403a8e86141e6392705d6a7f5efdee4b8fe08f7
authorMichael Niewöhner <foss@mniewoehner.de>
Sun, 8 Sep 2019 16:03:53 +0000 (8 18:03 +0200)
committerFelix Held <felix-coreboot@felixheld.de>
Wed, 11 Sep 2019 13:49:28 +0000 (11 13:49 +0000)
treef85d9fa5eb519712518c62c73c695306886609d2
parent660ff2072dba2055cca131ff1b9d3007fc354c8a
superio/common: fix regression in ssdt

ITR2 is specified twice here, which leads to the following error message
in Linux:
[    0.263591] ACPI BIOS Error (bug): Failure creating named object
[\_SB.PCI0.LPCB.SIO0.ITR2], AE_ALREADY_EXISTS (20190509/dsfield-633)

Add comments and fix duplicated field.
As there are no users of this code yet, just rename the fields.

Tested on Supermicro X11SSH-TF.

Change-Id: I4f3307d0992fcf5ad192f412c2bd15d02572a6b0
Signed-off-by: Michael Niewöhner <foss@mniewoehner.de>
Signed-off-by: Patrick Rudolph <patrick.rudolph@9elements.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/35294
Reviewed-by: Felix Held <felix-coreboot@felixheld.de>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
src/superio/common/generic.c