summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNathan Binkert <nate@cvs.openbsd.org>2001-10-05 18:29:16 +0000
committerNathan Binkert <nate@cvs.openbsd.org>2001-10-05 18:29:16 +0000
commitb113e138bac39afd8f1cb22711019c433bf279ed (patch)
treef7cf3c27919d6a0f5ae726ad3c80e50a8c4c6297
parentde5fe176f03542ed799c88839ae0f6c9d636057c (diff)
Remove modes that should be autodetected
-rw-r--r--sys/dev/mii/nsgphy.c15
1 files changed, 1 insertions, 14 deletions
diff --git a/sys/dev/mii/nsgphy.c b/sys/dev/mii/nsgphy.c
index 854c6acd2af..a2a599fe5f6 100644
--- a/sys/dev/mii/nsgphy.c
+++ b/sys/dev/mii/nsgphy.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: nsgphy.c,v 1.5 2001/10/05 18:26:48 nate Exp $ */
+/* $OpenBSD: nsgphy.c,v 1.6 2001/10/05 18:29:15 nate Exp $ */
/*
* Copyright (c) 2001 Wind River Systems
* Copyright (c) 2001
@@ -147,19 +147,6 @@ nsgphyattach(parent, self, aux)
printf(", pre-C5 BCM5400 compat enabled");
printf("\n");
#endif
-
-#define ADD(m, c) ifmedia_add(&mii->mii_media, (m), (c), NULL)
-
- ADD(IFM_MAKEWORD(IFM_ETHER, IFM_NONE, 0, sc->mii_inst),
- BMCR_ISO);
- ADD(IFM_MAKEWORD(IFM_ETHER, IFM_1000_TX, 0, sc->mii_inst),
- NSGPHY_S1000);
- ADD(IFM_MAKEWORD(IFM_ETHER, IFM_1000_TX, IFM_FDX, sc->mii_inst),
- NSGPHY_S1000|NSGPHY_BMCR_FDX);
- ADD(IFM_MAKEWORD(IFM_ETHER, IFM_100_TX, IFM_LOOP,
- sc->mii_inst), BMCR_LOOP|BMCR_S100);
-
-#undef ADD
}
int