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.
I can find my 3c556 hurragane nic pci bus and device no and it's io base addr. I found out that the following pseudo-code should return 0x6055, the deviceid:
I can't do anything useful with the card if I don't have access to the eeprom. Of course, I could prompt the user for the MAC address, the connector types availlable etc.
I also wanted to get this function up and running, because it is the simplest thing I could do with the card. I thought, "Adrian how can you transmit packets or whatever if you can't read the eeprom".
Other NICs i know just let you access the MAC address like any other registers (afaik, the NIC reads the MAC address from the EEPROM and then transfer it to registers at bootup, so you don't have to toy with EEPROM yourself