From owner-cvs-src@FreeBSD.ORG Wed Dec 6 02:04:27 2006 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 87F3016A412; Wed, 6 Dec 2006 02:04:27 +0000 (UTC) (envelope-from marius@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [69.147.83.41]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5906D43CAB; Wed, 6 Dec 2006 02:03:43 +0000 (GMT) (envelope-from marius@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.6/8.13.6) with ESMTP id kB624Pnq044276; Wed, 6 Dec 2006 02:04:25 GMT (envelope-from marius@repoman.freebsd.org) Received: (from marius@localhost) by repoman.freebsd.org (8.13.6/8.13.4/Submit) id kB624Pq5044275; Wed, 6 Dec 2006 02:04:25 GMT (envelope-from marius) Message-Id: <200612060204.kB624Pq5044275@repoman.freebsd.org> From: Marius Strobl Date: Wed, 6 Dec 2006 02:04:25 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/sys/dev/gem if_gem.c if_gemvar.h X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 06 Dec 2006 02:04:27 -0000 marius 2006-12-06 02:04:25 UTC FreeBSD src repository Modified files: sys/dev/gem if_gem.c if_gemvar.h Log: - Use the gem_tick() callout instead of if_slowtimo() for driving gem_watchdog() in order to avoid races accessing if_timer. While at it relax the watchdog a bit by reloading it in gem_tint() if there are still packets enqueued. - Don't bother to set if_mtu to ETHERMTU, ether_ifattach() does that. - Fix inconsistencies in prototypes. Revision Changes Path 1.40 +24 -22 src/sys/dev/gem/if_gem.c 1.12 +1 -0 src/sys/dev/gem/if_gemvar.h