Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/macppc/dev print out irq on unconf devices.



details:   https://anonhg.NetBSD.org/src/rev/e0139a002d96
branches:  trunk
changeset: 504304:e0139a002d96
user:      matt <matt%NetBSD.org@localhost>
date:      Tue Feb 27 03:47:02 2001 +0000

description:
print out irq on unconf devices.

diffstat:

 sys/arch/macppc/dev/obio.c |  5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diffs (18 lines):

diff -r 6dd18ae77e72 -r e0139a002d96 sys/arch/macppc/dev/obio.c
--- a/sys/arch/macppc/dev/obio.c        Tue Feb 27 02:57:02 2001 +0000
+++ b/sys/arch/macppc/dev/obio.c        Tue Feb 27 03:47:02 2001 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: obio.c,v 1.10 2000/11/03 12:20:55 tsubai Exp $ */
+/*     $NetBSD: obio.c,v 1.11 2001/02/27 03:47:02 matt Exp $   */
 
 /*-
  * Copyright (C) 1998  Internet Research Institute, Inc.
@@ -181,5 +181,8 @@
        if (ca->ca_nreg > 0)
                printf(" offset 0x%x", ca->ca_reg[0]);
 
+       if (ca->ca_nintr > 0)
+               printf(" irq %d", ca->ca_intr[0]);
+
        return UNCONF;
 }



Home | Main Index | Thread Index | Old Index