Jump to content

Linux drivers compiled in OSX


macdanny
 Share

5 posts in this topic

Recommended Posts

Hi people :)

 

 

I was searching for atheros AR81 family driver for OSX and found nothing except linux drives, does enyine know how to port a driver to OSX? I know devices are open for access in linux, like common files, but I have never written anything under OSX, is there any experienced developer knowing how to do that?

 

 

p.s. sorry for my broken English :)

Link to comment
Share on other sites

No.

 

Mac OS X -> Darwin -> FreeBSD

 

Just because systems are Unix-like and use ls/grep/pwd, doesn't mean they are cross-compatible. Mac OS X is in the vein of true Unix systems along with Solaris/AIX/HP-UX/FreeBSD (to a lesser extent). Linux is based very loosely on these, and can hardly be considered a Unix system. It'd be much easier to port FreeBSD drivers to Mac OS X, but even then it's still a huge endeavor.

 

Now, that being said, Mac OS X has a full set of APIs, and Atheros' drivers are completely open source, so everything you need is there, and you're more than welcome to get writing the drivers! :)

Link to comment
Share on other sites

  • 2 weeks later...

Have a question about compiling your own drivers, is there a guide that provides the needed base libraries to go about such a task? I posted this earlier:

http://forum.insanelymac.com/index.php?sho...d=1047099

 

And they have a FreeBSD driver source included in the download so it may not be such a terrible task to port these over, also the smalltree drivers provide a good model to look at. I'd like to get support for my Intel PRO/1000 PT (82572EI chipset) so I can use that for all my OSes and not use the realtek at all.

Link to comment
Share on other sites

 Share

×
×
  • Create New...