Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/sparc64/dev add a note about US IIi and PCI_INTERRU...



details:   https://anonhg.NetBSD.org/src/rev/274caf9f06d4
branches:  trunk
changeset: 486258:274caf9f06d4
user:      mrg <mrg%NetBSD.org@localhost>
date:      Wed May 17 09:25:58 2000 +0000

description:
add a note about US IIi and PCI_INTERRUPT_LINE register

diffstat:

 sys/arch/sparc64/dev/pci_machdep.c |  10 ++++++++--
 1 files changed, 8 insertions(+), 2 deletions(-)

diffs (30 lines):

diff -r 22ca81aae1d7 -r 274caf9f06d4 sys/arch/sparc64/dev/pci_machdep.c
--- a/sys/arch/sparc64/dev/pci_machdep.c        Wed May 17 09:25:27 2000 +0000
+++ b/sys/arch/sparc64/dev/pci_machdep.c        Wed May 17 09:25:58 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: pci_machdep.c,v 1.5 2000/04/08 04:33:10 mrg Exp $      */
+/*     $NetBSD: pci_machdep.c,v 1.6 2000/05/17 09:25:58 mrg Exp $      */
 
 /*
  * Copyright (c) 1999, 2000 Matthew R. Green
@@ -374,13 +374,19 @@
 {
        int rv;
 
+       /*
+        * XXX
+        * UltraSPARC IIi PCI does not use PCI_INTERRUPT_REG, but we have
+        * used this space for our own purposes...
+        */
        DPRINTF(SPDB_INTR, ("pci_intr_map: tag %lx; pin %d; line %d", (long)tag, pin, line));
-       
+#if 1
        if (line == 255) {
                *ihp = -1;
                rv = 1;
                goto out;
        }
+#endif
        if (pin > 4)
                panic("pci_intr_map: pin > 4");
 



Home | Main Index | Thread Index | Old Index