time_to_go_on, on 01 February 2012 - 08:06 PM, said:
Hello. Can somebody help me? I can't find where i should insert code for my ar9285. i tried different root ports but it don't work
ioregexplorer and dsdt in
attachment
Thanks!
in 0x001C0005 thats missing RP06
(copy to text editor then click up top "Format" make plain text ! then copy and paste to dsdt editor
Device (RP06)
{
Name (_ADR, 0x001C0005)
OperationRegion (PXCS, PCI_Config, 0x40, 0xC0)
Field (PXCS, AnyAcc, NoLock, WriteAsZeros)
{
Offset (0x12),
, 13,
LASX, 1,
Offset (0x1A),
ABPX, 1,
, 2,
PDCX, 1,
, 2,
PDSX, 1,
Offset (0x1B),
LSCX, 1,
Offset (0x20),
Offset (0x22),
PSPX, 1,
Offset (0x98),
, 30,
HPEX, 1,
PMEX, 1,
, 30,
HPSX, 1,
PMSX, 1
}
Device (PXSX)
{
Name (_ADR, Zero)
Method (_DSM, 4, NotSerialized)
{
Store (Package (0x0c)
{
"AAPL,slot-name", Buffer () {"AirPort"},
"device-id", Buffer () {0x2A, 0x00, 0x00, 0x00},
"device_type", Buffer () {"AirPort"},
"model", Buffer () {"Atheros 9285 8802.11 b/g/n Wireless Network Adapter"},
"subsystem-id", Buffer () {0x8F, 0x00, 0x00, 0x00},
"subsystem-vendor-id", Buffer () {0x6B, 0x10, 0x00, 0x00}
}, Local0)
DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))
Return (Local0)
}
Name (_PRW, Package (0x02)
{
0x09,
0x04
})
}
Method (_PRW, 0, NotSerialized)
{
If (WKPM)
{
Return (Package (0x02)
{
0x09,
0x04
})
}
Else
{
Return (Package (0x02)
{
0x09,
Zero
})
}
}
Method (_PRT, 0, NotSerialized)
{
If (PICM)
{
Return (AR04) //change to proper IRQ table
}
Return (PR04) // change to proper IRQ Table
}
}