summaryrefslogtreecommitdiff
path: root/sys/dev/mii/atphy.c
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2013-12-28 03:30:42 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2013-12-28 03:30:42 +0000
commit3158f5b9810d9538afa5260859a5eabbf5af0284 (patch)
tree863b0bbdde54ce25b1f712f3f4d0a0b2589675ec /sys/dev/mii/atphy.c
parentc793bd7ca68b94034eae254d6ade483101248e61 (diff)
mii drivers no longer need activate functions. Repair of the PHY
configuration setting is done at resume time because all networks drivers which were previously up, do an IFF_UP operation which hits PHY_RESET. This was in snapshots for about 2 weeks.
Diffstat (limited to 'sys/dev/mii/atphy.c')
-rw-r--r--sys/dev/mii/atphy.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/mii/atphy.c b/sys/dev/mii/atphy.c
index 87c79b838f5..24429ba30c2 100644
--- a/sys/dev/mii/atphy.c
+++ b/sys/dev/mii/atphy.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: atphy.c,v 1.6 2011/06/17 09:59:52 kevlo Exp $ */
+/* $OpenBSD: atphy.c,v 1.7 2013/12/28 03:30:40 deraadt Exp $ */
/*-
* Copyright (c) 2008, Pyun YongHyeon <yongari@FreeBSD.org>
@@ -94,7 +94,7 @@ static const struct mii_phydesc atphys[] = {
struct cfattach atphy_ca = {
sizeof (struct mii_softc), atphy_match, atphy_attach,
- mii_phy_detach, mii_phy_activate
+ mii_phy_detach
};
struct cfdriver atphy_cd = {