mirror of
https://github.com/tylernguyen/x1c6-hackintosh.git
synced 2025-02-05 09:33:13 -06:00
52 lines
No EOL
1.7 KiB
Text
Executable file
52 lines
No EOL
1.7 KiB
Text
Executable file
//Add DMAC
|
|
DefinitionBlock ("", "SSDT", 2, "tyler", "DMAC", 0)
|
|
{
|
|
External(_SB.PCI0.LPCB, DeviceObj)
|
|
Scope (_SB.PCI0.LPCB)
|
|
{
|
|
Device (DMAC)
|
|
{
|
|
Name (_HID, EisaId ("PNP0200"))
|
|
Name (_CRS, ResourceTemplate ()
|
|
{
|
|
IO (Decode16,
|
|
0x0000, // Range Minimum
|
|
0x0000, // Range Maximum
|
|
0x01, // Alignment
|
|
0x20, // Length
|
|
)
|
|
IO (Decode16,
|
|
0x0081, // Range Minimum
|
|
0x0081, // Range Maximum
|
|
0x01, // Alignment
|
|
0x11, // Length
|
|
)
|
|
IO (Decode16,
|
|
0x0093, // Range Minimum
|
|
0x0093, // Range Maximum
|
|
0x01, // Alignment
|
|
0x0D, // Length
|
|
)
|
|
IO (Decode16,
|
|
0x00C0, // Range Minimum
|
|
0x00C0, // Range Maximum
|
|
0x01, // Alignment
|
|
0x20, // Length
|
|
)
|
|
DMA (Compatibility, NotBusMaster, Transfer8_16, )
|
|
{4}
|
|
})
|
|
Method (_STA, 0, NotSerialized)
|
|
{
|
|
If (_OSI ("Darwin"))
|
|
{
|
|
Return (0x0F)
|
|
}
|
|
Else
|
|
{
|
|
Return (Zero)
|
|
}
|
|
}
|
|
}
|
|
}
|
|
} |