181686 Commits

Author SHA1 Message Date
haad
44141aa6ee Remove bogus warn, which was printed when DIOCGDISKINFO failed. 2009-06-14 21:06:18 +00:00
christos
ba7ea1e3fb purge/flush 0,1,2 since we did not open them, we should not be closing them.
s/EOF/-1/ as the documentation for fclose/pclose states.
2009-06-14 21:05:40 +00:00
christos
cf38d7e34a Use makedir, from M. Levinson. 2009-06-14 20:01:04 +00:00
pgoyette
c1af07659e Update {get,set}_limits() routines. 2009-06-14 19:44:46 +00:00
pgoyette
45f4717820 Ooops - {get,set}_limits() need to be sensor-specific. Pass an extra
argument to them to identify the individual sensor being processed.
2009-06-14 19:43:12 +00:00
joerg
a44a031cb3 Don't take short cuts and use the SHA224 functions to compute SHA224.
At least for Final it makes a difference in some situation.
2009-06-14 14:18:35 +00:00
martin
cd4c43c910 Fix copy&paste errors 2009-06-14 14:04:07 +00:00
christos
3b863a2f5d absolute paths are not allowed here. from Anon Ymous 2009-06-14 13:18:02 +00:00
kardel
a888100516 Make PPS work with fast time counters (> 2GHz)
by making the pps count time stamp and the update
time stamp u_int64.
The time delta between two PPS events can now
be correctly calculated avoiding any unaccounted
for wraps with 32-bit counters.
2009-06-14 13:16:32 +00:00
cegger
051c4248a9 use __arraycount 2009-06-14 06:24:14 +00:00
pgoyette
3441b533fb No need to set flag=I2C_F_POLL when releasing the bus. Pointed out
in private Email from njoly@
2009-06-13 20:27:19 +00:00
tonnerre
8faae88204 Add support for Swiss german kezboard to wskbd.
Contributed by Marc Balmer.
2009-06-13 20:21:56 +00:00
roy
f388a1765a SuSv2 mandates that tputs should return int instead of void. 2009-06-13 19:23:22 +00:00
pgoyette
5fb0a3a4d7 Update sdtemp driver to use sysmon_envsys(9) for setting temp sensor
limits.  Remove sysctl(9) interface to the limit registers since it's
no longer needed.
2009-06-13 19:02:33 +00:00
pgoyette
774ea2bbe8 Remove left-over XXX - thanks wiz@ for pointing this out. 2009-06-13 18:21:55 +00:00
pgoyette
c235777756 Add capability to send sensor limit values to the driver so they can
be programmed into device registers.  This way we can let the hardware
help us out instead of having to always compare the value against each
limit.  (Driver updates for some sensors to take advantage of this
capability will be forthcoming.)
2009-06-13 16:08:25 +00:00
pgoyette
fdcbe744db Long-overdue update. Need to handle both {warning,critical}-capacity
events.
2009-06-13 15:35:10 +00:00
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