summaryrefslogtreecommitdiff
path: root/sys/dev/pcmcia/if_an_pcmcia.c
diff options
context:
space:
mode:
authorNiklas Hallqvist <niklas@cvs.openbsd.org>2000-04-24 19:43:37 +0000
committerNiklas Hallqvist <niklas@cvs.openbsd.org>2000-04-24 19:43:37 +0000
commit70d2f3114d51aceb11c24356f5d49bb834e433bf (patch)
treede625cd7c646cb527960d788580648a870cf43c8 /sys/dev/pcmcia/if_an_pcmcia.c
parent505fe399f123db9a1f35ae87c7ec9f36d7df2526 (diff)
Do not unmap CCR before using them for the last time
Diffstat (limited to 'sys/dev/pcmcia/if_an_pcmcia.c')
-rw-r--r--sys/dev/pcmcia/if_an_pcmcia.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/pcmcia/if_an_pcmcia.c b/sys/dev/pcmcia/if_an_pcmcia.c
index 52f26a9a29b..0a8644ee118 100644
--- a/sys/dev/pcmcia/if_an_pcmcia.c
+++ b/sys/dev/pcmcia/if_an_pcmcia.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_an_pcmcia.c,v 1.1 2000/04/03 01:02:00 mickey Exp $ */
+/* $OpenBSD: if_an_pcmcia.c,v 1.2 2000/04/24 19:43:35 niklas Exp $ */
/*
* Copyright (c) 1999 Michael Shalayeff
@@ -188,8 +188,8 @@ an_pcmcia_activate(dev, act)
ifp->if_timer = 0;
if (ifp->if_flags & IFF_RUNNING)
an_stop(sc);
- pcmcia_function_disable(psc->sc_pf);
pcmcia_intr_disestablish(psc->sc_pf, sc->sc_ih);
+ pcmcia_function_disable(psc->sc_pf);
break;
}