summaryrefslogtreecommitdiff
path: root/sys/dev/pci/if_rl.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/pci/if_rl.c')
-rw-r--r--sys/dev/pci/if_rl.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/sys/dev/pci/if_rl.c b/sys/dev/pci/if_rl.c
index 942f1f82f9b..c28c16fe3a4 100644
--- a/sys/dev/pci/if_rl.c
+++ b/sys/dev/pci/if_rl.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_rl.c,v 1.6 1998/11/19 07:01:55 jason Exp $ */
+/* $OpenBSD: if_rl.c,v 1.7 1998/11/20 02:42:15 jason Exp $ */
/*
* Copyright (c) 1997, 1998
@@ -1134,6 +1134,11 @@ static void rl_init(xsc)
CSR_WRITE_1(sc, RL_CFG1, RL_CFG1_DRVLOAD|RL_CFG1_FULLDUPLEX);
+ /*
+ * Set current media.
+ */
+ mii_mediachg(&sc->sc_mii);
+
ifp->if_flags |= IFF_RUNNING;
ifp->if_flags &= ~IFF_OACTIVE;