DSDT edit for the ethernet, my device is not recognized, but it is found, under network, also in system preferences, i have ethernet, just can't test it, no lan cable i can use.
The edit goes under RP05:
Device (LAN0)
{
Name (_ADR, Zero)
Name (_SUN, 0x03)
Name (_PRW, Package (0x02)
{
0x0B,
0x04
})
Method (_DSM, 4, NotSerialized)
{
Store (Package (0x0C)
{
"built-in",
Buffer (One)
{
0x00
},
"location",
Buffer (0x02)
{
"1"
},
"network-type",
Buffer (0x09)
{
"ethernet"
},
"revision-id",
Buffer (0x04)
{
0x05, 0x00, 0x00, 0x00
},
"model",
Buffer (0x22)
{
"Realtek RTL810SE Gigabit Ethernet"
},
"name",
Buffer (0x09)
{
"ethernet"
}
}, Local0)
DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))
Return (Local0)
}
}
The end result will look like this:
Device (RP05)
{
Name (_ADR, 0x001C0004)
OperationRegion (PXCS, PCI_Config, 0x40, 0xC0)
Field (PXCS, AnyAcc, NoLock, Preserve)
{
Offset (0x10),
L0SE, 1,
Offset (0x11),
Offset (0x12),
, 13,
LASX, 1,
Offset (0x1A),
ABPX, 1,
, 2,
PDCX, 1,
, 2,
PDSX, 1,
Offset (0x1B),
Offset (0x20),
Offset (0x22),
PSPX, 1,
Offset (0x98),
, 30,
HPEX, 1,
PMEX, 1
}
Field (PXCS, AnyAcc, NoLock, WriteAsZeros)
{
Offset (0x9C),
, 30,
HPSX, 1,
PMSX, 1
}
Device (ARPT)
{
Name (_ADR, Zero)
Name (_PRW, Package (0x02)
{
0x0B,
0x05
})
}
Method (HPME, 0, Serialized)
{
If (PMSX)
{
Store (0xC8, Local0)
While (Local0)
{
Store (One, PMSX)
If (PMSX)
{
Decrement (Local0)
}
Else
{
Store (Zero, Local0)
}
}
Notify (ARPT, 0x02)
}
}
Method (_PRW, 0, NotSerialized)
{
Return (GPRW (0x09, 0x04))
}
Method (_PRT, 0, NotSerialized)
{
If (PICM)
{
Return (AR08 ())
}
Return (PR08 ())
}
}
Device (LAN0)
{
Name (_ADR, Zero)
Name (_SUN, 0x03)
Name (_PRW, Package (0x02)
{
0x0B,
0x04
})
Method (_DSM, 4, NotSerialized)
{
Store (Package (0x0C)
{
"built-in",
Buffer (One)
{
0x00
},
"location",
Buffer (0x02)
{
"1"
},
"network-type",
Buffer (0x09)
{
"ethernet"
},
"revision-id",
Buffer (0x04)
{
0x05, 0x00, 0x00, 0x00
},
"model",
Buffer (0x22)
{
"Realtek RTL810SE Gigabit Ethernet"
},
"name",
Buffer (0x09)
{
"ethernet"
}
}, Local0)
DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))
Return (Local0)
}
}
Device (RP06)
{
.......
I replaced al PXSX with ARPT By the way.
Edit: Code corrected, thanks to iFIRE for editing.