Commit Graph

181669 Commits

Author SHA1 Message Date
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
kardel 4a186c8fa5 resolve import ntp-4-2-4p7 2009-06-13 12:02:07 +00:00
njoly 4be675790f s/v4l2_capabilities/v4l2_capability/ for VIDIOC_QUERYCAP ioctl. 2009-06-13 10:07:55 +00:00
njoly e83f57203c Update V4L2_CAP_BITMASK to enable all known bits. 2009-06-13 10:05:55 +00:00
kardel be2dbc8357 Import ntp 4.2.4p7 2009-06-13 09:17:42 +00:00
agc f72138f83a Don't complain if $HOME/.gnupg does not exist (and using --homedir).
Don't require a userid to be set in the gpg.conf file - it can be set
on the command line when it's needed (for signing and encryption, the
other operations in netpgp(1) will take the userid from the
signed/encrypted file).

Add tests for the lack of a default userid in the config file.
2009-06-13 05:25:08 +00:00
rjs dc974f0b47 Regen. 2009-06-12 23:05:34 +00:00
rjs 416c60b3b1 Add some more Marvell devices. 2009-06-12 23:00:24 +00:00
christos d15ef32f05 PR/41580: Hauke Fath: am-utils uses "netbsd${OSVER}" selector, still.
Changed to "netbsd"
2009-06-12 15:44:58 +00:00
christos d3f46c621c PR/41581: Der mouse: window SEGV with certain terminals. does strcmp first
and then checks for null pointer for underline and bold.
2009-06-12 15:19:52 +00:00
njoly ac7a79a40a Mark XOrg {ioport,xorgconfig}.debug as obsolete. 2009-06-12 12:36:50 +00:00
plunky 6e74f4625b Writes on the controlling tty were not being awoken from blocks,
use the correct condvar to make this happen.

this fixes PR/41566
2009-06-12 09:26:50 +00:00
cegger acf99ccda1 use __arraycount(). Same object code generated. 2009-06-12 08:33:41 +00:00
mrg d0033f6983 fix xsrc/41577: install the Xvidtune app-defaults file, after the
necessary preprocessing and sed processing it needs.
2009-06-12 06:57:22 +00:00
mrg f16bc96306 catch up with libssh build dir move 2009-06-12 06:40:51 +00:00
mrg e2812586d9 clean up the sources list.
this driver doesn't work yet, though.
it has not been ported to libpciaccess yet.
2009-06-12 04:40:22 +00:00
mrg b3141d0339 add all the missing sources 2009-06-12 04:26:32 +00:00
agc d1923dbd04 add 3 more niggles (from Luke)
check whether a callback function is needed
2009-06-12 04:12:25 +00:00
snj 9d3fa903c6 Add a missing source file. X now works again in vmware. 2009-06-12 04:10:57 +00:00
mrg 216c4cfb08 add missing source files. 2009-06-12 04:00:56 +00:00
mrg bddc6fb749 oops.. missed imstt.0 2009-06-12 02:14:42 +00:00
mrg d225a0d5f8 build updates for xorg-server 1.6. 2009-06-12 01:59:04 +00:00
mrg 6bfaba4900 merge all the changes for xorg-server 1.6 2009-06-12 01:55:59 +00:00
nisimura 1d622581c6 - be more cautious before turning on Dcache.
- add lines to determine platform identification .
- fix a little ANSI style conversion breakage.
2009-06-12 00:24:33 +00:00
joerg 94cd590d07 Provide fallback definitions of be[32|64]toh and htobe[32|64] for
systems without sys/endian.h.
2009-06-11 22:40:42 +00:00
christos 13573b1916 use memcpy for bitcount writes to the buffer to avoid type punning issues. 2009-06-11 20:43:00 +00:00
christos 46f23cedb2 - fix sha224 functions that used sha256 ctx, and add casts.
- fix sha224 function lengths.
- wrap long lines
- use NULL
- fix whitespace
- put all 224 functions together in the same spirit as 384
2009-06-11 20:35:29 +00:00
njoly 198ddcca4b In sendmsg(2), do copy the msghdr structure before trying to use it. 2009-06-11 19:57:58 +00:00
joerg 02c4298092 KNF 2009-06-11 19:05:17 +00:00
joerg 8c33577af1 De-uglify:
- drop useless asserts
- use uintXX_t directly
- use NULL
2009-06-11 19:02:04 +00:00
joerg c8f28eff97 Simplify by using sys/endian.h functions. Fixes Big Endian case for SHA2. 2009-06-11 18:46:37 +00:00
mrg a4e3acd4f6 build new xorg-server dri2 component 2009-06-11 17:59:25 +00:00
agc b655c49f3f Update to version 1.99.12
CHANGES 1.99.11 -> 1.99.12

+ only prompt for the passphrase for the secret key if the secret key is
  protected by a passphrase
+ portability fix for Mac OS X
2009-06-11 17:05:17 +00:00
mrg edc8c76e47 use -Wno-error for a deprecated warning. 2009-06-11 15:54:18 +00:00
mrg db1f69493d "version.def" is gone. 2009-06-11 15:33:12 +00:00
mrg e02f3af610 use -Wno-error for a deprecated warning. 2009-06-11 15:32:38 +00:00
mrg 8a1ae9c0dc add glapi_getproc.c. 2009-06-11 15:25:53 +00:00
tsutsui 2d503ac381 Call cache_flush_all() in getcpuinfo().
Not sure if it's actually necessary, but it fixes panic
"makememarr: cannot find "memory" node" on RT626 HyperSPARC.
Ok'ed by martin@.
2009-06-11 14:42:47 +00:00
cegger eb7545174c regen. 2009-06-11 12:43:13 +00:00
cegger db97db6aee add ADP2, Marvell and Triones devices.
Taken from mvsata diff from Kiyohara Takashi, resolved apply conflicts.
2009-06-11 12:42:31 +00:00
cegger 535480ccf0 Attach Marvel 88SE6121 SATA II controller on ahci.
W/o this, it attaches on pciide.
2009-06-11 11:02:11 +00:00
wiz bba67e2c66 Sync usage with man page. 2009-06-11 08:12:00 +00:00
wiz d28fa3c589 Remove -P from -p section, not from -f one. 2009-06-11 08:11:52 +00:00
jnemeth cd77abc691 No time travelling. Teaches me right for blindly trusting the last
entry.  Hi Christos!
2009-06-11 07:08:59 +00:00
agc 6808773a84 Remove workaround not needed any more. 2009-06-11 06:45:11 +00:00
mrg 86d423063c remove a dir that does not exist 2009-06-11 06:18:12 +00:00
mrg 8342211d1b upgrade the build framework for xorg-server 1.6.
this doesn't quite work yet.  Xvfb and Xnest attempt to link but
have missing symbols.  Xorg doesn't build all its components yet.
2009-06-11 05:43:15 +00:00
mrg ee5acb3c1c add the new subdirs used by xkeyboard-config. 2009-06-11 05:40:18 +00:00
mrg 74da3bca40 update XORG_VERSION_CURRENT.
update the pkgconfig sed script to handle newer pixman.

XXX: should make the pkgconfig sed script barf it it ends up leaving
XXX: behind something that looks like "@.*@", i think.
2009-06-11 05:34:22 +00:00
mrg 2575b988d6 add xkeyboard-config. 2009-06-11 05:30:15 +00:00