summaryrefslogtreecommitdiff
path: root/sys/dev/pci/if_re_pci.c
diff options
context:
space:
mode:
authorBrad Smith <brad@cvs.openbsd.org>2014-10-24 23:30:06 +0000
committerBrad Smith <brad@cvs.openbsd.org>2014-10-24 23:30:06 +0000
commitc1adabf15d8030a7c4d0e5248539656c2566405e (patch)
tree7c161b2e998e255b13c0dcc140939eac91d18274 /sys/dev/pci/if_re_pci.c
parentbc1c0bfe5f0e3730f8b2aef70421d4a554677026 (diff)
Always put controller into known state before device intialization.
From FreeBSD ok sthen@ chris@
Diffstat (limited to 'sys/dev/pci/if_re_pci.c')
-rw-r--r--sys/dev/pci/if_re_pci.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/dev/pci/if_re_pci.c b/sys/dev/pci/if_re_pci.c
index 9b7f8b594cb..2cee64ba592 100644
--- a/sys/dev/pci/if_re_pci.c
+++ b/sys/dev/pci/if_re_pci.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_re_pci.c,v 1.42 2014/09/06 04:46:58 brad Exp $ */
+/* $OpenBSD: if_re_pci.c,v 1.43 2014/10/24 23:30:05 brad Exp $ */
/*
* Copyright (c) 2005 Peter Valchev <pvalchev@openbsd.org>
@@ -248,7 +248,6 @@ re_pci_activate(struct device *self, int act)
re_stop(ifp);
break;
case DVACT_RESUME:
- re_reset(sc);
if (ifp->if_flags & IFF_UP)
re_init(ifp);
break;