Date: Wed, 15 Feb 2006 10:51:11 +0000 (UTC) From: Gleb Smirnoff <glebius@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/dev/em if_em.c Message-ID: <200602151051.k1FApB1p098517@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200602151051.k1FApB1p098517>
