rtl8169: make sure that upper dword of rx/tx ring address is zero
git-svn-id: svn://kolibrios.org@4301 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
parent
a0fd67cc25
commit
ea362458cb
@ -957,11 +957,17 @@ hw_start:
|
|||||||
GetRealAddr
|
GetRealAddr
|
||||||
set_io REG_TxDescStartAddr
|
set_io REG_TxDescStartAddr
|
||||||
out dx, eax
|
out dx, eax
|
||||||
|
set_io REG_TxDescStartAddr + 4
|
||||||
|
xor eax, eax
|
||||||
|
out dx, eax
|
||||||
|
|
||||||
lea eax, [device.rx_ring]
|
lea eax, [device.rx_ring]
|
||||||
GetRealAddr
|
GetRealAddr
|
||||||
set_io REG_RxDescStartAddr
|
set_io REG_RxDescStartAddr
|
||||||
out dx, eax
|
out dx, eax
|
||||||
|
xor eax, eax
|
||||||
|
set_io REG_RxDescStartAddr + 4
|
||||||
|
out dx, eax
|
||||||
|
|
||||||
set_io REG_Cfg9346
|
set_io REG_Cfg9346
|
||||||
mov al, CFG_9346_Lock
|
mov al, CFG_9346_Lock
|
||||||
|
Loading…
Reference in New Issue
Block a user