From owner-cvs-src@FreeBSD.ORG Thu Sep 9 12:16:30 2004 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3903716A4CF; Thu, 9 Sep 2004 12:16:30 +0000 (GMT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1A7BA43D41; Thu, 9 Sep 2004 12:16:30 +0000 (GMT) (envelope-from glebius@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.11/8.12.11) with ESMTP id i89CGTkJ010182; Thu, 9 Sep 2004 12:16:29 GMT (envelope-from glebius@repoman.freebsd.org) Received: (from glebius@localhost) by repoman.freebsd.org (8.12.11/8.12.11/Submit) id i89CGTXQ010181; Thu, 9 Sep 2004 12:16:29 GMT (envelope-from glebius) Message-Id: <200409091216.i89CGTXQ010181@repoman.freebsd.org> From: Gleb Smirnoff Date: Thu, 9 Sep 2004 12:16:29 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/pci if_xl.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 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: Thu, 09 Sep 2004 12:16:30 -0000 glebius 2004-09-09 12:16:29 UTC FreeBSD src repository Modified files: sys/pci if_xl.c Log: Do not call xl_init_locked() unconditionally when we are bringed UP. Call it only if we weren't UP before. In some cases xl_init causes long media re-negotiation, and ppp(8) fails to open PPPoE connection because it sets IFF_UP every time before opening PPPoE connection. PR: kern/69133 Patch by: mdodd Approved by: wpaul, julian (mentor) MFC after: 1 week Revision Changes Path 1.180 +3 -2 src/sys/pci/if_xl.c