Contribute
Register

USB 3.0 DSDT mods

Status
Not open for further replies.
RehabMan is right. RefOf(AAPL) is not correct in my example, but it works in other cases (where it can be used) I just forgot to change it. And yes you can use something like this:

Code:
Method(_DSM, 4, NotSerialized)
{
    If (LEqual (Arg2, Zero)) { Return (Buffer() { 0x03 } ) }
    Return (Package()
    {
         "AAPL00,DualLink", 
         Buffer() { 0x01, 0x00, 0x00, 0x00 },
         "AAPL,snb-platform-id",
         Buffer() { 0x00, 0x00, 0x01, 0x00 }
     })
}
Not really a good example, for the two EHCn devices in my example, because then you end up with duplicated code and since I don't like duplicated code.
 
Status
Not open for further replies.
Back
Top