From owner-freebsd-current Mon Aug 11 14:04:55 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id OAA29815 for current-outgoing; Mon, 11 Aug 1997 14:04:55 -0700 (PDT) Received: from mom.hooked.net (root@mom.hooked.net [206.80.6.10]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id OAA29807 for ; Mon, 11 Aug 1997 14:04:52 -0700 (PDT) Received: from zippy.dyn.ml.org (garbanzo@pm3-ppp1.well.com [206.15.85.1]) by mom.hooked.net (8.8.5/8.8.5) with SMTP id OAA10229; Mon, 11 Aug 1997 14:03:41 -0700 (PDT) Date: Mon, 11 Aug 1997 14:03:44 -0700 (PDT) From: Alex X-Sender: garbanzo@zippy.dyn.ml.org To: "John W. DeBoskey" cc: freebsd-current@FreeBSD.ORG Subject: Re: Number of pci busses probed at boot time In-Reply-To: <199708111850.AA02267@iluvatar.unx.sas.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk On Mon, 11 Aug 1997, John W. DeBoskey wrote: > Hi, > > When I boot my system, the pci init code scans 255 pci busses > looking for devices (which are found on bus 0 & 1). So, I thought > I might reduce the number of pci busses probed... I'm assuming that you're using an SMP machine, however even if you're not this will probably apply to you. Since you obviously have the kernel sources, check out the file that should be in /usr/src/sys/i386/conf/SMP.GENERIC. This has an option "NBUS" and a value following it. This sets the number of busses that the kernel will probe for afaik. > So, how is the system finding ANY pci busses? The code above > seems to only return 0 or -1. Could someone enlighten me please? I haven't checked into the code much, but check into the files that contain support for your specific chipset. pcisupport.c might be a good place to start. - alex