Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/arm26/ioc Update ioeb_irq_clear to match its caller.
details: https://anonhg.NetBSD.org/src/rev/eb8e4a1050e1
branches: trunk
changeset: 503570:eb8e4a1050e1
user: bjh21 <bjh21%NetBSD.org@localhost>
date: Thu Feb 08 22:21:24 2001 +0000
description:
Update ioeb_irq_clear to match its caller.
diffstat:
sys/arch/arm26/ioc/ioeb.c | 8 ++++----
sys/arch/arm26/ioc/ioebvar.h | 4 ++--
2 files changed, 6 insertions(+), 6 deletions(-)
diffs (48 lines):
diff -r 3243ef9d64c3 -r eb8e4a1050e1 sys/arch/arm26/ioc/ioeb.c
--- a/sys/arch/arm26/ioc/ioeb.c Thu Feb 08 20:54:50 2001 +0000
+++ b/sys/arch/arm26/ioc/ioeb.c Thu Feb 08 22:21:24 2001 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: ioeb.c,v 1.4 2001/01/23 23:58:32 bjh21 Exp $ */
+/* $NetBSD: ioeb.c,v 1.5 2001/02/08 22:21:24 bjh21 Exp $ */
/*-
* Copyright (c) 2000 Ben Harris
@@ -30,7 +30,7 @@
#include <sys/param.h>
-__KERNEL_RCSID(0, "$NetBSD: ioeb.c,v 1.4 2001/01/23 23:58:32 bjh21 Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ioeb.c,v 1.5 2001/02/08 22:21:24 bjh21 Exp $");
#include <sys/device.h>
#include <sys/systm.h>
@@ -87,9 +87,9 @@
}
void
-ioeb_irq_clear(struct device *self, int mask)
+ioeb_irq_clear(int mask)
{
- struct ioeb_softc *sc = (void *)self;
+ struct ioeb_softc *sc = (void *)the_ioeb;
/* The IOEB only controls interrupt 0 */
if (mask & IOEB_IRQ_CLEARABLE_MASK)
diff -r 3243ef9d64c3 -r eb8e4a1050e1 sys/arch/arm26/ioc/ioebvar.h
--- a/sys/arch/arm26/ioc/ioebvar.h Thu Feb 08 20:54:50 2001 +0000
+++ b/sys/arch/arm26/ioc/ioebvar.h Thu Feb 08 22:21:24 2001 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: ioebvar.h,v 1.2 2001/01/23 23:58:32 bjh21 Exp $ */
+/* $NetBSD: ioebvar.h,v 1.3 2001/02/08 22:21:25 bjh21 Exp $ */
/*-
* Copyright (c) 2000 Ben Harris
@@ -33,7 +33,7 @@
#define IOEB_IRQ_CLEARABLE_MASK 0x0001
-extern void ioeb_irq_clear(struct device *self, int mask);
+extern void ioeb_irq_clear(int mask);
extern struct device *the_ioeb;
#endif
Home |
Main Index |
Thread Index |
Old Index