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:
parent
ef63c32b58
commit
007af4251f
|
@ -38,7 +38,7 @@
|
|||
* F81803A_SHOW_UARTA If defined, UARTA will be exposed.
|
||||
* F81803A_SHOW_UARTB If defined, UARTB will be exposed.
|
||||
* F81803A_SHOW_HWMON If defined, the hardware monitor will be exposed.
|
||||
* F81803A_SHOW_PME If defined, the PME/EARP/ACPI will be exposed.
|
||||
* F81803A_SHOW_PME If defined, the PME/EARP/ACPI will be exposed.
|
||||
*
|
||||
* Known issue:
|
||||
* Do not enable UARTA and UARTB simultaneously, Linux boot will crash.
|
||||
|
@ -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 */
|
||||
|
|
|
@ -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 */
|
||||
|
|
|
@ -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 */
|
||||
|
|
|
@ -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 */
|
||||
|
|
|
@ -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 */
|
||||
|
|
|
@ -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 */
|
||||
|
|
|
@ -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 */
|
||||
|
|
|
@ -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 */
|
||||
|
|
|
@ -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 */
|
||||
|
|
|
@ -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 */
|
||||
|
|
|
@ -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 */
|
||||
|
|
Loading…
Reference in New Issue