summaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/pcmcia/com_pcmcia.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/pcmcia/com_pcmcia.c b/sys/dev/pcmcia/com_pcmcia.c
index 59434122260..caaba897ef2 100644
--- a/sys/dev/pcmcia/com_pcmcia.c
+++ b/sys/dev/pcmcia/com_pcmcia.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: com_pcmcia.c,v 1.13 1999/07/26 05:43:15 deraadt Exp $ */
+/* $OpenBSD: com_pcmcia.c,v 1.14 1999/07/26 06:15:42 fgsch Exp $ */
/* $NetBSD: com_pcmcia.c,v 1.15 1998/08/22 17:47:58 msaitoh Exp $ */
/*-
@@ -304,14 +304,14 @@ found:
com_attach_subr(sc);
#endif
- com_attach(sc);
-
/* establish the interrupt. */
psc->sc_ih = pcmcia_intr_establish(pa->pf, IPL_TTY, comintr, sc);
if (psc->sc_ih == NULL)
printf("%s: couldn't establish interrupt\n",
sc->sc_dev.dv_xname);
+ com_attach(sc);
+
#ifdef notyet
sc->enabled = 0;