Go to file
tsutsui 9c2e10416b Apply fixes from jmcneill@ for PR port-i386/38729
(ACPI kernel booted under qemu cannot detect devices):
- make MP SCANPCI function for ACPI_SCANPCI and MPBIOS_SCANPCI
  return a number of attached PCI busses
- if no valid PCI busses are attached in the MP SCANPCI function,
  try to probe and attach pci0 at mainbus as well as kernels
  with no SCANPCI options

"Feel free to check it in" from jmcneill@.
Tested in pkgsrc qemu-0.9.1 (both i386 and x86_64) on NetBSD/i386.

Note original jmcneill's patch was posted on March:
http://mail-index.NetBSD.org/port-i386/2009/03/24/msg001281.html
and I also applied it to amd64:
http://mail-index.NetBSD.org/port-i386/2009/03/24/msg001283.html
but x86 MP attach functions have been reorganized by dyoung@ on April:
http://mail-index.NetBSD.org/source-changes/2009/04/17/msg219992.html
so I've modified the original patches to adapt the changes.
(mpacpi_scan_pci() and mpbios_scan_pci() have been merged into
 common mp_pci_scan() in new arch/x86/x86/mp.c)
For netbsd-5 and netbsd-5-0 branches, the original patches should be
applied cleanly, and they have been tested by abs@ on a selection of
i386 boxes and in qemu.
2009-06-13 13:35:11 +00:00
bin Make sure that buffer is NULL terminated when input to strip_escapes() is 2009-06-10 04:16:53 +00:00
common Provide fallback definitions of be[32|64]toh and htobe[32|64] for 2009-06-11 22:40:42 +00:00
compat catch up with libssh build dir move 2009-06-12 06:40:51 +00:00
crypto Don't complain if $HOME/.gnupg does not exist (and using --homedir). 2009-06-13 05:25:08 +00:00
dist resolve import ntp-4-2-4p7 2009-06-13 12:02:07 +00:00
distrib Mark XOrg {ioport,xorgconfig}.debug as obsolete. 2009-06-12 12:36:50 +00:00
doc resolve import ntp-4-2-4p7 2009-06-13 12:02:07 +00:00
etc add the new subdirs used by xkeyboard-config. 2009-06-11 05:40:18 +00:00
external PR/41580: Hauke Fath: am-utils uses "netbsd${OSVER}" selector, still. 2009-06-12 15:44:58 +00:00
games a bit more const 2009-06-07 21:04:54 +00:00
gnu "if" does not accept an "el" (else); use "ie" instead. 2009-05-21 15:54:50 +00:00
include Add the getdate(3) function and getdate_err value, conforming to IEEE 2009-05-14 02:37:35 +00:00
lib decrement the number of levels after the loop (Julien Torres) 2009-06-09 13:04:33 +00:00
libexec Apply fix borrowed from i386: Fix const issue (cast const pointers 2009-05-24 20:35:41 +00:00
regress add regression test for gdtoa large field width. 2009-05-07 20:40:25 +00:00
rescue - rework this a bunch to make it work inside /rescue/ldd. 2009-01-07 00:39:23 +00:00
sbin Sync usage with man page. 2009-06-11 08:12:00 +00:00
share s/v4l2_capabilities/v4l2_capability/ for VIDIOC_QUERYCAP ioctl. 2009-06-13 10:07:55 +00:00
sys Apply fixes from jmcneill@ for PR port-i386/38729 2009-06-13 13:35:11 +00:00
tests Apparently, there's not a clear dependency ordering for the libraries, 2009-06-09 11:18:50 +00:00
tools use new file 2009-05-08 17:45:22 +00:00
usr.bin PR/41581: Der mouse: window SEGV with certain terminals. does strcmp first 2009-06-12 15:19:52 +00:00
usr.sbin resolve import ntp-4-2-4p7 2009-06-13 12:02:07 +00:00
x11 add -n to gzip invocation 2009-03-31 21:12:51 +00:00
BUILDING Introduce MKSUBPIXEL, which allows enabling subpixel rendering code 2009-05-01 19:42:18 +00:00
Makefile add crypto/external to the build. 2009-06-07 22:46:12 +00:00
Makefile.inc
UPDATING Add note about Postgres WRT the time_t change. 2009-05-27 18:02:57 +00:00
build.sh Add a MKARZERO flag, which invokes ar(1) with the new D flag when it 2009-03-13 16:23:31 +00:00