Contribute
Register

Patch DSDT Broadcom BCM57781

Status
Not open for further replies.
Joined
Oct 1, 2012
Messages
2
Motherboard
intell z 77
CPU
ivibridge i5
Graphics
nvidia 680
Mac
  1. 0
Classic Mac
  1. 0
Mobile Phone
  1. 0
Hello everyone. Have a network card Broadcom BCM57781, she dev-id 16b1
In the last IONetworkFamily.kext (10.8.4) in the list of everything except my
Code:
<key> IONameMatch </ key>
<array>
     <string> pci14e4, 1684 </ string>
     <string> pci14e4, 16b4 </ string>
     <string> pci14e4, 16b0 </ string>
     <string> pci14e4, 1682 </ string>
     <string> pci14e4, 1686 </ string>
</ array>
Naturally there was a desire to have a network card in the native drivers through substitution devID in DSDT. I prepared for the substitution method.
I took a dump of the basis for one of the real mac which network card with devId 16b4


Code:
Device (GIGE)
                {
                    Name (_ADR, Zero)
                    OperationRegion (ARE0, PCI_Config, Zero, 0x04)
                    Field (ARE0, ByteAcc, NoLock, Preserve)
                    {
                        AVND, 16
                    }
                    Method (_STA, 0, NotSerialized)
                    {
                        Return (0x0F)
                    }
                    Name (_PRW, Package (0x02)
                    {
                        0x09,
                        0x04
                    })
                    Method (_RMV, 0, NotSerialized)
                    {
                        Return (Zero)
                    }
                    Method (_DSM, 4, NotSerialized)
                    {
                        Store (Package ()
                            {
                                "Name",
                                Buffer (0x09)
                                {
                                    "Ethernet"
                                }
                                "Device-id",
                                Buffer (0x04)
                                {
                                    0xB4, 0x16, 0x00, 0x00
                                }
                                "Vendor-id",
                                Buffer (0x04)
                                {
                                    0xE4, 0x14, 0x00, 0x00
                                }
                                "Model",
                                Buffer (0x12)
                                {
                                    "Broadcom 57765-B0"
                                }
                                "Compatible",
                                Buffer (0x0D)
                                {
                                    "Pci14e4, 16b4"
                                }
                                Buffer (0x10)
                                {
                                    "Pciclass, 020000"
                                }
                                "Class-code",
                                Buffer (0x04)
                                {
                                    0x00, 0x00, 0x02, 0x00
                                }
                                "Subsystem-id",
                                Buffer (0x04)
                                {
                                    0xB4, 0x16, 0x00, 0x00
                                }
                                "Subsystem-vendor-id",
                                Buffer (0x04)
                                {
                                    0xE4, 0x14, 0x00, 0x00
                                }
                                "Revision-id",
                                Buffer (0x04)
                                {
                                    0x01, 0x00, 0x00, 0x00
                                }
                                "IONameMatched",
                                Buffer ()
                                {
                                    "Pci14e4"
                                }
                                Buffer ()
                                {
                                    "16b4"
                                }
                                "IONameMatch",
                                Buffer ()
                                {
                                    "Pci14e4"
                                }
                                Buffer ()
                                {
                                    "16b4"
                                }
                               
                            }, Local0)
                        DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))
                        Return (Local0)
                    }
In the report, "the system" can be seen that the ID has changed during startup, still appears


Code:
AppleBCM5701Ethernet: 0 16b1 getAdapterInfo - Device is unknown
From where it takes this ID?
 

Attachments

  • DSDTN.aml.zip
    14.5 KB · Views: 150
  • ?????? ?????? 2013-06-15 ? 9.10.16.png
    ?????? ?????? 2013-06-15 ? 9.10.16.png
    83.9 KB · Views: 893
I would love to work with you to get this working kext free from DSDT. I have actually been working on this a while now and this new info helps a lot.

What motherboard are you using?
 
Glad to hear that this is an interesting topic. I Have Asrock Z77E-ITX motherboard
 
Status
Not open for further replies.
Back
Top