summaryrefslogtreecommitdiffstats
path: root/sys/dev/ep
diff options
context:
space:
mode:
authormdodd <mdodd@FreeBSD.org>2000-03-13 11:48:03 +0000
committermdodd <mdodd@FreeBSD.org>2000-03-13 11:48:03 +0000
commitf36cfb3d60b98d28a6b8a08569c620e979d67ef2 (patch)
tree9fe7b7447983c55cef16521bbb8ebce05bb2f95a /sys/dev/ep
parentbb0b17192ee29552cb3a00de6e866254f02ab3a9 (diff)
downloadFreeBSD-src-f36cfb3d60b98d28a6b8a08569c620e979d67ef2.zip
FreeBSD-src-f36cfb3d60b98d28a6b8a08569c620e979d67ef2.tar.gz
Call epstop() in ep_attach(). While this shouldn't be necessary we'll
do it just in case. (Actually, with PCMCIA cards we can get in a state where it may be required.)
Diffstat (limited to 'sys/dev/ep')
-rw-r--r--sys/dev/ep/if_ep.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/dev/ep/if_ep.c b/sys/dev/ep/if_ep.c
index de0dd28..f5f4772 100644
--- a/sys/dev/ep/if_ep.c
+++ b/sys/dev/ep/if_ep.c
@@ -331,6 +331,8 @@ ep_attach(sc)
EP_FSET(sc, F_RX_FIRST);
sc->top = sc->mcur = 0;
+ epstop(sc);
+
return 0;
}
OpenPOWER on IntegriCloud