-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathssdt4.dsl
166 lines (154 loc) · 4.46 KB
/
ssdt4.dsl
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
/*
* Intel ACPI Component Architecture
* AML Disassembler version 20131115-64 [Dec 1 2013]
* Copyright (c) 2000 - 2013 Intel Corporation
*
* Disassembly of ssdt4.aml, Sun Jun 22 22:50:27 2014
*
* Original Table Header:
* Signature "SSDT"
* Length 0x000002D7 (727)
* Revision 0x01
* Checksum 0x3F
* OEM ID "SataRe"
* OEM Table ID "SataTabl"
* OEM Revision 0x00001000 (4096)
* Compiler ID "INTL"
* Compiler Version 0x20120711 (538052369)
*/
DefinitionBlock ("ssdt4.aml", "SSDT", 1, "SataRe", "SataTabl", 0x00001000)
{
External (_SB_.PCI0.SAT0, DeviceObj)
Scope (\)
{
Name (STFE, Buffer (0x07)
{
0x10, 0x06, 0x00, 0x00, 0x00, 0x00, 0xEF
})
Name (STFD, Buffer (0x07)
{
0x90, 0x06, 0x00, 0x00, 0x00, 0x00, 0xEF
})
Name (FZTF, Buffer (0x07)
{
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF5
})
Name (DCFL, Buffer (0x07)
{
0xC1, 0x00, 0x00, 0x00, 0x00, 0x00, 0xB1
})
Name (SCBF, Buffer (0x15) {})
Name (CMDC, Zero)
Method (GTFB, 2, Serialized)
{
Multiply (CMDC, 0x38, Local0)
CreateField (SCBF, Local0, 0x38, CMDX)
Multiply (CMDC, 0x07, Local0)
CreateByteField (SCBF, Add (Local0, One), A001)
Store (Arg0, CMDX)
Store (Arg1, A001)
Increment (CMDC)
}
}
Scope (\_SB.PCI0.SAT0)
{
Name (REGF, One)
Method (_REG, 2, NotSerialized) // _REG: Region Availability
{
If (LEqual (Arg0, 0x02))
{
Store (Arg1, REGF)
}
}
Name (TMD0, Buffer (0x14) {})
CreateDWordField (TMD0, Zero, PIO0)
CreateDWordField (TMD0, 0x04, DMA0)
CreateDWordField (TMD0, 0x08, PIO1)
CreateDWordField (TMD0, 0x0C, DMA1)
CreateDWordField (TMD0, 0x10, CHNF)
Method (_GTM, 0, NotSerialized) // _GTM: Get Timing Mode
{
Store (0x78, PIO0)
Store (0x14, DMA0)
Store (0x78, PIO1)
Store (0x14, DMA1)
Or (CHNF, 0x05, CHNF)
Return (TMD0)
}
Method (_STM, 3, NotSerialized) // _STM: Set Timing Mode
{
}
Device (SPT0)
{
Name (_ADR, 0xFFFF) // _ADR: Address
Method (_GTF, 0, NotSerialized) // _GTF: Get Task File
{
Store (Zero, CMDC)
GTFB (STFE, 0x06)
GTFB (FZTF, Zero)
GTFB (DCFL, Zero)
Return (SCBF)
}
}
Device (SPT1)
{
Name (_ADR, 0x0001FFFF) // _ADR: Address
Method (_GTF, 0, NotSerialized) // _GTF: Get Task File
{
Store (Zero, CMDC)
GTFB (STFE, 0x06)
GTFB (FZTF, Zero)
GTFB (DCFL, Zero)
Return (SCBF)
}
}
Device (SPT2)
{
Name (_ADR, 0x0002FFFF) // _ADR: Address
Method (_GTF, 0, NotSerialized) // _GTF: Get Task File
{
Store (Zero, CMDC)
GTFB (STFE, 0x06)
GTFB (FZTF, Zero)
GTFB (DCFL, Zero)
Return (SCBF)
}
}
Device (SPT3)
{
Name (_ADR, 0x0003FFFF) // _ADR: Address
Method (_GTF, 0, NotSerialized) // _GTF: Get Task File
{
Store (Zero, CMDC)
GTFB (STFE, 0x06)
GTFB (FZTF, Zero)
GTFB (DCFL, Zero)
Return (SCBF)
}
}
Device (SPT4)
{
Name (_ADR, 0x0004FFFF) // _ADR: Address
Method (_GTF, 0, NotSerialized) // _GTF: Get Task File
{
Store (Zero, CMDC)
GTFB (STFE, 0x06)
GTFB (FZTF, Zero)
GTFB (DCFL, Zero)
Return (SCBF)
}
}
Device (SPT5)
{
Name (_ADR, 0x0005FFFF) // _ADR: Address
Method (_GTF, 0, NotSerialized) // _GTF: Get Task File
{
Store (Zero, CMDC)
GTFB (STFE, 0x06)
GTFB (FZTF, Zero)
GTFB (DCFL, Zero)
Return (SCBF)
}
}
}
}