Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/i386/pci Allow the set of PCI irqs to be overridden.



details:   https://anonhg.NetBSD.org/src/rev/fb5b3abbacc8
branches:  trunk
changeset: 481289:fb5b3abbacc8
user:      augustss <augustss%NetBSD.org@localhost>
date:      Tue Jan 25 17:20:47 2000 +0000

description:
Allow the set of PCI irqs to be overridden.

diffstat:

 sys/arch/i386/pci/pci_intr_fixup.c |  7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)

diffs (21 lines):

diff -r 99296dee0174 -r fb5b3abbacc8 sys/arch/i386/pci/pci_intr_fixup.c
--- a/sys/arch/i386/pci/pci_intr_fixup.c        Tue Jan 25 17:07:56 2000 +0000
+++ b/sys/arch/i386/pci/pci_intr_fixup.c        Tue Jan 25 17:20:47 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: pci_intr_fixup.c,v 1.3 1999/12/13 15:42:05 uch Exp $   */
+/*     $NetBSD: pci_intr_fixup.c,v 1.4 2000/01/25 17:20:47 augustss Exp $      */
 
 /*-
  * Copyright (c) 1999 The NetBSD Foundation, Inc.
@@ -378,6 +378,11 @@
                }
        }
 
+#ifdef PCIBIOS_IRQS
+       /* In case the user supplied a mask for the PCI irqs we use it. */
+       pciirq = PCIBIOS_IRQS;
+#endif
+
        /*
         * Stage 2: Attempt to connect PIRQs which we didn't
         * connect in Stage 1.



Home | Main Index | Thread Index | Old Index