Your patches seem to fix three things:
1) Implicit returns
2) Invalid escape sequences (missing double backslashes)
3) Uninitialized Locals
Which one was causing the original problem as reported?
Thanks,
Bob
-Original Message-
From: Mitsuru IWASAKI [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, August 28, 2002 3:36 AM
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Subject: [acpi-jp 1759] Re: Call for testers: acpica-unix-20020815
1) Fix the ASL so that it compiles without errors or warnings
2) Override the BIOS version of the table with your new one. (I don't
know
how this is done on FreeBSD, someone else will have to help you.
Attached patches will fix the ASL.
For compiling and overriding, please refer to acpi(4).
# iasl Tecra8200.asl
# cp acpi_dsdt.aml /boot/
# echo 'acpi_dsdt_load=YES' /boot/loader.conf
Thanks
--- Tecra8200.asl- Wed Aug 28 19:30:30 2002
+++ Tecra8200.asl Wed Aug 28 19:26:57 2002
@@ -79,11 +79,11 @@
Name(_HID, 0x0f0cd041)
Name(_UID, 0x1)
Method(_STA) {
-STAL(\_SB_.PCI0.FNC0.IRQA)
+Return(STAL(\_SB_.PCI0.FNC0.IRQA))
}
Name(_PRS, Buffer(0x6) {0x23, 0xf8, 0x1c, 0x18, 0x79, 0x0 })
Method(_CRS) {
-CRSL(\_SB_.PCI0.FNC0.IRQA)
+Return(CRSL(\_SB_.PCI0.FNC0.IRQA))
}
Method(_DIS) {
Store(\_SB_.PCI0.FNC0.IRQA, Local0)
@@ -108,11 +108,11 @@
Name(_HID, 0x0f0cd041)
Name(_UID, 0x2)
Method(_STA) {
-STAL(\_SB_.PCI0.FNC0.IRQB)
+Return(STAL(\_SB_.PCI0.FNC0.IRQB))
}
Name(_PRS, Buffer(0x6) {0x23, 0xf8, 0x1c, 0x18, 0x79, 0x0 })
Method(_CRS) {
-CRSL(\_SB_.PCI0.FNC0.IRQB)
+Return(CRSL(\_SB_.PCI0.FNC0.IRQB))
}
Method(_DIS) {
Store(\_SB_.PCI0.FNC0.IRQB, Local0)
@@ -137,11 +137,11 @@
Name(_HID, 0x0f0cd041)
Name(_UID, 0x3)
Method(_STA) {
-STAL(\_SB_.PCI0.FNC0.IRQC)
+Return(STAL(\_SB_.PCI0.FNC0.IRQC))
}
Name(_PRS, Buffer(0x6) {0x23, 0xf8, 0x1c, 0x18, 0x79, 0x0 })
Method(_CRS) {
-CRSL(\_SB_.PCI0.FNC0.IRQC)
+Return(CRSL(\_SB_.PCI0.FNC0.IRQC))
}
Method(_DIS) {
Store(\_SB_.PCI0.FNC0.IRQC, Local0)
@@ -166,11 +166,11 @@
Name(_HID, 0x0f0cd041)
Name(_UID, 0x4)
Method(_STA) {
-STAL(\_SB_.PCI0.FNC0.IRQD)
+Return(STAL(\_SB_.PCI0.FNC0.IRQD))
}
Name(_PRS, Buffer(0x6) {0x23, 0xf8, 0x1c, 0x18, 0x79, 0x0 })
Method(_CRS) {
-CRSL(\_SB_.PCI0.FNC0.IRQD)
+Return(CRSL(\_SB_.PCI0.FNC0.IRQD))
}
Method(_DIS) {
Store(\_SB_.PCI0.FNC0.IRQD, Local0)
@@ -195,11 +195,11 @@
Name(_HID, 0x0f0cd041)
Name(_UID, 0x5)
Method(_STA) {
-STAL(\_SB_.PCI0.FNC0.IRQE)
+Return(STAL(\_SB_.PCI0.FNC0.IRQE))
}
Name(_PRS, Buffer(0x6) {0x23, 0xf8, 0x1c, 0x18, 0x79, 0x0 })
Method(_CRS) {
-CRSL(\_SB_.PCI0.FNC0.IRQE)
+Return(CRSL(\_SB_.PCI0.FNC0.IRQE))
}
Method(_DIS) {
Store(\_SB_.PCI0.FNC0.IRQE, Local0)
@@ -224,11 +224,11 @@
Name(_HID, 0x0f0cd041)
Name(_UID, 0x8)
Method(_STA) {
-STAL(\_SB_.PCI0.FNC0.IRQH)
+Return(STAL(\_SB_.PCI0.FNC0.IRQH))
}
Name(_PRS, Buffer(0x6) {0x23, 0xf8, 0x1c, 0x18, 0x79, 0x0 })
Method(_CRS) {
-CRSL(\_SB_.PCI0.FNC0.IRQH)
+Return(CRSL(\_SB_.PCI0.FNC0.IRQH))
}
Method(_DIS) {
Store(\_SB_.PCI0.FNC0.IRQH, Local0)
@@ -253,7 +253,7 @@
Name(_HID, 0x010cd041)
Name(_STA, 0xf)
Method(_CRS) {
-CRS_(0x1)
+Return(CRS_(0x1))
}
OperationRegion(SRAM, SystemMemory, 0x000ee800, 0x1800)
Field(SRAM, AnyAcc, NoLock, Preserve) {
@@ -944,13 +944,13 @@
Name(_HID, 0x000ed041)
Name(_UID, 0x2)
Method(_STA) {
-STA_(0x25)
+Return(STA_(0x25))
}
Method(_CRS) {
-CRS_(0x25)
+Return(CRS_(0x25))
}
Method(_PRS) {
-PRS_(0x25)
+Return(PRS_(0x25))
}
Method(_SRS, 1) {
SRS_(0x25, Arg0)
@@ -965,7 +965,7 @@
PS3_(0x25)
}
Method(_PSC) {
-PSC_(0x25)
+Return(PSC_(0x25))
}
Name(_PRW, Package(0x2) {
0xb,
@@ -982,7 +982,7 @@
Device(VDSC