summaryrefslogtreecommitdiff
path: root/sys/dev/pcmcia/if_malo.c
diff options
context:
space:
mode:
authorMatthew Dempsky <matthew@cvs.openbsd.org>2011-07-03 15:47:19 +0000
committerMatthew Dempsky <matthew@cvs.openbsd.org>2011-07-03 15:47:19 +0000
commitcf51fdce33cceb21f045884bd8ac674d82bb7fa5 (patch)
treead92547f0dfd94e3390a439ec1017fd1b84ca374 /sys/dev/pcmcia/if_malo.c
parent2c5191c2d7257540905a986a7260a29cf5424ae8 (diff)
Remove config_activate() and DVACT_ACTIVATE. PCMCIA's the only thing
that's ever used it, and it's long since been changed to use DVACT_{QUIESCE,SUSPEND,RESUME} instead. ok deraadt@, dlg@; miod@ also agreed with this idea when I brought it up a few weeks ago
Diffstat (limited to 'sys/dev/pcmcia/if_malo.c')
-rw-r--r--sys/dev/pcmcia/if_malo.c9
1 files changed, 1 insertions, 8 deletions
diff --git a/sys/dev/pcmcia/if_malo.c b/sys/dev/pcmcia/if_malo.c
index 23c5afa3121..199626cd7e6 100644
--- a/sys/dev/pcmcia/if_malo.c
+++ b/sys/dev/pcmcia/if_malo.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_malo.c,v 1.72 2011/04/07 15:30:16 miod Exp $ */
+/* $OpenBSD: if_malo.c,v 1.73 2011/07/03 15:47:17 matthew Exp $ */
/*
* Copyright (c) 2007 Marcus Glocker <mglocker@openbsd.org>
@@ -240,13 +240,6 @@ malo_pcmcia_activate(struct device *dev, int act)
struct ifnet *ifp = &ic->ic_if;
switch (act) {
- case DVACT_ACTIVATE:
- pcmcia_function_enable(psc->sc_pf);
- psc->sc_ih = pcmcia_intr_establish(psc->sc_pf, IPL_NET,
- cmalo_intr, sc, sc->sc_dev.dv_xname);
- workq_queue_task(NULL, &sc->sc_resume_wqt, 0,
- malo_pcmcia_resume, sc, NULL);
- break;
case DVACT_SUSPEND:
if ((sc->sc_flags & MALO_DEVICE_ATTACHED) &&
(ifp->if_flags & IFF_RUNNING))