From c42c7651f70e27c7ca625ca23dce8da10b69c04a Mon Sep 17 00:00:00 2001 From: hidnplayr Date: Thu, 19 Dec 2013 21:39:14 +0000 Subject: [PATCH] Disabled verbose network debug output. git-svn-id: svn://kolibrios.org@4388 a494cfbc-eb01-0410-851d-a64ba20cac60 --- kernel/trunk/network/loopback.inc | 2 +- kernel/trunk/network/stack.inc | 2 +- kernel/trunk/network/tcp_input.inc | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/kernel/trunk/network/loopback.inc b/kernel/trunk/network/loopback.inc index 8eb22d9330..8b16866ac4 100644 --- a/kernel/trunk/network/loopback.inc +++ b/kernel/trunk/network/loopback.inc @@ -35,7 +35,7 @@ LOOPBACK_DEVICE: .packets_rx dd 0 .link_state dd -1 - .hwacc dd 0 + .hwacc dd NET_HWACC_TCP_IPv4_IN + NET_HWACC_TCP_IPv4_OUT .namestr db 'loopback', 0 diff --git a/kernel/trunk/network/stack.inc b/kernel/trunk/network/stack.inc index 8fc5a570f3..661c992ad5 100644 --- a/kernel/trunk/network/stack.inc +++ b/kernel/trunk/network/stack.inc @@ -29,7 +29,7 @@ uglobal endg DEBUG_NETWORK_ERROR = 1 -DEBUG_NETWORK_VERBOSE = 1 +DEBUG_NETWORK_VERBOSE = 0 NET_DEVICES_MAX = 16 ARP_BLOCK = 1 ; true or false diff --git a/kernel/trunk/network/tcp_input.inc b/kernel/trunk/network/tcp_input.inc index 1f0f3e4e5c..577df3f7a3 100644 --- a/kernel/trunk/network/tcp_input.inc +++ b/kernel/trunk/network/tcp_input.inc @@ -116,8 +116,8 @@ endl je .checksum_ok ; re-calculate the checksum (if not already done by hw) -; test [ebx + NET_DEVICE.hwacc], HWACC_TCP_IPv4_IN -; jnz .checksum_ok + test [ebx + NET_DEVICE.hwacc], NET_HWACC_TCP_IPv4_IN + jnz .checksum_ok push ecx esi pushw [esi + TCP_header.Checksum]