summaryrefslogtreecommitdiff
path: root/Board/IO/F81866/F81866.ASL
diff options
context:
space:
mode:
authorraywu <raywu@aaeon.com.tw>2019-01-17 14:35:48 +0800
committerraywu <raywu@aaeon.com.tw>2019-01-17 14:35:48 +0800
commit99a4b9db65e3d40ddd355996a23071a9fcee52d9 (patch)
treeff3c35fd43f378bb59c678951fcf263c0a18a6a6 /Board/IO/F81866/F81866.ASL
parent502fd72377459ff1fd69e35fce20a2bc8dea75fa (diff)
downloadzprj-99a4b9db65e3d40ddd355996a23071a9fcee52d9.tar.xz
DW01 - Fixed COM Port will not be disable normally (still appeared under Windows Device Management)
Diffstat (limited to 'Board/IO/F81866/F81866.ASL')
-rw-r--r--Board/IO/F81866/F81866.ASL6
1 files changed, 4 insertions, 2 deletions
diff --git a/Board/IO/F81866/F81866.ASL b/Board/IO/F81866/F81866.ASL
index ae13582..3459f4d 100644
--- a/Board/IO/F81866/F81866.ASL
+++ b/Board/IO/F81866/F81866.ASL
@@ -348,6 +348,7 @@ Device(SIO1) {
ENFG(CGLD(Arg0)) //Enter Config Mode, Select LDN
Store(ACTR, Local0)
+ Or(ShiftLeft(IOAH, 8),IOAL,Local1)
EXFG() //Exit Config Mode
If(LEqual(Local0, 0xFF)) {Return(0x0)} //LDN's not decoded, Device not present.
@@ -371,10 +372,11 @@ Device(SIO1) {
Else{ Return(0x00)} // Device not present
}
Else{//by Base1 & Base2 check
- Or(ShiftLeft(IOAH, 8),IOAL,Local0)
- If(Local0) { Return(0x0D)} // Device Detected & Not Active
+// Or(ShiftLeft(IOAH, 8),IOAL,Local0)
+// If(Local0) { Return(0x0D)} // Device Detected & Not Active
// Or(ShiftLeft(IOH2, 8),IOL2,Local0)
// If(Local0) { Return(0x0D)} // Device Detected & Not Active
+ If(Local1) { Return(0x0D)} // Device Detected & Not Active
Return(0x00) // Device not present
}
} //Exit Config Mode