sb/amd/{agesa,pi}hudson/acpi: Convert 'pci_int.asl' to ASL 2.0 syntax

Change-Id: I1a382eaf122e40aeaefedf88425749616a2090d9
Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/45876
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
This commit is contained in:
Elyes HAOUAS
2020-09-30 22:01:44 +02:00
committed by Kyösti Mälkki
parent 668cad1c9d
commit 0a76e7a493
2 changed files with 114 additions and 114 deletions

View File

@@ -109,7 +109,7 @@
{
\_SB.CIRQ()
}
Store(Arg0, PICM)
PICM = Arg0
}
Method(CIRQ, 0x00, NotSerialized){
@@ -133,7 +133,7 @@
Method(_STA, 0) {
if (PIRA) {
Return(0x0B) /* sata is invisible */
Return (0x0b) /* sata is invisible */
} else {
Return (0x09) /* sata is disabled */
}
@@ -151,7 +151,7 @@
Method(_CRS ,0) {
/* DBGO("\\_SB\\LNKA\\_CRS\n") */
CreateWordField(IRQB, 0x1, IRQN)
ShiftLeft(1, PIRA, IRQN)
IRQN = 1 << PIRA
Return (IRQB)
} /* Method(_SB.INTA._CRS) */
@@ -162,9 +162,9 @@
/* Use lowest available IRQ */
FindSetRightBit(IRQM, Local0)
if (Local0) {
Decrement(Local0)
Local0--
}
Store(Local0, PIRA)
PIRA = Local0
} /* End Method(_SB.INTA._SRS) */
} /* End Device(INTA) */
@@ -174,7 +174,7 @@
Method(_STA, 0) {
if (PIRB) {
Return(0x0B) /* sata is invisible */
Return (0x0b) /* sata is invisible */
} else {
Return (0x09) /* sata is disabled */
}
@@ -192,7 +192,7 @@
Method(_CRS ,0) {
/* DBGO("\\_SB\\LNKB\\_CRS\n") */
CreateWordField(IRQB, 0x1, IRQN)
ShiftLeft(1, PIRB, IRQN)
IRQN = 1 << PIRB
Return (IRQB)
} /* Method(_SB.INTB._CRS) */
@@ -203,9 +203,9 @@
/* Use lowest available IRQ */
FindSetRightBit(IRQM, Local0)
if (Local0) {
Decrement(Local0)
Local0--
}
Store(Local0, PIRB)
PIRB = Local0
} /* End Method(_SB.INTB._SRS) */
} /* End Device(INTB) */
@@ -215,7 +215,7 @@
Method(_STA, 0) {
if (PIRC) {
Return(0x0B) /* sata is invisible */
Return (0x0b) /* sata is invisible */
} else {
Return (0x09) /* sata is disabled */
}
@@ -233,7 +233,7 @@
Method(_CRS ,0) {
/* DBGO("\\_SB\\LNKC\\_CRS\n") */
CreateWordField(IRQB, 0x1, IRQN)
ShiftLeft(1, PIRC, IRQN)
IRQN = 1 << PIRC
Return (IRQB)
} /* Method(_SB.INTC._CRS) */
@@ -244,9 +244,9 @@
/* Use lowest available IRQ */
FindSetRightBit(IRQM, Local0)
if (Local0) {
Decrement(Local0)
Local0--
}
Store(Local0, PIRC)
PIRC = Local0
} /* End Method(_SB.INTC._SRS) */
} /* End Device(INTC) */
@@ -256,7 +256,7 @@
Method(_STA, 0) {
if (PIRD) {
Return(0x0B) /* sata is invisible */
Return (0x0b) /* sata is invisible */
} else {
Return (0x09) /* sata is disabled */
}
@@ -274,7 +274,7 @@
Method(_CRS ,0) {
/* DBGO("\\_SB\\LNKD\\_CRS\n") */
CreateWordField(IRQB, 0x1, IRQN)
ShiftLeft(1, PIRD, IRQN)
IRQN = 1 << PIRD
Return (IRQB)
} /* Method(_SB.INTD._CRS) */
@@ -285,9 +285,9 @@
/* Use lowest available IRQ */
FindSetRightBit(IRQM, Local0)
if (Local0) {
Decrement(Local0)
Local0--
}
Store(Local0, PIRD)
PIRD = Local0
} /* End Method(_SB.INTD._SRS) */
} /* End Device(INTD) */
@@ -297,7 +297,7 @@
Method(_STA, 0) {
if (PIRE) {
Return(0x0B) /* sata is invisible */
Return (0x0b) /* sata is invisible */
} else {
Return (0x09) /* sata is disabled */
}
@@ -315,7 +315,7 @@
Method(_CRS ,0) {
/* DBGO("\\_SB\\LNKE\\_CRS\n") */
CreateWordField(IRQB, 0x1, IRQN)
ShiftLeft(1, PIRE, IRQN)
IRQN = 1 << PIRE
Return (IRQB)
} /* Method(_SB.INTE._CRS) */
@@ -326,9 +326,9 @@
/* Use lowest available IRQ */
FindSetRightBit(IRQM, Local0)
if (Local0) {
Decrement(Local0)
Local0--
}
Store(Local0, PIRE)
PIRE = Local0
} /* End Method(_SB.INTE._SRS) */
} /* End Device(INTE) */
@@ -338,7 +338,7 @@
Method(_STA, 0) {
if (PIRF) {
Return(0x0B) /* sata is invisible */
Return (0x0b) /* sata is invisible */
} else {
Return (0x09) /* sata is disabled */
}
@@ -356,7 +356,7 @@
Method(_CRS ,0) {
/* DBGO("\\_SB\\LNKF\\_CRS\n") */
CreateWordField(IRQB, 0x1, IRQN)
ShiftLeft(1, PIRF, IRQN)
IRQN = 1 << PIRF
Return (IRQB)
} /* Method(_SB.INTF._CRS) */
@@ -367,9 +367,9 @@
/* Use lowest available IRQ */
FindSetRightBit(IRQM, Local0)
if (Local0) {
Decrement(Local0)
Local0--
}
Store(Local0, PIRF)
PIRF = Local0
} /* End Method(_SB.INTF._SRS) */
} /* End Device(INTF) */
@@ -379,7 +379,7 @@
Method(_STA, 0) {
if (PIRG) {
Return(0x0B) /* sata is invisible */
Return (0x0b) /* sata is invisible */
} else {
Return (0x09) /* sata is disabled */
}
@@ -397,7 +397,7 @@
Method(_CRS ,0) {
/* DBGO("\\_SB\\LNKG\\_CRS\n") */
CreateWordField(IRQB, 0x1, IRQN)
ShiftLeft(1, PIRG, IRQN)
IRQN = 1 << PIRG
Return (IRQB)
} /* Method(_SB.INTG._CRS) */
@@ -408,9 +408,9 @@
/* Use lowest available IRQ */
FindSetRightBit(IRQM, Local0)
if (Local0) {
Decrement(Local0)
Local0--
}
Store(Local0, PIRG)
PIRG = Local0
} /* End Method(_SB.INTG._SRS) */
} /* End Device(INTG) */
@@ -420,7 +420,7 @@
Method(_STA, 0) {
if (PIRH) {
Return(0x0B) /* sata is invisible */
Return (0x0b) /* sata is invisible */
} else {
Return (0x09) /* sata is disabled */
}
@@ -438,7 +438,7 @@
Method(_CRS ,0) {
/* DBGO("\\_SB\\LNKH\\_CRS\n") */
CreateWordField(IRQB, 0x1, IRQN)
ShiftLeft(1, PIRH, IRQN)
IRQN = 1 << PIRH
Return (IRQB)
} /* Method(_SB.INTH._CRS) */
@@ -449,8 +449,8 @@
/* Use lowest available IRQ */
FindSetRightBit(IRQM, Local0)
if (Local0) {
Decrement(Local0)
Local0--
}
Store(Local0, PIRH)
PIRH = Local0
} /* End Method(_SB.INTH._SRS) */
} /* End Device(INTH) */

