summaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@cvs.openbsd.org>2006-12-29 22:16:06 +0000
committerMark Kettenis <kettenis@cvs.openbsd.org>2006-12-29 22:16:06 +0000
commitf5590902ffd1b26c700f70f5895abb62c4611212 (patch)
treea80ce6aaac4f30c1f6e3899309793eb2cfc90b97 /sys/dev
parent16293ad0b0ccd66d3ebb92a83ccb7dd4b3faa57a (diff)
Pass MIIF_DOPAUSE to mii_attach().
ok brad@
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/pci/if_stge.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/pci/if_stge.c b/sys/dev/pci/if_stge.c
index 7803bd1fd09..5b9f40ae193 100644
--- a/sys/dev/pci/if_stge.c
+++ b/sys/dev/pci/if_stge.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_stge.c,v 1.34 2006/10/26 23:15:16 brad Exp $ */
+/* $OpenBSD: if_stge.c,v 1.35 2006/12/29 22:16:05 kettenis Exp $ */
/* $NetBSD: if_stge.c,v 1.27 2005/05/16 21:35:32 bouyer Exp $ */
/*-
@@ -387,7 +387,7 @@ stge_attach(struct device *parent, struct device *self, void *aux)
ifmedia_init(&sc->sc_mii.mii_media, 0, stge_mediachange,
stge_mediastatus);
mii_attach(&sc->sc_dev, &sc->sc_mii, 0xffffffff, MII_PHY_ANY,
- MII_OFFSET_ANY, 0 /* MIIF_DOPAUSE */);
+ MII_OFFSET_ANY, MIIF_DOPAUSE);
if (LIST_FIRST(&sc->sc_mii.mii_phys) == NULL) {
ifmedia_add(&sc->sc_mii.mii_media, IFM_ETHER|IFM_NONE, 0, NULL);
ifmedia_set(&sc->sc_mii.mii_media, IFM_ETHER|IFM_NONE);