Re: MAC OSX PCI network driver development for newbies



In article <1138967774.386692.28350@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>,
"nikhil" <n_apte@xxxxxxxxxxxx> wrote:

Hello everyone.
I have developed a Windows NDIS Miniport Driver for a network card. Now
i want the same driver to be ported to the MAC OSX 10.4.3.
[...] One of the document on www.apple.com/mac/ tells that there are 3
options
1. High level API to access the hardware from the app side. Here we can
skip the driver.
2. Application driver.
3 Kernel drive.
And one more thing is that KEXT (Kernel extentions).
These all things are adding comfusion in my mind, The picture is not
very clear. What option should i choose? Please tell me how can i
proceed so that i can complete the task of developing the network
driver.

If your network card is anything like a normal network card (high
throughput, often used, by many applications), you should use option 3,
a kernel driver. On Mac OS X, 'kext' or 'kernel extension' is where
third party kernel drivers (and many, if not all, Apple-built drivers)
live.

Useful starting points are
<http://developer.apple.com/documentation/DeviceDrivers/index.html> and
(slightly more specific)
<http://developer.apple.com/documentation/DeviceDrivers/Networking-date.h
tml>

Reinder
.



Relevant Pages

  • RE: installing intel network card in RH9
    ... recompiling a kernel is little bit awkward... ... install modules-utils.X from the net. ... installing intel network card in RH9 ... I also downloaded a driver from Intel site. ...
    (RedHat)
  • Re: Using different timebase for ntpd
    ... Hmm, I guess, that would mess up the whole kernel and it's time keeping. ... TPRO refclock driver. ... poke the timer pin with a stable stignal and let the kernel/NTP feedback loop do the discipline and interpolation. ... I know how to get the timestamps from the network card into NTP but I need the daemon to discipline the clock on the card to make it somehow useful. ...
    (comp.protocols.time.ntp)
  • Re: Upgraded kernels, now eth0 and framebuffer are gone
    ... Mark Fletcher wrote: ... >> how to make the kernel see them again. ... If it can't find your network card now either the right driver is ...
    (Debian-User)
  • Re: Service Control Manager
    ... external card) then load the ibm drivers for the network card again. ... Monday, February 14, 2005 Service Control Manager The DHCP Client service ... depends on the TCP/IP Protocol Driver service which failed to start because ... A device attached to the system is not functioning. ...
    (microsoft.public.windowsxp.perform_maintain)
  • Re: new server setup questions
    ... I can't get a driver to ... work for the integrated network card. ... and the nve driver worked after that. ... kldload still gave me the same error as mentioned earlier in this thread ...
    (freebsd-questions)