diff options
author | Brad Smith <brad@cvs.openbsd.org> | 2005-12-24 19:16:32 +0000 |
---|---|---|
committer | Brad Smith <brad@cvs.openbsd.org> | 2005-12-24 19:16:32 +0000 |
commit | 17d6421361220b250ec70de24f5a111e404d2eb8 (patch) | |
tree | 188389445e463baf90e54a582ec3174835f97b1c /sys/dev | |
parent | 2b13d70f1a07f04c738b10a08c370ae26e34563e (diff) |
clear RUNNING here to do a full init.
Diffstat (limited to 'sys/dev')
-rw-r--r-- | sys/dev/pci/if_lge.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/dev/pci/if_lge.c b/sys/dev/pci/if_lge.c index 700f5d519a9..ef146e13751 100644 --- a/sys/dev/pci/if_lge.c +++ b/sys/dev/pci/if_lge.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_lge.c,v 1.35 2005/11/23 11:30:14 mickey Exp $ */ +/* $OpenBSD: if_lge.c,v 1.36 2005/12/24 19:16:31 brad Exp $ */ /* * Copyright (c) 2001 Wind River Systems * Copyright (c) 1997, 1998, 1999, 2000, 2001 @@ -1436,6 +1436,7 @@ lge_ioctl(struct ifnet *ifp, u_long command, caddr_t data) CSR_WRITE_4(sc, LGE_MODE1, LGE_MODE1_RX_PROMISC); } else { + ifp->if_flags &= ~IFF_RUNNING; lge_init(sc); } } else { |