From 7b4677abf4abc2b0e1c8b1d23b4f711f4839f65c Mon Sep 17 00:00:00 2001 From: "Todd C. Miller" Date: Thu, 27 Jan 2005 17:03:25 +0000 Subject: Add pcmcia_intr_string() to format the intr string for pcmcia attach routines. --- sys/dev/pcmcia/pcmcia.c | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'sys/dev/pcmcia/pcmcia.c') 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; -- cgit v1.2.3