diff options
author | Michael Knudsen <mk@cvs.openbsd.org> | 2009-08-22 02:54:52 +0000 |
---|---|---|
committer | Michael Knudsen <mk@cvs.openbsd.org> | 2009-08-22 02:54:52 +0000 |
commit | 06e29584d413606b21c240635e12d7500b385ae5 (patch) | |
tree | 5e6f8a395a9c0030fc223059bb7a1b39529330c5 /sys/arch/i386/isa | |
parent | c647754eb2c6d41408fe754bf7167383562e01b1 (diff) |
Constify the what/name parameter of pci_intr_establish().
Tested by myself, sthen, oga, kettenis, and jasper.
Input from sthen and jasper.
ok kettenis
(Manpage follows shortly.)
Diffstat (limited to 'sys/arch/i386/isa')
-rw-r--r-- | sys/arch/i386/isa/isa_machdep.c | 4 | ||||
-rw-r--r-- | sys/arch/i386/isa/isa_machdep.h | 5 |
2 files changed, 5 insertions, 4 deletions
diff --git a/sys/arch/i386/isa/isa_machdep.c b/sys/arch/i386/isa/isa_machdep.c index 45ac6a62375..e3ac008cd7e 100644 --- a/sys/arch/i386/isa/isa_machdep.c +++ b/sys/arch/i386/isa/isa_machdep.c @@ -1,4 +1,4 @@ -/* $OpenBSD: isa_machdep.c,v 1.67 2009/03/10 15:03:17 oga Exp $ */ +/* $OpenBSD: isa_machdep.c,v 1.68 2009/08/22 02:54:50 mk Exp $ */ /* $NetBSD: isa_machdep.c,v 1.22 1997/06/12 23:57:32 thorpej Exp $ */ /*- @@ -463,7 +463,7 @@ isa_intr_check(isa_chipset_tag_t ic, int irq, int type) */ void * isa_intr_establish(isa_chipset_tag_t ic, int irq, int type, int level, - int (*ih_fun)(void *), void *ih_arg, char *ih_what) + int (*ih_fun)(void *), void *ih_arg, const char *ih_what) { struct intrhand **p, *q, *ih; static struct intrhand fakehand = {fakeintr}; diff --git a/sys/arch/i386/isa/isa_machdep.h b/sys/arch/i386/isa/isa_machdep.h index 6f3e04cb27e..10c246610ea 100644 --- a/sys/arch/i386/isa/isa_machdep.h +++ b/sys/arch/i386/isa/isa_machdep.h @@ -1,4 +1,4 @@ -/* $OpenBSD: isa_machdep.h,v 1.24 2008/12/11 17:07:14 oga Exp $ */ +/* $OpenBSD: isa_machdep.h,v 1.25 2009/08/22 02:54:50 mk Exp $ */ /* $NetBSD: isa_machdep.h,v 1.7 1997/06/06 23:28:42 thorpej Exp $ */ /*- @@ -104,7 +104,8 @@ void isa_attach_hook(struct device *, struct device *, int isa_intr_alloc(isa_chipset_tag_t, int, int, int *); int isa_intr_check(isa_chipset_tag_t, int, int); void *isa_intr_establish(isa_chipset_tag_t ic, int irq, int type, - int level, int (*ih_fun)(void *), void *ih_arg, char *ih_what); + int level, int (*ih_fun)(void *), void *ih_arg, + const char *ih_what); void isa_intr_disestablish(isa_chipset_tag_t ic, void *handler); /* |