Source-Changes-HG archive

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

[src/netbsd-1-5]: src/sys/arch/i386/pci Approved by thorpej:



details:   https://anonhg.NetBSD.org/src/rev/192ab2dc7625
branches:  netbsd-1-5
changeset: 488767:192ab2dc7625
user:      mycroft <mycroft%NetBSD.org@localhost>
date:      Thu Jul 27 02:13:44 2000 +0000

description:
Approved by thorpej:
Do interrupt fixup for all busses, not just bus 0.  (There may be onboard
devices at other bus numbers, particularly on a machine with multiple primary
busses.)

syssrc/sys/arch/i386/pci/pci_intr_fixup.c               1.5 -> 1.6

diffstat:

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

diffs (18 lines):

diff -r 9306087329a1 -r 192ab2dc7625 sys/arch/i386/pci/pci_intr_fixup.c
--- a/sys/arch/i386/pci/pci_intr_fixup.c        Thu Jul 27 02:10:45 2000 +0000
+++ b/sys/arch/i386/pci/pci_intr_fixup.c        Thu Jul 27 02:13:44 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: pci_intr_fixup.c,v 1.5 2000/04/28 17:15:15 uch Exp $   */
+/*     $NetBSD: pci_intr_fixup.c,v 1.5.6.1 2000/07/27 02:13:44 mycroft Exp $   */
 
 /*-
  * Copyright (c) 1999 The NetBSD Foundation, Inc.
@@ -493,7 +493,7 @@
        printf("  device vendor product pin PIRQ   IRQ stage\n");
        printf("--------------------------------------------\n");
 #endif
-       pci_device_foreach(pc, 0, pciintr_do_header_fixup);
+       pci_device_foreach(pc, pcibios_max_bus, pciintr_do_header_fixup);
 #ifdef PCIBIOSVERBOSE
        printf("--------------------------------------------\n");
 #endif



Home | Main Index | Thread Index | Old Index