NetBSD/sys
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
..
altq Remove extra whitespace added by a stupid tool. 2009-04-18 14:58:02 +00:00
arch Apply fixes from jmcneill@ for PR port-i386/38729 2009-06-13 13:35:11 +00:00
coda Remove extra whitespace added by a stupid tool. 2009-04-18 14:58:02 +00:00
compat In sendmsg(2), do copy the msghdr structure before trying to use it. 2009-06-11 19:57:58 +00:00
conf <space> -> <tab> consistency. 2009-05-21 19:27:38 +00:00
crypto
ddb extend 'show event' to take /i /t and /m modifiers, to select interrupt, 2009-06-05 04:31:47 +00:00
dev Regen. 2009-06-12 23:05:34 +00:00
dist Don't call callout_stop() without callout_init() 2009-05-08 05:18:34 +00:00
external Fix prototypes to match the functions. The prototypes had `int' specified for 2009-05-14 09:07:49 +00:00
fs Retire IN_CALLBACK_ULK flagging since its not used anymore and the old 2009-05-20 15:30:26 +00:00
gdbscripts
ipkdb Remove KAUTH_ARG() around the request for kauth_authorize_system(). 2009-04-12 22:37:50 +00:00
kern Writes on the controlling tty were not being awoken from blocks, 2009-06-12 09:26:50 +00:00
lib Implement snprintb_m(3) to provide multi-line bit/bit-field decode. 2009-05-13 02:50:31 +00:00
miscfs More changes to improve kern_descrip.c. 2009-05-24 21:41:25 +00:00
modules Add work in support for compiling ccd and cgd drivers as a modules. I forgot 2009-06-05 19:21:02 +00:00
net comment style. no functional change. 2009-06-09 22:21:54 +00:00
net80211 Remove extra whitespace added by a stupid tool. 2009-04-18 14:58:02 +00:00
netatalk Remove extra whitespace added by a stupid tool. 2009-04-18 14:58:02 +00:00
netbt add const to unchanged argument 2009-05-14 15:34:38 +00:00
netinet sysctl_inpcblist: fix a lock leak in error path (hi <matt>). 2009-06-07 16:20:29 +00:00
netinet6 POOL_INIT -> pool_init 2009-05-26 00:17:56 +00:00
netipsec Adapt FAST_IPSEC to recent KPI changes. 2009-05-10 02:13:07 +00:00
netisdn Remove extra whitespace added by a stupid tool. 2009-04-18 14:58:02 +00:00
netiso Remove extra whitespace added by a stupid tool. 2009-04-18 14:58:02 +00:00
netkey Fix the sense of two compares. I previously broke this. 2009-05-11 11:00:51 +00:00
netnatm Remove extra whitespace added by a stupid tool. 2009-04-18 14:58:02 +00:00
netsmb Remove extra whitespace added by a stupid tool. 2009-04-18 14:58:02 +00:00
nfs Broken assertion. 2009-05-23 18:19:19 +00:00
opencrypto Remove extra whitespace added by a stupid tool. 2009-04-18 14:58:02 +00:00
rump MAXUSERS comes from Makefile.rump 2009-06-10 20:54:55 +00:00
secmodel Add and use a network scope action/request for tun(4), similar to ppp(4), 2009-05-08 11:09:43 +00:00
stand
sys Update V4L2_CAP_BITMASK to enable all known bits. 2009-06-13 10:05:55 +00:00
ufs ufsdirhash_lookup(): call ufs_blkatoff() with "modify == false". 2009-05-30 13:54:36 +00:00
uvm on MADV_WILLNEED, start prefetching backing object's pages. 2009-06-10 01:55:33 +00:00
Makefile