From owner-freebsd-current@FreeBSD.ORG Thu Sep 21 19:39:45 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D35AE16A40F for ; Thu, 21 Sep 2006 19:39:45 +0000 (UTC) (envelope-from andre@freebsd.org) Received: from c00l3r.networx.ch (c00l3r.networx.ch [62.48.2.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id AC86343E51 for ; Thu, 21 Sep 2006 19:37:01 +0000 (GMT) (envelope-from andre@freebsd.org) Received: (qmail 42723 invoked from network); 21 Sep 2006 19:39:31 -0000 Received: from c00l3r.networx.ch (HELO [127.0.0.1]) ([62.48.2.2]) (envelope-sender ) by c00l3r.networx.ch (qmail-ldap-1.03) with SMTP for ; 21 Sep 2006 19:39:31 -0000 Message-ID: <4512E9D1.5020703@freebsd.org> Date: Thu, 21 Sep 2006 21:36:49 +0200 From: Andre Oppermann User-Agent: Thunderbird 1.5.0.7 (Windows/20060909) MIME-Version: 1.0 To: freebsd-current@freebsd.org Content-Type: multipart/mixed; boundary="------------030607070602030508000600" Subject: [Fwd: cvs commit: src/sys/dev/em if_em.c] X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 21 Sep 2006 19:39:46 -0000 This is a multi-part message in MIME format. --------------030607070602030508000600 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit This should fix the TSO problems people have seen with various em(4) network cards. It was an initialization ordering issue in the driver. -- Andre --------------030607070602030508000600 Content-Type: message/rfc822; name="cvs commit: src/sys/dev/em if_em.c" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="cvs commit: src/sys/dev/em if_em.c" X-Account-Key: account3 Return-Path: Delivered-To: andre@networx.ch Received: (qmail 42584 invoked from network); 21 Sep 2006 19:23:23 -0000 Received: from mx2.freebsd.org ([216.136.204.119]) (envelope-sender ) by c00l3r.networx.ch (qmail-ldap-1.03) with SMTP for ; 21 Sep 2006 19:23:23 -0000 Received: from hub.freebsd.org (hub.freebsd.org [216.136.204.18]) by mx2.freebsd.org (Postfix) with ESMTP id 8664B54BFD for ; Thu, 21 Sep 2006 19:14:53 +0000 (GMT) (envelope-from owner-src-committers@FreeBSD.org) Received: by hub.freebsd.org (Postfix) id 4C72716A47C; Thu, 21 Sep 2006 19:14:53 +0000 (UTC) Delivered-To: andre@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 538) id 414D316A40F; Thu, 21 Sep 2006 19:14:53 +0000 (UTC) X-Original-To: src-committers@FreeBSD.org Delivered-To: src-committers@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1397916A403; Thu, 21 Sep 2006 19:14:52 +0000 (UTC) (envelope-from andre@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id C142A43D46; Thu, 21 Sep 2006 19:14:51 +0000 (GMT) (envelope-from andre@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 k8LJEp2Z039701; Thu, 21 Sep 2006 19:14:51 GMT (envelope-from andre@repoman.freebsd.org) Received: (from andre@localhost) by repoman.freebsd.org (8.13.6/8.13.4/Submit) id k8LJEpYb039700; Thu, 21 Sep 2006 19:14:51 GMT (envelope-from andre) Message-Id: <200609211914.k8LJEpYb039700@repoman.freebsd.org> From: Andre Oppermann Date: Thu, 21 Sep 2006 19:14:51 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/dev/em if_em.c X-FreeBSD-CVS-Branch: HEAD Sender: owner-src-committers@FreeBSD.org Precedence: bulk X-Loop: FreeBSD.ORG andre 2006-09-21 19:14:51 UTC FreeBSD src repository Modified files: sys/dev/em if_em.c Log: Move the initialization of the hardware capabilities in em_init_locked() before em_setup_transmit_structures() as it needs this information to properly set up TSO parameters. Reviewed by: jfv Revision Changes Path 1.147 +12 -8 src/sys/dev/em/if_em.c --------------030607070602030508000600--