Ethernet Driver

Question about which tools to use, bugs, the best way to implement a function, etc should go here. Don't forget to see if your question is answered in the wiki first! When in doubt post here.
Post Reply
karsk
Posts: 4
Joined: Mon Nov 05, 2007 5:11 pm

Ethernet Driver

Post by karsk »

I've been reading for the last several hours about adding networking to your operating system, but none of the posts or google articles showed exactly *how* to do it.

A couple of questions that linger are:

How do I interface with the NIC? is it a port that I send information to like with the keyboard? or is it addressable memory that I can map?

I realize this probably has something to do with the PCI interface, but what if the ethernet card is built into the motherboard? does it follow the same rules?

Thanks.

P.S. I already know about all the protocols, packet format, etc.... I'm 75% done with my ccna.
User avatar
Solar
Member
Member
Posts: 7615
Joined: Thu Nov 16, 2006 12:01 pm
Location: Germany
Contact:

Post by Solar »

NICs on the motherboard are usually accessed via PCI / PCI-E protocol. How excatly... well, you need a device driver fro your NIC, depending on the chipset used.
Every good solution is obvious once you've found it.
Post Reply