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.
Hi,
I want to write a simple program for my OS which just works like ping.exe
But I don't know how to control the ethernet card...are there any information how to program them (low-level). Which types of cards (chipsets) are available and where are the differents? Are there any good links with which I can deal? I hope it is possible to write a driver...
You first job should be a pci scan function, that can scan and find a pci by its vendor/device ID, also some functions for "PciRegWrite","PciRegRead" then you can test for install card.
Than you can start writing your driver, go for one with lots of info like "RTL8139" get the data sheet there is info in the sheet with loads of offsets address, it as simple as getting the address that your FindPciCard function returns, adding the offset, you can then read the bits at the address or change the bits at the address to do differant things, but all the info of what each bit does is in the data sheet.