From owner-cvs-all@FreeBSD.ORG Wed Feb 15 10:51:12 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 82EA516A420; Wed, 15 Feb 2006 10:51:12 +0000 (GMT) (envelope-from glebius@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3BEDB43D45; Wed, 15 Feb 2006 10:51:12 +0000 (GMT) (envelope-from glebius@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 k1FApB1J098518; Wed, 15 Feb 2006 10:51:12 GMT (envelope-from glebius@repoman.freebsd.org) Received: (from glebius@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id k1FApB1p098517; Wed, 15 Feb 2006 10:51:11 GMT (envelope-from glebius) Message-Id: <200602151051.k1FApB1p098517@repoman.freebsd.org> From: Gleb Smirnoff Date: Wed, 15 Feb 2006 10:51:11 +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/em if_em.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: Wed, 15 Feb 2006 10:51:12 -0000 glebius 2006-02-15 10:51:11 UTC FreeBSD src repository Modified files: sys/dev/em if_em.c Log: - Rename em_print_link_status() to em_update_link_status(). - In em_attach() remove em_check_for_link(). Not needed here, since already done in em_hardware_init(). - In em_attach() replace the printing block with call to em_update_link_status(). - Remove modification of sc->link_state from em_hardware_init() and from em_media_status(). This makes em_update_link_status() a single point of change. Call em_update_link_status() where needed. Revision Changes Path 1.110 +9 -42 src/sys/dev/em/if_em.c