From 451a92c4f61f575f523b91d86b25b8a348b6dfaa Mon Sep 17 00:00:00 2001 From: Brad Smith Date: Fri, 7 Oct 2005 21:23:52 +0000 Subject: revert this change. --- sys/dev/pci/if_lge.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sys/dev/pci') 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) { -- cgit v1.2.3