Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/x86/x86 Set the bridge tag correctly when adding an...



details:   https://anonhg.NetBSD.org/src/rev/9f0765955429
branches:  trunk
changeset: 555444:9f0765955429
user:      fvdl <fvdl%NetBSD.org@localhost>
date:      Mon Nov 17 22:20:00 2003 +0000

description:
Set the bridge tag correctly when adding an extra PCI bus.

diffstat:

 sys/arch/x86/x86/intr.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r a20d00751b3a -r 9f0765955429 sys/arch/x86/x86/intr.c
--- a/sys/arch/x86/x86/intr.c   Mon Nov 17 21:34:27 2003 +0000
+++ b/sys/arch/x86/x86/intr.c   Mon Nov 17 22:20:00 2003 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: intr.c,v 1.12 2003/11/06 23:04:03 fvdl Exp $   */
+/*     $NetBSD: intr.c,v 1.13 2003/11/17 22:20:00 fvdl Exp $   */
 
 /*
  * Copyright 2002 (c) Wasabi Systems, Inc.
@@ -36,7 +36,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: intr.c,v 1.12 2003/11/06 23:04:03 fvdl Exp $");
+__KERNEL_RCSID(0, "$NetBSD: intr.c,v 1.13 2003/11/17 22:20:00 fvdl Exp $");
 
 #include "opt_multiprocessor.h"
 
@@ -208,7 +208,7 @@
        iebp = malloc(sizeof(struct intr_extra_bus), M_TEMP, M_WAITOK);
        iebp->bus = pba->pba_bus;
        iebp->pci_chipset_tag = pba->pba_pc;
-       iebp->pci_chipset_tag = pba->pba_pc;
+       iebp->pci_bridge_tag = pba->pba_bridgetag;
        LIST_INSERT_HEAD(&intr_extra_buses, iebp, list);
 }
 



Home | Main Index | Thread Index | Old Index