summaryrefslogtreecommitdiff
path: root/sys/dev/ic/re.c
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@cvs.openbsd.org>2006-12-30 09:38:29 +0000
committerMark Kettenis <kettenis@cvs.openbsd.org>2006-12-30 09:38:29 +0000
commitc5fcea0fe674507e7b1a241ef1bf1ca62a5492ee (patch)
treefcf8515e7fdaf42957e20ef72f1de99bf4cdba21 /sys/dev/ic/re.c
parent8117da2105cf8345680f0d7babb667e689957a21 (diff)
Add flow control support.
ok brad@
Diffstat (limited to 'sys/dev/ic/re.c')
-rw-r--r--sys/dev/ic/re.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/ic/re.c b/sys/dev/ic/re.c
index 7402d9ec58c..26224ffb1e8 100644
--- a/sys/dev/ic/re.c
+++ b/sys/dev/ic/re.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: re.c,v 1.60 2006/12/21 05:15:06 drahn Exp $ */
+/* $OpenBSD: re.c,v 1.61 2006/12/30 09:38:28 kettenis Exp $ */
/* $FreeBSD: if_re.c,v 1.31 2004/09/04 07:54:05 ru Exp $ */
/*
* Copyright (c) 1997, 1998-2003
@@ -1001,7 +1001,7 @@ re_attach(struct rl_softc *sc, const char *intrstr)
ifmedia_init(&sc->sc_mii.mii_media, IFM_IMASK, re_ifmedia_upd,
re_ifmedia_sts);
mii_attach(&sc->sc_dev, &sc->sc_mii, 0xffffffff, MII_PHY_ANY,
- MII_OFFSET_ANY, 0);
+ MII_OFFSET_ANY, MIIF_DOPAUSE);
if (LIST_FIRST(&sc->sc_mii.mii_phys) == NULL) {
printf("%s: no PHY found!\n", sc->sc_dev.dv_xname);
ifmedia_add(&sc->sc_mii.mii_media,