• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

Making my own NIC device driver

ucGrad

Member
Hi All,
I'm interested in writing my own driver for a NIC. I'd like to know if there is anyone that has ever done such a thing (with NICs or with any othe devices) and more importantly, since it is for a NIC, do I have to make it compatible with WinSock?

thanks for your help!
 
For Windows, you'd need to:
- know C and x86 assembly, as well as something about hardware interrupt handlers
- have the Windows Device Driver Kit from MSDN
- have source code for an existing NIC driver
- have programming information for the specific NIC's internal hardware

For linux you might be able to find source code for an existing NIC, Windows is less likely.
 
The source code for all the drivers that linux uses is freely aviable via the kernel sources at kernel.org.

Here is a sample from linux/drivers/net/via-rhine.c
 
Back
Top