Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/ic PR kern/46424
details: https://anonhg.NetBSD.org/src/rev/ef11f39ce6c1
branches: trunk
changeset: 779872:ef11f39ce6c1
user: jdc <jdc%NetBSD.org@localhost>
date: Sun Jun 24 09:37:28 2012 +0000
description:
PR kern/46424
Revert the part of revision 1.77 that altered the PHY attachment order.
diffstat:
sys/dev/ic/hme.c | 13 +++----------
1 files changed, 3 insertions(+), 10 deletions(-)
diffs (35 lines):
diff -r 9105fb19cd2d -r ef11f39ce6c1 sys/dev/ic/hme.c
--- a/sys/dev/ic/hme.c Sun Jun 24 08:39:39 2012 +0000
+++ b/sys/dev/ic/hme.c Sun Jun 24 09:37:28 2012 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: hme.c,v 1.87 2012/02/02 19:43:03 tls Exp $ */
+/* $NetBSD: hme.c,v 1.88 2012/06/24 09:37:28 jdc Exp $ */
/*-
* Copyright (c) 1999 The NetBSD Foundation, Inc.
@@ -34,7 +34,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: hme.c,v 1.87 2012/02/02 19:43:03 tls Exp $");
+__KERNEL_RCSID(0, "$NetBSD: hme.c,v 1.88 2012/06/24 09:37:28 jdc Exp $");
/* #define HMEDEBUG */
@@ -254,15 +254,8 @@
hme_mifinit(sc);
- /*
- * Some HME's have an MII connector, as well as RJ45. Try attaching
- * the RJ45 (internal) PHY first, so that the MII PHY is always
- * instance 1.
- */
mii_attach(sc->sc_dev, mii, 0xffffffff,
- HME_PHYAD_INTERNAL, MII_OFFSET_ANY, MIIF_FORCEANEG);
- mii_attach(sc->sc_dev, mii, 0xffffffff,
- HME_PHYAD_EXTERNAL, MII_OFFSET_ANY, MIIF_FORCEANEG);
+ MII_PHY_ANY, MII_OFFSET_ANY, MIIF_FORCEANEG);
child = LIST_FIRST(&mii->mii_phys);
if (child == NULL) {
Home |
Main Index |
Thread Index |
Old Index