181865 Commits

Author SHA1 Message Date
njoly
83618982c2 For linux cmsg header copyout, use the linux structure size, not the
native one.
2009-06-16 22:56:49 +00:00
christos
fb04944064 add fpurge; needed by awk. 2009-06-16 22:35:34 +00:00
bouyer
3ac2dfe9bf Split mc146818-related functions from clock.c into rtc.c.
Call rtc_set_ymdhms() from xen/xen/clock.c:xen_rtc_set() for xen3 dom0
kernels as the Xen3 hypervisor doesn't write the new date/time to the CMOS
by itself.
Now a XEN3_DOM0 kernel properly updates the CMOS time.
2009-06-16 21:05:33 +00:00
dyoung
7fdb86195d Use device_t instead of device_ptr_t. Stop using USB_MATCH() and
USB_ATTACH().
2009-06-16 19:42:44 +00:00
njoly
405a83b592 Make compat linux sendmsg/recvmsg output msghdr and control messages
buffers with ktrace(1), just like the native functions.
2009-06-16 15:56:10 +00:00
christos
94e9d9b7f6 fix EOF/-1 portability. 2009-06-16 13:56:09 +00:00
martin
14c9b3749d Actually use the new (non-shortcut) functions for SHA224 2009-06-16 11:15:29 +00:00
cegger
18130206e3 - use <sys/bus.h> and <sys/cpu.h>
- add reference to family11h documentation
- add reference to AMD K8 Errata #141
2009-06-16 07:34:40 +00:00
sjg
39bb2e98a1 Child of vfork() must not alter the state of parent.
There is no need to touch the state of vars in child anyway.
Change 2nd arg to Var_Export1() to indicate if we are the parent or child,
and only set flags in the parent.
2009-06-16 05:44:06 +00:00
mrg
2fd2ea3eb2 build the swrast_setup code, too. 2009-06-16 05:21:58 +00:00
minskim
bea661fe98 Reduce diff with OpenBSD. No functional change. 2009-06-16 05:16:52 +00:00
mrg
3aabb85acc be sure to link in the swrast_setup code, too 2009-06-16 05:16:12 +00:00
minskim
8221d4ac16 Reduce diff with OpenBSD. No functional change. 2009-06-16 05:15:41 +00:00
minskim
da9817918e Reduce diff with OpenBSD by deleting whitespace. 2009-06-16 02:18:07 +00:00
mrg
66feaa8daf - build and install swrast_dri.so
- don't force linking dri_util.c into swrast_dri.so
- fix the source lists in libGL/OSmesa makefiles
- unobsolete the symbols/pc keymap and 7x14-KOI8-R.pcf.gz font

XXX the libGL/OSmesa makefiles could use some reorg.  there
XXX are a bunch of duplicated items.
2009-06-16 00:26:10 +00:00
njoly
21489570f0 Make netbsd32 sendmsg(2), do not use an uninitialised value for
fetching iovec structures.
While here, sync recvmsg(2) to avoid some unneeded casts.
2009-06-15 22:59:53 +00:00
bouyer
dbd6b2dcbf Implement DIOCGDISKINFO for xbd disk driver. 2009-06-15 21:11:24 +00:00
christos
efdd16fa99 <= 2, from jukka salmi 2009-06-15 20:09:36 +00:00
cegger
1fd72d6afc Add quirk for SB600/SB700 chipsets to workaround freeze in USB subsystem. 2009-06-15 12:58:24 +00:00
wiz
f362df9bd8 Use Dv for ENVSYS_*. 2009-06-15 12:21:33 +00:00
cegger
7ed6826c06 Apply hw workaround required for all SB600 revisions and SB700 revisions
A12 and A13 to avoid USB subsystem hang symptom. The USB subsystem hang
symptom is observed when the system has multiple USB devices connected to it
or one USB device is often re-connected. In some cases a USB hub may be
required to observe this symptom.

This patch works around the problem by correcting the internal register setting
that will help by changing the behavior of the internal logic to avoid the
USB subsystem hang issue. The change in the behavior of the logic does not
impact the normal operation of the USB subsystem.

This fix has been discussed, developped, reviewed, polished up
and tested on current-users by several people. Thread starts at:
http://mail-index.netbsd.org/current-users/2009/05/17/msg009460.html
2009-06-15 09:18:45 +00:00
joerg
e4b9854077 Update to pkg_install-20090610:
Improve diagnostic of the license code.
2009-06-14 23:30:57 +00:00
tonnerre
c08078c2c3 Restore the good old UNIX behavior of root password changing: only root
may change the root password.

(Checked that everybody else's password can be changed without any problem,
and checked that root can still change the root password.)
2009-06-14 23:23:54 +00:00
rjs
35a0849703 Fix CVS header. 2009-06-14 23:20:35 +00:00
pgoyette
9310b4d9c9 Clarify usage of the function members in struct sysmon_envsys and note
that they're optional.
2009-06-14 23:09:55 +00:00
wiz
2eb8ed9d33 Drop trailing whitespace. 2009-06-14 22:37:43 +00:00
yamt
b45868677f bump the kernel version to 5.99.14 for the vm_anon change. 2009-06-14 21:37:06 +00:00
yamt
3685fcc8e8 change the order of members of vm_anon for better packing. 2009-06-14 21:36:03 +00:00
christos
7d8bcc8fa4 makedir for real this time. 2009-06-14 21:34:15 +00:00
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