changturkey Posted April 20, 2008 Share Posted April 20, 2008 I just do not understand why we can't port FreeBSD drivers, but then again I am a noob. I think part of the reason there is no driver yet is because there is not enough demand. Link to comment Share on other sites More sharing options...
Superhai Posted April 20, 2008 Share Posted April 20, 2008 I just do not understand why we can't port FreeBSD drivers, but then again I am a noob. I think part of the reason there is no driver yet is because there is not enough demand. Of course you can port it!!! But remember one thing before you start, you are not running FreeBSD. (a.k.a. you need to learn about IOKit) Link to comment Share on other sites More sharing options...
BigPimpin Posted April 21, 2008 Share Posted April 21, 2008 @Superhai Still, a BSD driver is much closer to osx than a linux driver. IOKit networking is just wrappers around the network stacks. Ever look at a Linux ethernet driver? All kinds of things that don't translate at all into the BSD universe. Link to comment Share on other sites More sharing options...
Superhai Posted April 21, 2008 Share Posted April 21, 2008 Still, a BSD driver is much closer to osx than a linux driver. IOKit networking is just wrappers around the network stacks. Ever look at a Linux ethernet driver? All kinds of things that don't translate at all into the BSD universe. Yeah. Actually making a network driver for OSX is not very hard (but you someone have to do it). I have an old tutorial from the web if somoone really want to put their mind together and start. IOKit_ethernet_designing.rtf It is a base and before intel, but it is the same IOKit. So if you can read the BSD source and this and know programming you might get some results. I would start on this if just had the time... Link to comment Share on other sites More sharing options...
changturkey Posted April 21, 2008 Share Posted April 21, 2008 It is the Broadcom Tigon tg3 that is used both in FreeBSD and Linux. If you could port this, you would be my god. Vostro 1500/1700 users have been getting all the love V_V. Link to comment Share on other sites More sharing options...
macgirl Posted April 21, 2008 Share Posted April 21, 2008 I found that devs have porting Linux drivers more easier than BSD ones. Link to comment Share on other sites More sharing options...
changturkey Posted April 21, 2008 Share Posted April 21, 2008 I only suggested FreeBSD because I know OS X has BSD roots. Link to comment Share on other sites More sharing options...
BigPimpin Posted April 22, 2008 Share Posted April 22, 2008 It is the Broadcom Tigon tg3 that is used both in FreeBSD and Linux. Tigon III is a whole family of Broadcom chips. There are at least 6 different chips. It's no surprise, really, that a hacked-up driver for the 5701 doesn't work on the 5750 chips. One bit flag out of place could attempt to turn on a feature that just doesn't exist and any code in the driver that depends on that flag is going to fail. Some have DMA bugs, others don't. Some have timing bugs, some don't. Some will do checksums in hardware, others won't. It's one family but all the chips in the tg3 line might as well be from different planets. Link to comment Share on other sites More sharing options...
Superhai Posted April 22, 2008 Share Posted April 22, 2008 Well, I can imagine porting from linux has advantages of much larger user base, better debugged driver and probably better documentation. Link to comment Share on other sites More sharing options...
LeGebäck Posted April 22, 2008 Share Posted April 22, 2008 Are there any changes until now? I got a Lenovo 3000 N200 - and I have no network connections ( darn modern notebooks LOL ). I could really need a driver! Link to comment Share on other sites More sharing options...
Bilal Mujeeb Posted April 22, 2008 Share Posted April 22, 2008 I have downloaded opensource drivers from the apple.com but when i tried to compile the driver in xcode it gave some error. I have the linux source of BCM5906 and tried to read it but no use.for 10.5.2 the driver source code and network programming guide (pdf) is attached with the post IONetworkingFamily_46.tar.gz NKEConceptual.pdf NetDoc.pdf Link to comment Share on other sites More sharing options...
changturkey Posted April 22, 2008 Share Posted April 22, 2008 Well at least there is some work being done. Good job guys. Link to comment Share on other sites More sharing options...
nestlake Posted April 23, 2008 Share Posted April 23, 2008 The BCM5906M is different from others: BCM5901 = "Broadcom NetXtreme Fast Ethernet" BCM5906 = "Broadcom NetLink Fast Ethernet" BCM5782 = "Broadcom NetXtreme Gigabit Ethernet" BCM5788 = "Broadcom NetLink Gigabit Ethernet" BCM5789 = "Broadcom NetLink Gigabit Ethernet" BCM5700FB = "Broadcom NetXtreme Gigabit Fiber" BCM5700FA = "Broadcom NetXtreme Gigabit Fiber" BCM5701FA = "Broadcom NetXtreme Gigabit Fiber" BCM5703S = "Broadcom NetXtreme Gigabit Fiber" BCM5703SW = "Broadcom NetXtreme Gigabit Ethernet" BCM5704S = "Broadcom NetXtreme Gigabit Fiber" BCM5704SW = "Broadcom NetXtreme Gigabit Ethernet" and This release of software supports: - BCM5751M NetXtreme Gigabit Ethernet Adapter - BCM5705 NetXtreme Gigabit Ethernet Adapter - BCM5702 NetXtreme Gigabit Ethernet Adapter - BCM5752M NetXtreme Gigabit Ethernet Adapter - BCM5753M NetXtreme Gigabit Ethernet Adapter - BCM5755M NetXtreme Gigabit Ethernet Adapter - BCM5781 NetXtreme Gigabit Ethernet Adapter - BCM5787M NetXtreme Gigabit Ethernet Adapter - BCM5788 NetXtreme Gigabit Ethernet Adapter - BCM5789 NetXtreme Gigabit Ethernet Adapter - BCM5906M NetLink Ethernet Adapter - BCM5787M NetXtreme Gigabit Ethernet Adapter We can know that the bcm5906m is netlink but not netXtreme!!!! Link to comment Share on other sites More sharing options...
Superhai Posted April 23, 2008 Share Posted April 23, 2008 The BCM5906M is different from others:We can know that the bcm5906m is netlink but not netXtreme!!!! Yeah of course it is. It is 100Mbit and not Gigabit. Link to comment Share on other sites More sharing options...
macgirl Posted April 24, 2008 Share Posted April 24, 2008 The installer on Windows uses all the settings of the 5788M BTW. Link to comment Share on other sites More sharing options...
nestlake Posted April 24, 2008 Share Posted April 24, 2008 I have installed FreeBSD7.0 today, and I found that not only the network-card cannot be recognized, but also the audio-card, bad luck!!! Link to comment Share on other sites More sharing options...
changturkey Posted April 24, 2008 Share Posted April 24, 2008 That is wierd, I have Ubuntu installed and it works fine. Link to comment Share on other sites More sharing options...
BigPimpin Posted April 24, 2008 Share Posted April 24, 2008 It's not weird at all. FreeBSD is not Linux. They are 2 completely different animals. The only thing they share is a common Unix heritage. The development paths of each over the last 15 years are very different. Link to comment Share on other sites More sharing options...
nestlake Posted April 25, 2008 Share Posted April 25, 2008 But why the driver can work on ubuntu ,but not leopard??? Under FreeBSD, I found a "ndisgen" , it can translate the drivers of windows to FreeBSD, and now I have both sound and networking driver under FreeBSD Can we also write a "ndisgen" under Mac OS X? Link to comment Share on other sites More sharing options...
BigPimpin Posted April 25, 2008 Share Posted April 25, 2008 But why the driver can work on ubuntu ,but not leopard??? Linux is not Leopard. What part of that don't you understand? Link to comment Share on other sites More sharing options...
macgirl Posted April 25, 2008 Share Posted April 25, 2008 There are a lot of diferent UNIXes: Unix History Is like you want to make a driver from Win98 working on WinXP, even some XP drivers don't work on Vista, the same apply to UNIXes, BSD drivers don't work on Linux or Solaris, Linux drivers don't work on AIX, HPUX or SCO UNIX, and so, and so. Link to comment Share on other sites More sharing options...
nestlake Posted April 26, 2008 Share Posted April 26, 2008 Maybe you are right! So let's talk about how to solve the problem (BCM5906M driver for leopard)? Link to comment Share on other sites More sharing options...
nestlake Posted April 27, 2008 Share Posted April 27, 2008 Who can upload this problem to XLabs? Link to comment Share on other sites More sharing options...
hqylwrx Posted April 27, 2008 Share Posted April 27, 2008 ^^this is not the most optimal thing to do. I would like not to have other external devices for my computer. I know that mine is working and the BCM5906 is the last thing I'm missing. So I hope that anyone can make a driver for this one too. http://www.opensubscriber.com/message/free...rg/8716454.html Broadcom 5906 in FreeBSD , can you transplantation it? Link to comment Share on other sites More sharing options...
Superhai Posted April 27, 2008 Share Posted April 27, 2008 This has no need to be on x-labs before someone starts programming this. And, no need to look for linux or bsd unless you want to program it, it is the IOKit part that is missing and what should be programmed. That means the physical part of the network stack. Link to comment Share on other sites More sharing options...
Recommended Posts