From owner-cvs-src@FreeBSD.ORG Sat Sep 15 10:49:58 2007 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 32EFF16A417; Sat, 15 Sep 2007 10:49:58 +0000 (UTC) (envelope-from marius@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 2ABC813C442; Sat, 15 Sep 2007 10:49:58 +0000 (UTC) (envelope-from marius@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id l8FAnv3C038014; Sat, 15 Sep 2007 10:49:57 GMT (envelope-from marius@repoman.freebsd.org) Received: (from marius@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id l8FAnvV9038013; Sat, 15 Sep 2007 10:49:57 GMT (envelope-from marius) Message-Id: <200709151049.l8FAnvV9038013@repoman.freebsd.org> From: Marius Strobl Date: Sat, 15 Sep 2007 10:49:57 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: RELENG_6 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: Sat, 15 Sep 2007 10:49:58 -0000 marius 2007-09-15 10:49:57 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) sys/dev/gem if_gem.c if_gemvar.h Log: MFC: if_gem.c 1.37, 1.39, 1.40, 1.43; if_gemvar.h 1.12 - Fix -Wundef warnings found when compiling i386 LINT, GENERIC and custom kernels. - Use bus_get_dma_tag() so gem(4) works on platforms requiring it. - 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.29.2.7 +31 -28 src/sys/dev/gem/if_gem.c 1.10.2.2 +1 -0 src/sys/dev/gem/if_gemvar.h