From ea362458cbb12e23528eb78370b957590cf73fb1 Mon Sep 17 00:00:00 2001 From: CleverMouse Date: Wed, 27 Nov 2013 11:09:26 +0000 Subject: [PATCH] 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 --- drivers/ethernet/RTL8169.asm | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/drivers/ethernet/RTL8169.asm b/drivers/ethernet/RTL8169.asm index 5570cc1266..bf6bdef765 100644 --- a/drivers/ethernet/RTL8169.asm +++ b/drivers/ethernet/RTL8169.asm @@ -957,11 +957,17 @@ hw_start: GetRealAddr set_io REG_TxDescStartAddr out dx, eax + set_io REG_TxDescStartAddr + 4 + xor eax, eax + out dx, eax lea eax, [device.rx_ring] GetRealAddr set_io REG_RxDescStartAddr out dx, eax + xor eax, eax + set_io REG_RxDescStartAddr + 4 + out dx, eax set_io REG_Cfg9346 mov al, CFG_9346_Lock