InfiniteMac OSx86  


Reply
 
Thread tools Display modes
  #1  
Old 02-12-2011, 05:45 AM
adlan adlan is offline
Jaguar
 
Join Date: Jan 2011
Posts: 36
BCM5754/M,BCM5755/M,BCM5787/M,BCM5906/M NIC driver for 10.6 (32/64) [update 22/5]

10.6.X Broadcom NIC driver for BCM5754/M,BCM5755/M,BCM5787/M,BCM5906/M (32/64)

i've decided to scratch an itch and develop a driver for my nic(5787m). Although there has been a working driver for the card, it is a hexedited version which i thought is not a permanent solution plus no source code is accessible. well, if it did, this project wouldn't exist .

This driver is implemented based on the BCM5722 Programmer's Guide provided in Broadcom's open source developer resource. Additional information is gleaned from Linux(tg3) and FreeBSD(if_bge) driver. Since the manual covers more than one model, I decided to include support for some of the models documented.

It should support the following models:
  1. BCM5722
  2. BCM5754
  3. BCM5754M
  4. BCM5755
  5. BCM5755M
  6. BCM5787
  7. BCM5787M #
  8. BCM5906 #
  9. BCM5906M #

# - tested

Features not implemented as of this release:
  • Wake-on-LAN

Installation

Install to /System/Library/Extensions.

Either manually copy it to S/L/E and repair permissions or simply use KextWizard (kexts.com mirror)

Issues

Please report any issues you found at https://github.com/adlan/BCM5722D/issues

Contributing

Source code is available at https://github.com/adlan/BCM5722D

Credits
  • broadcom for releasing the programmer's guide
  • authors of Linux(tg3) and FreeBSD(if_bge) driver
  • early beta testers from insanelymac forum (acero,Hacktrix2006,quadomatic,queshaolangman,Zpro od)

Disclaimer
This driver is neither supported nor endorsed by Broadcom. Zombies may invade your house and I take no responsibility for whatever happens. Use at your own risk

Update
Fix device detection problem affected to those who have cards with alphabets in its device id(5722,5754,5755,5787). Thanks to FredWst for spotting the culprit

enjoy!
Attached Files
File Type: zip BCM5722D.kext.zip (40.8 KB, 2503 views)

Last edited by adlan; 05-22-2011 at 07:37 AM.
Reply With Quote
  #2  
Old 02-15-2011, 11:03 PM
chinasky chinasky is offline
Cheetah
 
Join Date: Jul 2009
Posts: 8
Laptop lenovo n500, with a bcm5906M. Working fine, no kp at the moment.

Thank you!

Last edited by chinasky; 02-15-2011 at 11:07 PM.
Reply With Quote
  #3  
Old 02-16-2011, 02:13 PM
adlan adlan is offline
Jaguar
 
Join Date: Jan 2011
Posts: 36
Quote:
Originally Posted by chinasky View Post
Laptop lenovo n500, with a bcm5906M. Working fine, no kp at the moment.

Thank you!
glad to hear that!
Reply With Quote
  #4  
Old 02-16-2011, 11:03 PM
pat98usb pat98usb is offline
Cheetah
 
Join Date: Jan 2011
Posts: 5
Can you make it work for also for broadcom bmc57780 ,, pci14e4,1692
Thanks
Reply With Quote
  #5  
Old 02-17-2011, 12:45 AM
quinielascom quinielascom is offline
Cheetah
 
Join Date: Sep 2009
Posts: 5
Thanks seem work fine, tested with BCM5787M.

Is possible set your driver to display nothing in system log ?

In my system log I have:

Code:
BCM5722D (Build date/time: Feb 11 2011 16:21:32)
BCM5722D (setupDriver:920): MSI index on 1
BCM5722D (resetAdapter:144): 4B657654 to B49A89AB in 2687 iterations
my_name_adlan_BCM5722D: Model: BCM5787M NetLink (TM) Gigabit Ethernet
my_name_adlan_BCM5722D: Loaded successfully
BCM5722D (setPowerState:84): Changing power state from 1 to 0
my_name_adlan_BCM5722D: Ethernet address 00:11:22:33:44:55
BCM5722D (resetAdapter:144): 4B657654 to B49A89AB in 2638 iterations
BCM5722D (setMedium:471): Change medium: kIOMediumEthernetAuto
BCM5722D (setMedium:496): Change medium: kLinkDuplexNegotiate
BCM5722D (configureLinkAdvertisement:364): advertiseFe: 5E1
BCM5722D (configureLinkAdvertisement:365): advertiseGe: 300
BCM5722D (startAutoNegotiation:522): Adv reg: 5E1
Reply With Quote
  #6  
Old 02-17-2011, 05:41 AM
adlan adlan is offline
Jaguar
 
Join Date: Jan 2011
Posts: 36
Quote:
Originally Posted by pat98usb View Post
Can you make it work for also for broadcom bmc57780 ,, pci14e4,1692
Thanks
sorry, i'm afraid that is not possible for me now. I'll release the source code, so anybody interested can try to work on it if possible.
Reply With Quote
  #7  
Old 02-17-2011, 05:51 AM
adlan adlan is offline
Jaguar
 
Join Date: Jan 2011
Posts: 36
Quote:
Originally Posted by quinielascom View Post
Thanks seem work fine, tested with BCM5787M.

Is possible set your driver to display nothing in system log ?

In my system log I have:

Code:
BCM5722D (Build date/time: Feb 11 2011 16:21:32)
BCM5722D (setupDriver:920): MSI index on 1
BCM5722D (resetAdapter:144): 4B657654 to B49A89AB in 2687 iterations
my_name_adlan_BCM5722D: Model: BCM5787M NetLink (TM) Gigabit Ethernet
my_name_adlan_BCM5722D: Loaded successfully
BCM5722D (setPowerState:84): Changing power state from 1 to 0
my_name_adlan_BCM5722D: Ethernet address 00:11:22:33:44:55
BCM5722D (resetAdapter:144): 4B657654 to B49A89AB in 2638 iterations
BCM5722D (setMedium:471): Change medium: kIOMediumEthernetAuto
BCM5722D (setMedium:496): Change medium: kLinkDuplexNegotiate
BCM5722D (configureLinkAdvertisement:364): advertiseFe: 5E1
BCM5722D (configureLinkAdvertisement:365): advertiseGe: 300
BCM5722D (startAutoNegotiation:522): Adv reg: 5E1
no , i'll upload a non-chatty version later.
thank you for testing!
Reply With Quote
  #8  
Old 02-27-2011, 06:58 PM
limiter121 limiter121 is offline
Cheetah
 
Join Date: Aug 2009
Posts: 1
I have a Lenovo B550 laptop with a BCM5906M and it works great.

Thanks a lot !
Reply With Quote
  #9  
Old 02-28-2011, 04:26 PM
adlan adlan is offline
Jaguar
 
Join Date: Jan 2011
Posts: 36
Quote:
Originally Posted by limiter121 View Post
I have a Lenovo B550 laptop with a BCM5906M and it works great.

Thanks a lot !
great, thanks!
Reply With Quote
  #10  
Old 03-01-2011, 03:56 PM
adminio adminio is offline
Cheetah
 
Join Date: Mar 2011
Posts: 1
Thanks! I have a Acer5315 w/BCM5906M works!


Reply With Quote
Reply
Thread Tools
Display Modes