summaryrefslogtreecommitdiff
path: root/sys/dev/pcmcia/pcmcia.c
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>2005-01-27 17:03:25 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>2005-01-27 17:03:25 +0000
commit7b4677abf4abc2b0e1c8b1d23b4f711f4839f65c (patch)
treea873aec91b706115de534c5732ac00b9bf1dd03d /sys/dev/pcmcia/pcmcia.c
parent7ff5140d1641cb333749e5f6eea39ad4eb1ede09 (diff)
Add pcmcia_intr_string() to format the intr string for pcmcia attach
routines.
Diffstat (limited to 'sys/dev/pcmcia/pcmcia.c')
-rw-r--r--sys/dev/pcmcia/pcmcia.c10
1 files changed, 9 insertions, 1 deletions
diff --git a/sys/dev/pcmcia/pcmcia.c b/sys/dev/pcmcia/pcmcia.c
index 1ac0b049569..faa63d647cf 100644
--- a/sys/dev/pcmcia/pcmcia.c
+++ b/sys/dev/pcmcia/pcmcia.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: pcmcia.c,v 1.33 2002/11/19 18:36:18 jason Exp $ */
+/* $OpenBSD: pcmcia.c,v 1.34 2005/01/27 17:03:23 millert Exp $ */
/* $NetBSD: pcmcia.c,v 1.9 1998/08/13 02:10:55 eeh Exp $ */
/*
@@ -869,6 +869,14 @@ pcmcia_intr_disestablish(pf, ih)
pcmcia_chip_intr_disestablish(pf->sc->pct, pf->sc->pch, ih);
}
+const char *
+pcmcia_intr_string(pf, ih)
+ struct pcmcia_function *pf;
+ void *ih;
+{
+ return pcmcia_chip_intr_string(pf->sc->pct, pf->sc->pch, ih);
+}
+
int
pcmcia_card_intr(arg)
void *arg;