mb/lippert/frontrunner-af/acpi/sata.asl: Convert to ASL 2.0
Change-Id: Ife718dcec765d3b2861bce16f9ca2b6355166800 Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/c/coreboot/+/50322 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Angel Pons <th3fanbus@gmail.com> Reviewed-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
This commit is contained in:
parent
3759e26c87
commit
0f21996c1d
|
@ -35,7 +35,7 @@ Device(PMRY)
|
||||||
Device(PMST) {
|
Device(PMST) {
|
||||||
Name(_ADR, 0)
|
Name(_ADR, 0)
|
||||||
Method(_STA,0) {
|
Method(_STA,0) {
|
||||||
if (LGreater(P0IS,0)) {
|
if (P0IS > 0) {
|
||||||
return (0x0F) /* sata is visible */
|
return (0x0F) /* sata is visible */
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
|
@ -48,7 +48,7 @@ Device(PMRY)
|
||||||
{
|
{
|
||||||
Name(_ADR, 1)
|
Name(_ADR, 1)
|
||||||
Method(_STA,0) {
|
Method(_STA,0) {
|
||||||
if (LGreater(P1IS,0)) {
|
if (P1IS > 0) {
|
||||||
return (0x0F) /* sata is visible */
|
return (0x0F) /* sata is visible */
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
|
@ -71,7 +71,7 @@ Device(SEDY)
|
||||||
{
|
{
|
||||||
Name(_ADR, 0)
|
Name(_ADR, 0)
|
||||||
Method(_STA,0) {
|
Method(_STA,0) {
|
||||||
if (LGreater(P2IS,0)) {
|
if (P2IS > 0) {
|
||||||
return (0x0F) /* sata is visible */
|
return (0x0F) /* sata is visible */
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
|
@ -84,7 +84,7 @@ Device(SEDY)
|
||||||
{
|
{
|
||||||
Name(_ADR, 1)
|
Name(_ADR, 1)
|
||||||
Method(_STA,0) {
|
Method(_STA,0) {
|
||||||
if (LGreater(P3IS,0)) {
|
if (P3IS > 0) {
|
||||||
return (0x0F) /* sata is visible */
|
return (0x0F) /* sata is visible */
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
|
@ -98,35 +98,35 @@ Device(SEDY)
|
||||||
Scope(\_GPE) {
|
Scope(\_GPE) {
|
||||||
Method(_L1F,0x0,NotSerialized) {
|
Method(_L1F,0x0,NotSerialized) {
|
||||||
if (\_SB.P0PR) {
|
if (\_SB.P0PR) {
|
||||||
if (LGreater(\_SB.P0IS,0)) {
|
if (\_SB.P0IS > 0) {
|
||||||
sleep(32)
|
sleep(32)
|
||||||
}
|
}
|
||||||
Notify(\_SB.PCI0.STCR.PMRY.PMST, 0x01) /* NOTIFY_DEVICE_CHECK */
|
Notify(\_SB.PCI0.STCR.PMRY.PMST, 0x01) /* NOTIFY_DEVICE_CHECK */
|
||||||
store(one, \_SB.P0PR)
|
\_SB.P0PR = 1
|
||||||
}
|
}
|
||||||
|
|
||||||
if (\_SB.P1PR) {
|
if (\_SB.P1PR) {
|
||||||
if (LGreater(\_SB.P1IS,0)) {
|
if (\_SB.P1IS > 0) {
|
||||||
sleep(32)
|
sleep(32)
|
||||||
}
|
}
|
||||||
Notify(\_SB.PCI0.STCR.PMRY.PSLA, 0x01) /* NOTIFY_DEVICE_CHECK */
|
Notify(\_SB.PCI0.STCR.PMRY.PSLA, 0x01) /* NOTIFY_DEVICE_CHECK */
|
||||||
store(one, \_SB.P1PR)
|
\_SB.P1PR = 1
|
||||||
}
|
}
|
||||||
|
|
||||||
if (\_SB.P2PR) {
|
if (\_SB.P2PR) {
|
||||||
if (LGreater(\_SB.P2IS,0)) {
|
if (\_SB.P2IS > 0) {
|
||||||
sleep(32)
|
sleep(32)
|
||||||
}
|
}
|
||||||
Notify(\_SB.PCI0.STCR.SEDY.SMST, 0x01) /* NOTIFY_DEVICE_CHECK */
|
Notify(\_SB.PCI0.STCR.SEDY.SMST, 0x01) /* NOTIFY_DEVICE_CHECK */
|
||||||
store(one, \_SB.P2PR)
|
\_SB.P2PR = 1
|
||||||
}
|
}
|
||||||
|
|
||||||
if (\_SB.P3PR) {
|
if (\_SB.P3PR) {
|
||||||
if (LGreater(\_SB.P3IS,0)) {
|
if (\_SB.P3IS > 0) {
|
||||||
sleep(32)
|
sleep(32)
|
||||||
}
|
}
|
||||||
Notify(\_SB.PCI0.STCR.SEDY.SSLA, 0x01) /* NOTIFY_DEVICE_CHECK */
|
Notify(\_SB.PCI0.STCR.SEDY.SSLA, 0x01) /* NOTIFY_DEVICE_CHECK */
|
||||||
store(one, \_SB.P3PR)
|
\_SB.P3PR = 1
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue