InfiniteMac OSx86

InfiniteMac OSx86 (http://infinitemac.com/forum.php)
-   10.X (http://infinitemac.com/forumdisplay.php?f=36)
-   -   New nForce LAN driver in development (http://infinitemac.com/showthread.php?t=1379)

Voyn1x 09-27-2008 04:52 PM

New nForce LAN driver in development
 
Quote:

Originally Posted by eno at InsanelyMac
My RTL8139 card bit the dust this past weekend so I have been stuck without a working ethernet card. I had been using the RTL8139 because the built-in network adapter is a nForce 590i MCP55. The MCP55 ethernet adapter has up until now not worked at all under osx (at least with my gigabyte motherboard).

The attached driver is a combination of planetbeing's nForce4 0.3c driver and the forcedeth 0.61 driver from linux 2.6.27. In theory the attached driver should work with any of the network adapters supported by the forcedeth 0.61 driver (from the nForce1 to the MCP79) but it has so far only been tested with my MCP55. This driver can be considered a replacement for both forcedeth.kext and nForceEthernet.kext. Please let me know how well this works (or doesn't work for that matter).

This driver is being released under the GPL. For now the source code will be available upon request. I will post the source code here once I have had a chance to clean up the code and run further tests.

The original nForce4 driver is posted here: nForce4 LAN driver

Known working physical devices:
Realtek 8211, 8211B, 8211C
Realtek/Cicada/Vitesse 8201
Marvel 88E1116, 88E3016

Supported PCI ids:
0x01c310de, 0x006610de, 0x00d610de, 0x008610de, 0x008c10de, 0x00e610de, 0x00df10de,
0x005610de, 0x005710de 0x003710de, 0x003810de, 0x026810de, 0x026910de, 0x037210de,
0x037310de, 0x03e510de, 0x03e610de, 0x03ee10de, 0x03ef10de, 0x045010de, 0x045110de,
0x045210de, 0x045310de, 0x054c10de, 0x054d10de, 0x054e10de, 0x054f10de, 0x07dc10de,
0x07dd10de, 0x07de10de, 0x07df10de, 0x076010de, 0x076110de, 0x076210de, 0x076310de,
0x0ab010de, 0x0ab110de, 0x0ab210de, 0x0ab310de

Updates:
- removed rx/tx checksum overrides. Should work with more cards out of the box now.
- [0.61.1alpha_osx]added support for sleep/wake functions.
- [0.61.2alpha_osx]added OptimizationMode option (0 = throughput, 1 = cpu). CPU optimization is the default since it appears to works better with some devices (my MCP55). The option can be set in the Info.plist.
- [0.61.3alpha_osx]renamed to nForceLAN.kext and some small bug-fixes.

enjoy!
-Nate

Looks like this has potential to be the best nforce LAN driver yet. Visit this thread on InsanelyMac to try it out and leave feedback:

http://forum.insanelymac.com/index.p...ic=125569&st=0

R0GUE 09-27-2008 07:28 PM

Thanks for the link Voyn1x!! If I can get my built in ethernet working then I'll be a very happy chappy.

pαuℓzurrr. 09-28-2008 03:24 PM

Works on my setup :D

nVidia Corporation MCP61 Ethernet [10de:03ef] (rev a2)

~p-J

R0GUE 09-29-2008 08:29 PM

Built in lan never worked before with any of the forcedeth kexts, but this new nForceLan kext works a treat on mine: 10de:0373 nVidia Corporation MCP55 Dual Gigabit Ethernet with Vitesse chipset. I urge everyone with built in lan to try this out and leave feed back for eno over at insanelymac.

eMatoS 09-29-2008 11:30 PM

From the second I load it, it hogs my kernel_task, tried al the kexts but same thing. I'm back to the standard forcedeth for now.

Asus A8N-SLI nForce4 SLI

naquaada 09-29-2008 11:44 PM

Hmmm I have the Asus A8N-SLI Premium and an Asus A8N-E FM/S. Both are working fine with the forcedeth-v driver. But I'm using skge.kext on the Premium, it has two LAN ports. More interesting would be a new nForce SATA driver. It's so slooow... (sigh).

dersonbsb 09-30-2008 01:38 AM

Its work for me.

MB: m2n-e

I deleted old forcedeth kext and copy nForceLan.kext and reboot, remove power cord, wait 30sec e power on.


Good Job.

kozlowski 10-02-2008 12:32 PM

The only component i never got to work is my RTL8201N (0x07dc10de) ethernet. Forcedeth 0.3 would just give me an inverse MAC address, and when that was fixed it still wouldn't settle with the router IP i was assigning.

Same situation happens with 0.6alpha.