summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrad Smith <brad@cvs.openbsd.org>2006-02-24 06:09:45 +0000
committerBrad Smith <brad@cvs.openbsd.org>2006-02-24 06:09:45 +0000
commit7b777d7806ce199bda916bce4ab9de600dbef5cc (patch)
tree605cfd00eb5be3475e21f764489048d43917d2f3
parent545ff7a19a9252f7727d4bbf03ebd6db1de5cae4 (diff)
update link status here.
-rw-r--r--sys/dev/pci/if_em.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/dev/pci/if_em.c b/sys/dev/pci/if_em.c
index 9be12980011..bfc32d6267d 100644
--- a/sys/dev/pci/if_em.c
+++ b/sys/dev/pci/if_em.c
@@ -31,7 +31,7 @@ POSSIBILITY OF SUCH DAMAGE.
***************************************************************************/
-/* $OpenBSD: if_em.c,v 1.108 2006/02/22 06:02:09 brad Exp $ */
+/* $OpenBSD: if_em.c,v 1.109 2006/02/24 06:09:44 brad Exp $ */
/* $FreeBSD: if_em.c,v 1.46 2004/09/29 18:28:28 mlaier Exp $ */
#include <dev/pci/if_em.h>
@@ -640,6 +640,7 @@ em_init(void *arg)
splx(s);
return;
}
+ em_update_link_status(sc);
/* Prepare transmit descriptors and buffers */
if (em_setup_transmit_structures(sc)) {