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 am writing a rtl8139 network driver.
However I am not able to receive packets. On debugging I found that the receive config register (0x44) is reseting its value to 0.
outl((BaseAddress + 0x44), 0x000002FF); // For receiving all type of packets.
uint32 reg2 = inl(BaseAddress + 0x44); // reading if changes get reflected
reg2 is 0. // no change.
Hi, i dont see all of your code but,
have you reset the interrupts by writing 1 to the bits of offset 003Eh register?
have you set the CAPR read pointer which keeps the address of data that driver had read?
if not, i think you must.