Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/arm26/iobus Grotty hack to attach names to interrupts.



details:   https://anonhg.NetBSD.org/src/rev/e3720727fdc4
branches:  trunk
changeset: 502091:e3720727fdc4
user:      bjh21 <bjh21%NetBSD.org@localhost>
date:      Thu Jan 11 14:56:07 2001 +0000

description:
Grotty hack to attach names to interrupts.
Should be fixed when I next overhaul this code.

diffstat:

 sys/arch/arm26/iobus/upc_iobus.c |  12 ++++++------
 1 files changed, 6 insertions(+), 6 deletions(-)

diffs (35 lines):

diff -r abfa314b8b44 -r e3720727fdc4 sys/arch/arm26/iobus/upc_iobus.c
--- a/sys/arch/arm26/iobus/upc_iobus.c  Thu Jan 11 14:38:58 2001 +0000
+++ b/sys/arch/arm26/iobus/upc_iobus.c  Thu Jan 11 14:56:07 2001 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: upc_iobus.c,v 1.2 2000/08/23 17:28:51 bjh21 Exp $ */
+/* $NetBSD: upc_iobus.c,v 1.3 2001/01/11 14:56:07 bjh21 Exp $ */
 /*-
  * Copyright (c) 2000 Ben Harris
  * All rights reserved.
@@ -32,7 +32,7 @@
 
 #include <sys/param.h>
 
-__RCSID("$NetBSD: upc_iobus.c,v 1.2 2000/08/23 17:28:51 bjh21 Exp $");
+__RCSID("$NetBSD: upc_iobus.c,v 1.3 2001/01/11 14:56:07 bjh21 Exp $");
 
 #include <sys/device.h>
 
@@ -92,12 +92,12 @@
        upc_attach(upc);
 
        irq_establish(IOC_IRQ_IL2, upc->sc_irq4.uih_level,
-                     upc->sc_irq4.uih_func, upc->sc_irq4.uih_arg);
+           upc->sc_irq4.uih_func, upc->sc_irq4.uih_arg, "upc(irq4)");
        irq_establish(IOC_IRQ_IL3, upc->sc_wintr.uih_level,
-                     upc->sc_wintr.uih_func, upc->sc_wintr.uih_arg);
+           upc->sc_wintr.uih_func, upc->sc_wintr.uih_arg, "upc(wintr)");
        irq_establish(IOC_IRQ_IL4, upc->sc_fintr.uih_level,
-                     upc->sc_fintr.uih_func, upc->sc_fintr.uih_arg);
+           upc->sc_fintr.uih_func, upc->sc_fintr.uih_arg, "upc(fintr)");
        irq_establish(IOC_IRQ_IL6, upc->sc_pintr.uih_level,
-                     upc->sc_pintr.uih_func, upc->sc_pintr.uih_arg);
+           upc->sc_pintr.uih_func, upc->sc_pintr.uih_arg, "upc(pintr)");
        /* IRQ3 on the 82C71x is not connected */
 }



Home | Main Index | Thread Index | Old Index