superio/*/*/acpi: Improve the readability of the IndexField

Change-Id: I64fdcbcbbd54334c1c551bc1346c6000ea82c97d
Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/36598
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Felix Held <felix-coreboot@felixheld.de>
This commit is contained in:
Elyes HAOUAS 2019-11-03 14:31:35 +01:00 committed by Felix Held
parent ef63c32b58
commit 007af4251f
11 changed files with 14 additions and 14 deletions

View File

@ -66,7 +66,7 @@ Device(SUPERIO_DEV) {
PNP_ADDR_REG, 8,
PNP_DATA_REG, 8
}
IndexField (ADDR, DATA, ByteAcc, NoLock, Preserve)
IndexField (PNP_ADDR_REG, PNP_DATA_REG, ByteAcc, NoLock, Preserve)
{
Offset (0x07),
PNP_LOGICAL_DEVICE, 8, /* Logical device selector */

View File

@ -66,7 +66,7 @@ Device(SUPERIO_DEV) {
PNP_ADDR_REG, 8,
PNP_DATA_REG, 8
}
IndexField (ADDR, DATA, ByteAcc, NoLock, Preserve)
IndexField (PNP_ADDR_REG, PNP_DATA_REG, ByteAcc, NoLock, Preserve)
{
Offset (0x02),
CONFIGURE_CONTROL, 8, /* Global configure control */

View File

@ -66,7 +66,7 @@ Device(SUPERIO_DEV) {
PNP_ADDR_REG, 8,
PNP_DATA_REG, 8
}
IndexField (ADDR, DATA, ByteAcc, NoLock, Preserve)
IndexField (PNP_ADDR_REG, PNP_DATA_REG, ByteAcc, NoLock, Preserve)
{
Offset (0x02),
CONFIGURE_CONTROL, 8, /* Global configure control */

View File

@ -71,7 +71,7 @@ Device(SUPERIO_DEV) {
PNP_ADDR_REG, 8,
PNP_DATA_REG, 8
}
IndexField (ADDR, DATA, ByteAcc, NoLock, Preserve)
IndexField (PNP_ADDR_REG, PNP_DATA_REG, ByteAcc, NoLock, Preserve)
{
Offset (0x02),
CONFIGURE_CONTROL, 8, /* Global configure control */

View File

@ -70,7 +70,7 @@ Device (SUPERIO_DEV) {
PNP_ADDR_REG, 8,
PNP_DATA_REG, 8
}
IndexField (ADDR, DATA, ByteAcc, NoLock, Preserve)
IndexField (PNP_ADDR_REG, PNP_DATA_REG, ByteAcc, NoLock, Preserve)
{
Offset (0x02),
CONFIGURE_CONTROL, 8, /* Global configure control */

View File

@ -57,7 +57,7 @@ Device(SUPERIO_DEV) {
PNP_ADDR_REG, 8,
PNP_DATA_REG, 8,
}
IndexField (ADDR, DATA, ByteAcc, NoLock, Preserve)
IndexField (PNP_ADDR_REG, PNP_DATA_REG, ByteAcc, NoLock, Preserve)
{
Offset (0x07),
PNP_LOGICAL_DEVICE, 8, /* Logical device selector */

View File

@ -58,7 +58,7 @@ Device(SUPERIO_DEV) {
PNP_ADDR_REG, 8,
PNP_DATA_REG, 8,
}
IndexField (ADDR, DATA, ByteAcc, NoLock, Preserve)
IndexField (PNP_ADDR_REG, PNP_DATA_REG, ByteAcc, NoLock, Preserve)
{
Offset (0x07),
PNP_LOGICAL_DEVICE, 8, /* Logical device selector */

View File

@ -47,7 +47,7 @@ Device(SUPERIO_DEV) {
PNP_ADDR_REG, 8,
PNP_DATA_REG, 8,
}
IndexField (ADDR, DATA, ByteAcc, NoLock, Preserve)
IndexField (PNP_ADDR_REG, PNP_DATA_REG, ByteAcc, NoLock, Preserve)
{
Offset (0x07),
PNP_LOGICAL_DEVICE, 8, /* Logical device selector */

View File

@ -57,7 +57,7 @@ Device(SUPERIO_DEV) {
PNP_ADDR_REG, 8,
PNP_DATA_REG, 8
}
IndexField (ADDR, DATA, ByteAcc, NoLock, Preserve)
IndexField (PNP_ADDR_REG, PNP_DATA_REG, ByteAcc, NoLock, Preserve)
{
Offset (0x07),
PNP_LOGICAL_DEVICE, 8, /* Logical device selector */

View File

@ -65,7 +65,7 @@ Device(SUPERIO_DEV) {
PNP_ADDR_REG, 8,
PNP_DATA_REG, 8
}
IndexField (ADDR, DATA, ByteAcc, NoLock, Preserve)
IndexField (PNP_ADDR_REG, PNP_DATA_REG, ByteAcc, NoLock, Preserve)
{
Offset (0x07),
PNP_LOGICAL_DEVICE, 8, /* Logical device selector */

View File

@ -67,10 +67,10 @@ Device(SIO) {
OperationRegion (CREG, SystemIO, 0x2E, 0x02)
Field (CREG, ByteAcc, NoLock, Preserve)
{
ADDR, 8,
DATA, 8
PNP_ADDR_REG, 8,
PNP_DATA_REG, 8
}
IndexField (ADDR, DATA, ByteAcc, NoLock, Preserve)
IndexField (PNP_ADDR_REG, PNP_DATA_REG, ByteAcc, NoLock, Preserve)
{
Offset (0x02),
RST, 1, /* Soft reset */