summaryrefslogtreecommitdiff
path: root/sys/dev/mii/eephy.c
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@cvs.openbsd.org>2007-01-05 21:40:46 +0000
committerMark Kettenis <kettenis@cvs.openbsd.org>2007-01-05 21:40:46 +0000
commit5ae69bd4ec0afe22a6326d5e232fb847b30991ed (patch)
tree516b016d230bdd124dd06754261d363726907602 /sys/dev/mii/eephy.c
parent7bd5169b82f3de1e173581bfde0c6e22c6084885 (diff)
Now that all ethernet drivers that support flow control set MIIF_DOPAUSE,
stop doing it here. From brad@
Diffstat (limited to 'sys/dev/mii/eephy.c')
-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;