diff options
author | Brad Smith <brad@cvs.openbsd.org> | 2006-05-01 01:31:49 +0000 |
---|---|---|
committer | Brad Smith <brad@cvs.openbsd.org> | 2006-05-01 01:31:49 +0000 |
commit | 30f302b32370013b8fd982e08070bbafb4e3bec5 (patch) | |
tree | 32dd46cd768ca8fb4def3accdb813cd01475df6e | |
parent | 36b55e42c5b605413f2d791e170f3b3478302175 (diff) |
always call xge_init() here, for the time being.
-rw-r--r-- | sys/dev/pci/if_xge.c | 5 |
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); |