freebsd kernel with SKQ
Go to file
John Baldwin 9debb53220 According to the ACPI spec, the bus number of the child PCI bus of a host
to PCI bridge can be read be evaluating the _BBN method of the host to PCI
device.  Unfortunately, there appear to be some lazy/ignorant/moronic/
whatever BIOS writers that return 0 for _BBN for all host to PCI bridges in
the system.  On a system with a single host to PCI bridge this is not a
problem as the child bus of that single bridge will be bus 0 anyway.
However, on systems with multiple host to PCI bridges and l/i/m/w BIOS
writers this is a major problem resulting in all but the first host to
PCI bridge failing to attach.  So, this adds a workaround.

If the _BBN of a host to PCI bridge is zero and pcib0 already exists
and is not us, the we use _ADR to look up our PCI function and slot
(we currently assume we are on bus 0) and use that to call
host_pcib_get_busno() to try and extract our bus number from config
registers on the host to PCI bridge device.  If that fails, then we make
an evil assumption that ACPI's _SB_ namespace lays out the host to PCI
bridges in ascending order and use our pcib unit number as our bus
number.

Approved by:	re
2002-11-22 18:11:13 +00:00
bin Minimal take on previous commit -- remove getopt and printf. Static size 2002-11-14 01:14:35 +00:00
contrib This commit was generated by cvs2svn to compensate for changes in r106907, 2002-11-14 10:04:51 +00:00
crypto Add caveats regarding the effect of PAM on PasswordAuthentication and 2002-11-06 08:04:56 +00:00
etc Clarify adjkerntz(8) note and use complete sentences in comments. 2002-11-22 16:13:39 +00:00
games Fix a typo. Add FreeBSD ID in a %% comment. 2002-11-17 09:53:11 +00:00
gnu Catch up with The Great Perl Script Rewrite. 2002-11-18 10:25:27 +00:00
include Re-enable installing of Bluetooth include files 2002-11-21 23:34:57 +00:00
kerberos5 Repair buglet introduced with the last import of Heimdal: 2002-11-16 02:23:17 +00:00
kerberosIV update version numbers to (consistenly): 2002-10-23 06:12:21 +00:00
lib In _thread_enter_uts, fix eflags saving bug. 2002-11-22 11:43:06 +00:00
libexec Fix the handling of high PLT entries (> 32764) on sparc64. This requires 2002-11-18 22:08:50 +00:00
release Move lang/gnat from disc1 to disc3. (Possibly a moot point, since it 2002-11-22 15:46:43 +00:00
sbin Typo fix that I brought in rev 1.16 2002-11-21 01:51:21 +00:00
secure Remove myself as maintainer of openssl; I no longer have enough time to 2002-11-21 08:48:08 +00:00
share Update rc(8) manpage to reflect rc.d 2002-11-21 20:12:05 +00:00
sys According to the ACPI spec, the bus number of the child PCI bus of a host 2002-11-22 18:11:13 +00:00
tools Fix context restore bug. 2002-11-22 03:01:55 +00:00
usr.bin The second try a committing the bluetooth code 2002-11-20 23:01:59 +00:00
usr.sbin The second try a committing the bluetooth code 2002-11-20 23:01:59 +00:00
COPYRIGHT
MAINTAINERS A number of people objected to make(1) being treated specially. 2002-11-21 08:36:01 +00:00
Makefile PC98 is not a true architecture, but a subarchitecture of i386, so we need 2002-10-02 13:52:36 +00:00
Makefile.inc1 Make dynamic PAM modules depend on dynamic PAM library. 2002-11-14 19:24:51 +00:00
Makefile.upgrade
README Fix broken handbook links. 2002-07-21 16:45:30 +00:00
UPDATING OK, you can use the 4.x boot loader and boot blocks to load kernels, but 2002-10-30 20:11:07 +00:00

This is the top level of the FreeBSD source directory.  This file
was last revised on:
$FreeBSD$

For copyright information, please see the file COPYRIGHT in this
directory (additional copyright information also exists for some
sources in this tree - please see the specific source directories for
more information).

The Makefile in this directory supports a number of targets for
building components (or all) of the FreeBSD source tree, the most
commonly used one being ``world'', which rebuilds and installs
everything in the FreeBSD system from the source tree except the
kernel, the kernel-modules and the contents of /etc.  The
``buildkernel'' and ``installkernel'' targets build and install
the kernel and the modules (see below).  Please see the top of
the Makefile in this directory for more information on the
standard build targets and compile-time flags.

Building a kernel is a somewhat more involved process, documentation
for which can be found at:
   http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig.html
And in the config(8) man page.
Note: If you want to build and install the kernel with the
``buildkernel'' and ``installkernel'' targets, you might need to build
world before.  More information is available in the handbook.

The sample kernel configuration files reside in the sys/<arch>/conf
sub-directory (assuming that you've installed the kernel sources), the
file named GENERIC being the one used to build your initial installation
kernel.  The file NOTES contains entries and documentation for all possible
devices, not just those commonly used.  It is the successor of the ancient
LINT file, but in contrast to LINT, it is not buildable as a kernel but a
pure reference and documentation file.


Source Roadmap:
---------------
bin		System/user commands.

contrib		Packages contributed by 3rd parties.

crypto		Cryptography stuff (see crypto/README).

etc		Template files for /etc.

games		Amusements.

gnu		Various commands and libraries under the GNU Public License.
		Please see gnu/COPYING* for more information.

include		System include files.

kerberos5	Kerberos5 (Heimdal) package.

kerberosIV	KerberosIV (eBones) package.

lib		System libraries.

libexec		System daemons.

release		Release building Makefile & associated tools.

sbin		System commands.

secure		Cryptographic libraries and commands.

share		Shared resources.

sys		Kernel sources.

tools		Utilities for regression testing and miscellaneous tasks.

usr.bin		User commands.

usr.sbin	System administration commands.


For information on synchronizing your source tree with one or more of
the FreeBSD Project's development branches, please see:

  http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/synching.html