Date: Mon, 11 Aug 1997 14:50:15 -0400 (EDT) From: "John W. DeBoskey" <jwd@unx.sas.com> To: freebsd-current@freebsd.org Subject: Number of pci busses probed at boot time Message-ID: <199708111850.AA02267@iluvatar.unx.sas.com>
next in thread | raw e-mail | index | archive | help
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... My confusion? Well, in pci.c, we have: static int pci_bushigh(void) { if (pic_cfgopen() == 0) return (-1); return (0); } and the return value is used in: int pci_probe(pciattach *parent) int bushigh; int bus = 0; bushigh = pci_bushigh(); while (bus <= bushigh) { ... So, how is the system finding ANY pci busses? The code above seems to only return 0 or -1. Could someone enlighten me please? Thanks, John -- jwd@unx.sas.com (w) John W. De Boskey (919) 677-8000 x6915
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199708111850.AA02267>