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/mtdphy.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/mtdphy.c')
-rw-r--r-- | sys/dev/mii/mtdphy.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/sys/dev/mii/mtdphy.c b/sys/dev/mii/mtdphy.c index c8a2684d8f8..b86b038e352 100644 --- a/sys/dev/mii/mtdphy.c +++ b/sys/dev/mii/mtdphy.c @@ -1,4 +1,4 @@ -/* $OpenBSD: mtdphy.c,v 1.12 2005/02/19 06:00:04 brad Exp $ */ +/* $OpenBSD: mtdphy.c,v 1.13 2013/12/28 03:30:41 deraadt Exp $ */ /* * Copyright (c) 1998, 1999 Jason L. Wright (jason@thought.net) @@ -49,8 +49,7 @@ int mtdphymatch(struct device *, void *, void *); void mtdphyattach(struct device *, struct device *, void *); struct cfattach mtdphy_ca = { - sizeof(struct mii_softc), mtdphymatch, mtdphyattach, mii_phy_detach, - mii_phy_activate + sizeof(struct mii_softc), mtdphymatch, mtdphyattach, mii_phy_detach }; struct cfdriver mtdphy_cd = { |