How can I read Net.ether82557's registers

Hello everyone! I am a new member of this forum and there are some questions I want to ask, please help me, ok? My OS is QNX 4.24 and ethernet NIC is 82557/9, and I want know how can I read 82557’s registers? Also I want to know these registers detail, please tell me.
And thank you very much.

hello,

first you have to get the software manuals from intel web site for this chip, and after you have to use the pci library functions to get the physical address of the chip, if you want to use a memory access you must convert this address in virtual addres ( mmap … ).
You must be root to run your program.