summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkettenis <kettenis@openbsd.org>2007-01-05 21:40:45 +0000
committerkettenis <kettenis@openbsd.org>2007-01-05 21:40:45 +0000
commit444e0593317cc36935e3a5882f2d9473193c7a47 (patch)
tree3b8d449980ef2eab3a35148726bdd2d81968cc64
parentFor Yukon-based cards, pass MIIF_DOPAUSE to mii_attach(). (diff)
downloadwireguard-openbsd-444e0593317cc36935e3a5882f2d9473193c7a47.tar.xz
wireguard-openbsd-444e0593317cc36935e3a5882f2d9473193c7a47.zip
Now that all ethernet drivers that support flow control set MIIF_DOPAUSE,
stop doing it here. From brad@
-rw-r--r--sys/dev/mii/eephy.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/sys/dev/mii/eephy.c b/sys/dev/mii/eephy.c
index 0c83254ff3b..20910a6bbab 100644
--- a/sys/dev/mii/eephy.c
+++ b/sys/dev/mii/eephy.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: eephy.c,v 1.38 2006/12/30 20:37:46 kettenis Exp $ */
+/* $OpenBSD: eephy.c,v 1.39 2007/01/05 21:40:45 kettenis Exp $ */
/*
* Principal Author: Parag Patel
* Copyright (c) 2001
@@ -145,12 +145,6 @@ eephyattach(struct device *parent, struct device *self, void *aux)
sc->mii_pdata = mii;
sc->mii_flags = ma->mii_flags;
- /*
- * XXX really should be passed by the network controller
- * driver, since the MAC might not support it.
- */
- sc->mii_flags |= MIIF_DOPAUSE;
-
/* XXX No loopback support yet, although the hardware can do it. */
sc->mii_flags |= MIIF_NOLOOP;