summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrad Smith <brad@cvs.openbsd.org>2006-05-01 01:31:49 +0000
committerBrad Smith <brad@cvs.openbsd.org>2006-05-01 01:31:49 +0000
commit30f302b32370013b8fd982e08070bbafb4e3bec5 (patch)
tree32dd46cd768ca8fb4def3accdb813cd01475df6e
parent36b55e42c5b605413f2d791e170f3b3478302175 (diff)
always call xge_init() here, for the time being.
-rw-r--r--sys/dev/pci/if_xge.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/sys/dev/pci/if_xge.c b/sys/dev/pci/if_xge.c
index 1bb163d2c09..5a2cff63ff5 100644
--- a/sys/dev/pci/if_xge.c
+++ b/sys/dev/pci/if_xge.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_xge.c,v 1.2 2006/05/01 01:11:49 brad Exp $ */
+/* $OpenBSD: if_xge.c,v 1.3 2006/05/01 01:31:48 brad Exp $ */
/* $NetBSD: if_xge.c,v 1.1 2005/09/09 10:30:27 ragge Exp $ */
/*
@@ -858,8 +858,7 @@ xge_ioctl(struct ifnet *ifp, u_long cmd, caddr_t data)
* such as IFF_PROMISC are handled.
*/
if (ifp->if_flags & IFF_UP) {
- if (!(ifp->if_flags & IFF_RUNNING))
- xge_init(ifp);
+ xge_init(ifp);
} else {
if (ifp->if_flags & IFF_RUNNING)
xge_stop(ifp, 0);