rtl8139 fixed

git-svn-id: svn://kolibrios.org@504 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
SPraid (simba) 2007-05-17 17:24:56 +00:00
parent 3a9217ff57
commit 38c388fab5

View File

@ -354,7 +354,8 @@ rtl8139_reset:
add edx, RTL8139_REG_IMR - RTL8139_REG_MPC
out dx, ax
; set RxBuffer address, init RX buffer offset, init TX ring
mov eax, rtl8139_rx_buff
mov eax, rtl8139_rx_buff ; simba
sub eax,OS_BASE
add edx, RTL8139_REG_RBSTART - RTL8139_REG_IMR
out dx, eax
; Indicate that we have successfully reset the card
@ -511,6 +512,7 @@ rtl8139_transmit:
and ecx, 3
rep movsb
; set address
sub eax,OS_BASE
add edx, RTL8139_REG_TSAD0 - RTL8139_REG_TSD0
out dx, eax
; set size and early threshold