diff options
author | Dale Rahn <drahn@cvs.openbsd.org> | 2005-01-04 02:08:42 +0000 |
---|---|---|
committer | Dale Rahn <drahn@cvs.openbsd.org> | 2005-01-04 02:08:42 +0000 |
commit | cf709d84469ff2887d6420fcbda81e062f173e2e (patch) | |
tree | 8635359dbe05c60d3f9474074fbd6a8e59661b31 /sys/arch/arm/sa11x0 | |
parent | 3a600ea67e25e6b4229ec7bbfbda1b63e5f027df (diff) |
Add name argument to pxa2x0_intr_establish, which is standard for openbsd
interrupt handling.
Diffstat (limited to 'sys/arch/arm/sa11x0')
-rw-r--r-- | sys/arch/arm/sa11x0/sa11x0_ost.c | 6 | ||||
-rw-r--r-- | sys/arch/arm/sa11x0/sa11x0_var.h | 4 |
2 files changed, 5 insertions, 5 deletions
diff --git a/sys/arch/arm/sa11x0/sa11x0_ost.c b/sys/arch/arm/sa11x0/sa11x0_ost.c index c2baeba78fa..f84afe10675 100644 --- a/sys/arch/arm/sa11x0/sa11x0_ost.c +++ b/sys/arch/arm/sa11x0/sa11x0_ost.c @@ -1,4 +1,4 @@ -/* $OpenBSD: sa11x0_ost.c,v 1.2 2005/01/02 19:52:36 drahn Exp $ */ +/* $OpenBSD: sa11x0_ost.c,v 1.3 2005/01/04 02:08:41 drahn Exp $ */ /* $NetBSD: sa11x0_ost.c,v 1.11 2003/07/15 00:24:51 lukem Exp $ */ /* @@ -252,8 +252,8 @@ cpu_initclocks() saost_sc->sc_clock_count = TIMER_FREQUENCY / hz; saost_sc->sc_statclock_count = TIMER_FREQUENCY / stathz; - sa11x0_intr_establish(0, 26, 1, IPL_CLOCK, clockintr, 0); - sa11x0_intr_establish(0, 27, 1, IPL_CLOCK, statintr, 0); + sa11x0_intr_establish(0, 26, 1, IPL_CLOCK, clockintr, 0, "clock"); + sa11x0_intr_establish(0, 27, 1, IPL_CLOCK, statintr, 0, "stat"); bus_space_write_4(saost_sc->sc_iot, saost_sc->sc_ioh, SAOST_SR, 0xf); bus_space_write_4(saost_sc->sc_iot, saost_sc->sc_ioh, SAOST_IR, 3); diff --git a/sys/arch/arm/sa11x0/sa11x0_var.h b/sys/arch/arm/sa11x0/sa11x0_var.h index eb536769c22..ed2434ba808 100644 --- a/sys/arch/arm/sa11x0/sa11x0_var.h +++ b/sys/arch/arm/sa11x0/sa11x0_var.h @@ -1,4 +1,4 @@ -/* $OpenBSD: sa11x0_var.h,v 1.2 2005/01/02 19:52:36 drahn Exp $ */ +/* $OpenBSD: sa11x0_var.h,v 1.3 2005/01/04 02:08:41 drahn Exp $ */ /* $NetBSD: sa11x0_var.h,v 1.4 2003/04/14 14:18:41 rjs Exp $ */ /*- @@ -71,7 +71,7 @@ struct sa11x0_attach_args { }; void *sa11x0_intr_establish(sa11x0_chipset_tag_t, int, int, int, - int (*)(void *), void *); + int (*)(void *), void *, char *); void sa11x0_intr_disestablish(sa11x0_chipset_tag_t, void *); #endif /* _SA11X0_VAR_H */ |