diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2013-12-28 03:35:02 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2013-12-28 03:35:02 +0000 |
commit | 296554f245d538f85433e04ad9d0bc2a00202913 (patch) | |
tree | 934098b639a536f6691397d6e581339aeae04f60 /sys/dev/pci/if_nfe.c | |
parent | 3158f5b9810d9538afa5260859a5eabbf5af0284 (diff) |
The few network drivers that called their children's (ie. mii PHY
drivers) activate functions at DVACT_RESUME time do not need to do
so, since their PHYs are repaired by IFF_UP.
Diffstat (limited to 'sys/dev/pci/if_nfe.c')
-rw-r--r-- | sys/dev/pci/if_nfe.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/dev/pci/if_nfe.c b/sys/dev/pci/if_nfe.c index aa77349fd03..40a33a0af11 100644 --- a/sys/dev/pci/if_nfe.c +++ b/sys/dev/pci/if_nfe.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_nfe.c,v 1.103 2013/12/06 21:03:04 deraadt Exp $ */ +/* $OpenBSD: if_nfe.c,v 1.104 2013/12/28 03:34:54 deraadt Exp $ */ /*- * Copyright (c) 2006, 2007 Damien Bergamini <damien.bergamini@free.fr> @@ -189,7 +189,6 @@ nfe_activate(struct device *self, int act) rv = config_activate_children(self, act); break; case DVACT_RESUME: - rv = config_activate_children(self, act); if (ifp->if_flags & IFF_UP) nfe_init(ifp); break; |