diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2013-12-28 03:30:42 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2013-12-28 03:30:42 +0000 |
commit | 3158f5b9810d9538afa5260859a5eabbf5af0284 (patch) | |
tree | 863b0bbdde54ce25b1f712f3f4d0a0b2589675ec /sys/dev/mii/xmphy.c | |
parent | c793bd7ca68b94034eae254d6ade483101248e61 (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/xmphy.c')
-rw-r--r-- | sys/dev/mii/xmphy.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/sys/dev/mii/xmphy.c b/sys/dev/mii/xmphy.c index 69812fbfb57..051a2ab3fc5 100644 --- a/sys/dev/mii/xmphy.c +++ b/sys/dev/mii/xmphy.c @@ -1,4 +1,4 @@ -/* $OpenBSD: xmphy.c,v 1.19 2013/05/28 09:46:06 mikeb Exp $ */ +/* $OpenBSD: xmphy.c,v 1.20 2013/12/28 03:30:41 deraadt Exp $ */ /* * Copyright (c) 2000 @@ -60,8 +60,7 @@ int xmphy_probe(struct device *, void *, void *); void xmphy_attach(struct device *, struct device *, void *); struct cfattach xmphy_ca = { - sizeof(struct mii_softc), xmphy_probe, xmphy_attach, mii_phy_detach, - mii_phy_activate + sizeof(struct mii_softc), xmphy_probe, xmphy_attach, mii_phy_detach }; struct cfdriver xmphy_cd = { |