diff options
author | Brad Smith <brad@cvs.openbsd.org> | 2008-09-08 07:50:16 +0000 |
---|---|---|
committer | Brad Smith <brad@cvs.openbsd.org> | 2008-09-08 07:50:16 +0000 |
commit | 944b4292b4cde8d9db6b9db3cd894b58716c6594 (patch) | |
tree | 6788c1a79ae5f1cbb5572fff2ed8c5f31eb3fe14 /sys | |
parent | cc7af6d6f392fc0f3edd65a1d55a0600aaa52299 (diff) |
remove some useless comments.
Diffstat (limited to 'sys')
-rw-r--r-- | sys/dev/mii/tqphy.c | 5 | ||||
-rw-r--r-- | sys/dev/mii/urlphy.c | 7 |
2 files changed, 3 insertions, 9 deletions
diff --git a/sys/dev/mii/tqphy.c b/sys/dev/mii/tqphy.c index 233f8bc9fec..e61545aa88d 100644 --- a/sys/dev/mii/tqphy.c +++ b/sys/dev/mii/tqphy.c @@ -1,4 +1,4 @@ -/* $OpenBSD: tqphy.c,v 1.12 2008/06/26 05:42:16 ray Exp $ */ +/* $OpenBSD: tqphy.c,v 1.13 2008/09/08 07:50:15 brad Exp $ */ /* $NetBSD: tqphy.c,v 1.9 2000/02/02 23:34:57 thorpej Exp $ */ /* @@ -137,9 +137,6 @@ tqphyattach(struct device *parent, struct device *self, void *aux) sc->mii_pdata = mii; sc->mii_flags = ma->mii_flags; - /* - * Apparently, we can't do loopback on this PHY. - */ sc->mii_flags |= MIIF_NOLOOP; PHY_RESET(sc); diff --git a/sys/dev/mii/urlphy.c b/sys/dev/mii/urlphy.c index ff4048b0681..09df2bd7ccc 100644 --- a/sys/dev/mii/urlphy.c +++ b/sys/dev/mii/urlphy.c @@ -1,4 +1,4 @@ -/* $OpenBSD: urlphy.c,v 1.12 2006/12/27 19:11:09 kettenis Exp $ */ +/* $OpenBSD: urlphy.c,v 1.13 2008/09/08 07:50:15 brad Exp $ */ /* $NetBSD: urlphy.c,v 1.1 2002/03/28 21:07:53 ichiro Exp $ */ /* * Copyright (c) 2001, 2002 @@ -116,10 +116,7 @@ urlphy_attach(struct device *parent, struct device *self, void *aux) sc->mii_flags = ma->mii_flags; sc->mii_anegticks = MII_ANEGTICKS_GIGE; - /* Don't do loopback on this PHY. */ - sc->mii_flags |= MIIF_NOLOOP; - /* Don't do isolate on this PHY. */ - sc->mii_flags |= MIIF_NOISOLATE; + sc->mii_flags |= MIIF_NOISOLATE | MIIF_NOLOOP; if (mii->mii_instance != 0) { printf("%s: ignoring this PHY, non-zero instance\n", |