forked from RehabMan/Intel-NUC-DSDT-Patch
-
Notifications
You must be signed in to change notification settings - Fork 3
/
SSDT-RMNE.dsl
26 lines (25 loc) · 859 Bytes
/
SSDT-RMNE.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
// SSDT-RMNE.dsl -- SSDT injector for NullEthernet
//DefinitionBlock("", "SSDT", 2, "RehabMan", "_RMNE", 0x00001000)
//{
Device (RMNE)
{
Name (_ADR, Zero)
// The NullEthernet kext matches on this HID
Name (_HID, "NULE0000")
// This is the MAC address returned by the kext. Modify if necessary.
Name (MAC, Buffer() { 0x11, 0x22, 0x33, 0x44, 0x55, 0x66 })
Method (_DSM, 4, NotSerialized)
{
If (LEqual (Arg2, Zero)) { Return (Buffer() { 0x03 } ) }
Return (Package()
{
"built-in", Buffer() { 0x00 },
"IOName", "ethernet",
"name", Buffer() { "ethernet" },
"model", Buffer() { "RM-NullEthernet-1001" },
"device_type", Buffer() { "ethernet" },
})
}
}
//}
//EOF