Fix loopback code using deprecated variable.

This commit is contained in:
TomAwezome 2022-12-23 02:22:58 -05:00
parent 9f3f051762
commit 57aaeebde1

View file

@ -585,7 +585,7 @@ U0 NetDriverTransmitPacketFinish(I64 de_index)
I64 NetDriverPacketBufferGet(I64 de_index) I64 NetDriverPacketBufferGet(I64 de_index)
{ {
return pcnet.tx_buffer_addr + de_index * ETHERNET_FRAME_SIZE; return pcnet.tx_buffer_addr_phys + de_index * ETHERNET_FRAME_SIZE;
} }
I64 NetDriverPacketLengthGet(I64 de_index) I64 NetDriverPacketLengthGet(I64 de_index)