Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/i386/i386 revert previous, the assumption "all buse...
details: https://anonhg.NetBSD.org/src/rev/ffdb3bd15776
branches: trunk
changeset: 772859:ffdb3bd15776
user: drochner <drochner%NetBSD.org@localhost>
date: Wed Jan 18 21:34:38 2012 +0000
description:
revert previous, the assumption "all buses 1 and up must be subordinate
to pci0" doesn't even hold on i386 -- there are server-class chipsets
with multiple primary PCI buses, see arch/x86/pci/pchb.c for examples
diffstat:
sys/arch/i386/i386/mainbus.c | 5 ++---
1 files changed, 2 insertions(+), 3 deletions(-)
diffs (26 lines):
diff -r 4d4d3a3d62c0 -r ffdb3bd15776 sys/arch/i386/i386/mainbus.c
--- a/sys/arch/i386/i386/mainbus.c Wed Jan 18 20:51:23 2012 +0000
+++ b/sys/arch/i386/i386/mainbus.c Wed Jan 18 21:34:38 2012 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: mainbus.c,v 1.92 2011/10/21 21:35:28 dyoung Exp $ */
+/* $NetBSD: mainbus.c,v 1.93 2012/01/18 21:34:38 drochner Exp $ */
/*
* Copyright (c) 1996 Christopher G. Demetriou. All rights reserved.
@@ -31,7 +31,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: mainbus.c,v 1.92 2011/10/21 21:35:28 dyoung Exp $");
+__KERNEL_RCSID(0, "$NetBSD: mainbus.c,v 1.93 2012/01/18 21:34:38 drochner Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -406,7 +406,6 @@
mba.mba_pba.pba_pc = NULL;
mba.mba_pba.pba_flags = pci_bus_flags();
mba.mba_pba.pba_bus = 0;
- mba.mba_pba.pba_sub = 255;
mba.mba_pba.pba_bridgetag = NULL;
#if NACPICA > 0 && defined(ACPI_SCANPCI)
if (npcibus == 0 && sc->sc_mpacpi_active)
Home |
Main Index |
Thread Index |
Old Index