summaryrefslogtreecommitdiff
path: root/sys/dev/pcmcia/if_ray.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_ray.c
parent505fe399f123db9a1f35ae87c7ec9f36d7df2526 (diff)
Do not unmap CCR before using them for the last time
Diffstat (limited to 'sys/dev/pcmcia/if_ray.c')
-rw-r--r--sys/dev/pcmcia/if_ray.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/pcmcia/if_ray.c b/sys/dev/pcmcia/if_ray.c
index 42f6e91b899..215f6aa7deb 100644
--- a/sys/dev/pcmcia/if_ray.c
+++ b/sys/dev/pcmcia/if_ray.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_ray.c,v 1.2 2000/03/23 20:02:57 mickey Exp $ */
+/* $OpenBSD: if_ray.c,v 1.3 2000/04/24 19:43:35 niklas Exp $ */
/* $NetBSD: if_ray.c,v 1.17 2000/03/23 07:01:42 thorpej Exp $ */
/*
@@ -742,8 +742,8 @@ ray_activate(dev, act)
#ifdef __NetBSD__
if_deactivate(ifp);
#elif defined(__OpenBSD__)
- pcmcia_function_disable(sc->sc_pf);
pcmcia_intr_disestablish(sc->sc_pf, sc->sc_ih);
+ pcmcia_function_disable(sc->sc_pf);
#endif
break;
}