View File

@@ -109,7 +109,7 @@
{
\_SB.CIRQ()
}
Store(Arg0, PICM)
PICM = Arg0
}
Method(CIRQ, 0x00, NotSerialized){
@@ -133,7 +133,7 @@
Method(_STA, 0) {
if (PIRA) {
Return(0x0B) /* sata is invisible */
Return (0x0b) /* sata is invisible */
} else {
Return (0x09) /* sata is disabled */
}
@@ -151,7 +151,7 @@
Method(_CRS ,0) {
/* DBGO("\\_SB\\LNKA\\_CRS\n") */
CreateWordField(IRQB, 0x1, IRQN)
ShiftLeft(1, PIRA, IRQN)
IRQN = 1 << PIRA
Return (IRQB)
} /* Method(_SB.INTA._CRS) */
@@ -162,9 +162,9 @@
/* Use lowest available IRQ */
FindSetRightBit(IRQM, Local0)
if (Local0) {
Decrement(Local0)
Local0--
}
Store(Local0, PIRA)
PIRA = Local0
} /* End Method(_SB.INTA._SRS) */
} /* End Device(INTA) */
@@ -174,7 +174,7 @@
Method(_STA, 0) {
if (PIRB) {
Return(0x0B) /* sata is invisible */
Return (0x0b) /* sata is invisible */
} else {
Return (0x09) /* sata is disabled */
}
@@ -192,7 +192,7 @@
Method(_CRS ,0) {
/* DBGO("\\_SB\\LNKB\\_CRS\n") */
CreateWordField(IRQB, 0x1, IRQN)
ShiftLeft(1, PIRB, IRQN)
IRQN = 1 << PIRB
Return (IRQB)
} /* Method(_SB.INTB._CRS) */
@@ -203,9 +203,9 @@
/* Use lowest available IRQ */
FindSetRightBit(IRQM, Local0)
if (Local0) {
Decrement(Local0)
Local0--
}
Store(Local0, PIRB)
PIRB = Local0
} /* End Method(_SB.INTB._SRS) */
} /* End Device(INTB) */
@@ -215,7 +215,7 @@
Method(_STA, 0) {
if (PIRC) {
Return(0x0B) /* sata is invisible */
Return (0x0b) /* sata is invisible */
} else {
Return (0x09) /* sata is disabled */
}
@@ -233,7 +233,7 @@
Method(_CRS ,0) {
/* DBGO("\\_SB\\LNKC\\_CRS\n") */
CreateWordField(IRQB, 0x1, IRQN)
ShiftLeft(1, PIRC, IRQN)
IRQN = 1 << PIRC
Return (IRQB)
} /* Method(_SB.INTC._CRS) */
@@ -244,9 +244,9 @@
/* Use lowest available IRQ */
FindSetRightBit(IRQM, Local0)
if (Local0) {
Decrement(Local0)
Local0--
}
Store(Local0, PIRC)
PIRC = Local0
} /* End Method(_SB.INTC._SRS) */
} /* End Device(INTC) */
@@ -256,7 +256,7 @@
Method(_STA, 0) {
if (PIRD) {
Return(0x0B) /* sata is invisible */
Return (0x0b) /* sata is invisible */
} else {
Return (0x09) /* sata is disabled */
}
@@ -274,7 +274,7 @@
Method(_CRS ,0) {
/* DBGO("\\_SB\\LNKD\\_CRS\n") */
CreateWordField(IRQB, 0x1, IRQN)
ShiftLeft(1, PIRD, IRQN)
IRQN = 1 << PIRD
Return (IRQB)
} /* Method(_SB.INTD._CRS) */
@@ -285,9 +285,9 @@
/* Use lowest available IRQ */
FindSetRightBit(IRQM, Local0)
if (Local0) {
Decrement(Local0)
Local0--
}
Store(Local0, PIRD)
PIRD = Local0
} /* End Method(_SB.INTD._SRS) */
} /* End Device(INTD) */
@@ -297,7 +297,7 @@
Method(_STA, 0) {
if (PIRE) {
Return(0x0B) /* sata is invisible */
Return (0x0b) /* sata is invisible */
} else {
Return (0x09) /* sata is disabled */
}
@@ -315,7 +315,7 @@
Method(_CRS ,0) {
/* DBGO("\\_SB\\LNKE\\_CRS\n") */
CreateWordField(IRQB, 0x1, IRQN)
ShiftLeft(1, PIRE, IRQN)
IRQN = 1 << PIRE
Return (IRQB)
} /* Method(_SB.INTE._CRS) */
@@ -326,9 +326,9 @@
/* Use lowest available IRQ */
FindSetRightBit(IRQM, Local0)
if (Local0) {
Decrement(Local0)
Local0--
}
Store(Local0, PIRE)
PIRE = Local0
} /* End Method(_SB.INTE._SRS) */
} /* End Device(INTE) */
@@ -338,7 +338,7 @@
Method(_STA, 0) {
if (PIRF) {
Return(0x0B) /* sata is invisible */
Return (0x0b) /* sata is invisible */
} else {
Return (0x09) /* sata is disabled */
}
@@ -356,7 +356,7 @@
Method(_CRS ,0) {
/* DBGO("\\_SB\\LNKF\\_CRS\n") */
CreateWordField(IRQB, 0x1, IRQN)
ShiftLeft(1, PIRF, IRQN)
IRQN = 1 << PIRF
Return (IRQB)
} /* Method(_SB.INTF._CRS) */
@@ -367,9 +367,9 @@
/* Use lowest available IRQ */
FindSetRightBit(IRQM, Local0)
if (Local0) {
Decrement(Local0)
Local0--
}
Store(Local0, PIRF)
PIRF = Local0
} /* End Method(_SB.INTF._SRS) */
} /* End Device(INTF) */
@@ -379,7 +379,7 @@
Method(_STA, 0) {
if (PIRG) {
Return(0x0B) /* sata is invisible */
Return (0x0b) /* sata is invisible */
} else {
Return (0x09) /* sata is disabled */
}
@@ -397,7 +397,7 @@
Method(_CRS ,0) {
/* DBGO("\\_SB\\LNKG\\_CRS\n") */
CreateWordField(IRQB, 0x1, IRQN)
ShiftLeft(1, PIRG, IRQN)
IRQN = 1 << PIRG
Return (IRQB)
} /* Method(_SB.INTG._CRS) */
@@ -408,9 +408,9 @@
/* Use lowest available IRQ */
FindSetRightBit(IRQM, Local0)
if (Local0) {
Decrement(Local0)
Local0--
}
Store(Local0, PIRG)
PIRG = Local0
} /* End Method(_SB.INTG._SRS) */
} /* End Device(INTG) */
@@ -420,7 +420,7 @@
Method(_STA, 0) {
if (PIRH) {
Return(0x0B) /* sata is invisible */
Return (0x0b) /* sata is invisible */
} else {
Return (0x09) /* sata is disabled */
}
@@ -438,7 +438,7 @@
Method(_CRS ,0) {
/* DBGO("\\_SB\\LNKH\\_CRS\n") */
CreateWordField(IRQB, 0x1, IRQN)
ShiftLeft(1, PIRH, IRQN)
IRQN = 1 << PIRH
Return (IRQB)
} /* Method(_SB.INTH._CRS) */
@@ -449,8 +449,8 @@
/* Use lowest available IRQ */
FindSetRightBit(IRQM, Local0)
if (Local0) {
Decrement(Local0)
Local0--
}
Store(Local0, PIRH)
PIRH = Local0
} /* End Method(_SB.INTH._SRS) */
} /* End Device(INTH) */