summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrad Smith <brad@cvs.openbsd.org>2005-10-07 21:23:52 +0000
committerBrad Smith <brad@cvs.openbsd.org>2005-10-07 21:23:52 +0000
commit451a92c4f61f575f523b91d86b25b8a348b6dfaa (patch)
tree8bdaa7edb6bada0e60e36c51db163b8c97524232
parent74d4f805e60beed0e97f0dc29521d6e2c6ebcc27 (diff)
revert this change.
-rw-r--r--sys/dev/pci/if_lge.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/pci/if_lge.c b/sys/dev/pci/if_lge.c
index 2fcfe35b404..8bc321461a7 100644
--- a/sys/dev/pci/if_lge.c
+++ b/sys/dev/pci/if_lge.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_lge.c,v 1.26 2005/10/07 21:17:42 brad Exp $ */
+/* $OpenBSD: if_lge.c,v 1.27 2005/10/07 21:23:51 brad Exp $ */
/*
* Copyright (c) 2001 Wind River Systems
* Copyright (c) 1997, 1998, 1999, 2000, 2001
@@ -607,7 +607,7 @@ void lge_attach(parent, self, aux)
ifmedia_init(&sc->lge_mii.mii_media, 0, lge_ifmedia_upd,
lge_ifmedia_sts);
DPRINTFN(5, ("mii_attach\n"));
- mii_attach(self, &sc->lge_mii, 0xffffffff, MII_PHY_ANY,
+ mii_attach(&sc->sc_dv, &sc->lge_mii, 0xffffffff, MII_PHY_ANY,
MII_OFFSET_ANY, 0);
if (LIST_FIRST(&sc->lge_mii.mii_phys) == NULL) {