From owner-cvs-all@FreeBSD.ORG Fri Feb 17 14:33:36 2006 Return-Path: X-Original-To: cvs-all@FreeBSD.org Delivered-To: cvs-all@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 545FC16A420; Fri, 17 Feb 2006 14:33:36 +0000 (GMT) (envelope-from oleg@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0EE0543D45; Fri, 17 Feb 2006 14:33:36 +0000 (GMT) (envelope-from oleg@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.1/8.13.1) with ESMTP id k1HEXZcj029705; Fri, 17 Feb 2006 14:33:35 GMT (envelope-from oleg@repoman.freebsd.org) Received: (from oleg@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id k1HEXZJb029704; Fri, 17 Feb 2006 14:33:35 GMT (envelope-from oleg) Message-Id: <200602171433.k1HEXZJb029704@repoman.freebsd.org> From: Oleg Bulyzhin Date: Fri, 17 Feb 2006 14:33:35 +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/bge if_bge.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 17 Feb 2006 14:33:36 -0000 oleg 2006-02-17 14:33:35 UTC FreeBSD src repository Modified files: sys/dev/bge if_bge.c Log: 1) Ignore link events for MII/GMII cards if MI auto-polling disabled. This should fix strange link state behaviour reported for bcm5721 & bcm5704c 2) Clear bge_link flag in bge_stop() 3) Force link state check after bge_ifmedia_upd(). Otherwise we can miss link event if PHY changes it's state fast enough. Tested by: phk (bcm5704c) Approved by: glebius (mentor) MFC after: 1 week Revision Changes Path 1.124 +14 -4 src/sys/dev/bge/if_bge.c