re: device major numbers

2011-02-28 Thread Frank Wille
matthew green wrote: since satmgr(4) is sandpoint specific, it very much does not belong in the 144-159 range. why does it need to be changed? Because I fear that the next developer who adds a new device to majors.powerpc will use 100, without realizing it is in use by sandpoint. this

Re: device major numbers

2011-02-28 Thread Toru Nishimura
Frank Wille said; either way, 144 is wrong. Ok. So you would suggest to allocate 100 for all powerpc ports? arch/powerpc/conf/major.powerpc contains gtmpsc for Marvell Discovery PPC system controller which is particular for a very specific platform. Then, it'd be forgiving to cope with

Re: CVS commit: src/sys

2011-02-28 Thread Mindaugas Rasiukevicius
Jukka Ruohonen jru...@netbsd.org wrote: Module Name: src Committed By: jruoho Date: Fri Feb 25 09:16:00 UTC 2011 Modified Files: src/sys/arch/x86/acpi: acpi_cpu_md.c src/sys/dev/acpi: acpi_cpu.h acpi_cpu_pstate.c Log Message: Add preliminary support for the

Re: CVS commit: src/sys/dev/acpi

2011-02-28 Thread Mindaugas Rasiukevicius
Jukka Ruohonen jruoho...@iki.fi wrote: Are there any plans for kernel equivalent to cpuset(3)? Yes, there is kcpuset(9), see kcpuset_create() and friends. I plan to modify it so it could be used early in MD code (when memory allocation is not yet available) and thus unify random MD cpuset

Re: CVS commit: src

2011-02-28 Thread Mindaugas Rasiukevicius
Hello, y...@mwd.biglobe.ne.jp (YAMAMOTO Takashi) wrote: Log Message: an implementation of radix tree. the idea from linux. How is that different from ptree? while i'm not familiar with ptree... Patricia/Radix tree added by Matt (see src/common/lib/libc/gen/ptree.c and

Re: CVS commit: src/sys

2011-02-28 Thread Jukka Ruohonen
On Mon, Feb 28, 2011 at 04:48:43PM +, Mindaugas Rasiukevicius wrote: Why interrupts are disabled here? Calling xc_wait() with interrupts disabled is, at minimum, very expensive, and I would say it is wrong. Note that xc_wait(9) does not necessary spin - it can block. Because interrupts

Re: CVS commit: src/sys

2011-02-28 Thread Mindaugas Rasiukevicius
Jukka Ruohonen jruoho...@iki.fi wrote: Why interrupts are disabled here? Calling xc_wait() with interrupts disabled is, at minimum, very expensive, and I would say it is wrong. Note that xc_wait(9) does not necessary spin - it can block. Because interrupts must be disabled when APERF and

Re: device major numbers

2011-02-28 Thread Frank Wille
Matt Thomas wrote: As the overall powerpc port maintainer, I'd rather see all new majors be allocated from major.powerpc. This is that eventually all powerpc ports can use the same major number and that will eliminate one reason why we can't have a shared userland. Ok, agreed. We make it

Re: CVS commit: src/regress/sys/net

2011-02-28 Thread David Laight
On Mon, Feb 28, 2011 at 10:08:07PM +, Jonathan A. Kollasch wrote: autogen requires ed(1), which is not provided by our toolchain. (In other words, this causes a odd build failure on some Linux build hosts.) I've not looked, but it is probably not too hard to change the script to use a

CVS commit: src/sys/arch/arm

2011-02-28 Thread Michael Lorenz
Module Name:src Committed By: macallan Date: Mon Feb 28 10:03:50 UTC 2011 Modified Files: src/sys/arch/arm/arm32: pmap.c src/sys/arch/arm/include/arm32: pmap.h Log Message: implement arm32_pmap_flags() to allow mappings with write buffering enabled, mostly for

CVS commit: src/sys/arch/shark/ofw

2011-02-28 Thread Michael Lorenz
Module Name:src Committed By: macallan Date: Mon Feb 28 10:05:04 UTC 2011 Modified Files: src/sys/arch/shark/ofw: igsfb_ofbus.c Log Message: use ARM32_MMAP_WRITECOMBINE when mmap()ing video memory for improved X11 speed To generate a diff of this commit: cvs rdiff -u

CVS commit: src/sys/arch/sparc64/dev

2011-02-28 Thread Takeshi Nakayama
Module Name:src Committed By: nakayama Date: Mon Feb 28 14:29:29 UTC 2011 Modified Files: src/sys/arch/sparc64/dev: lom.c Log Message: lom_refresh(): Update only the sensor status specified by the edata as noted in sysmon_envsys(9). lom_sysctl_alarm(): Update alarm

CVS commit: src/sys/dev/pad

2011-02-28 Thread Jeff Rizzo
Module Name:src Committed By: riz Date: Mon Feb 28 16:56:39 UTC 2011 Modified Files: src/sys/dev/pad: padvol.c Log Message: Use le16enc()/be16enc() to encode LE/BE values back into the audio stream. This fixes the tests/dev/audio test on my macppc box. While I'm here,

CVS commit: src/sys/dev

2011-02-28 Thread Matthew Jacob
Module Name:src Committed By: mjacob Date: Mon Feb 28 17:17:55 UTC 2011 Modified Files: src/sys/dev/ic: isp.c isp_library.c isp_netbsd.h ispvar.h src/sys/dev/pci: isp_pci.c Log Message: Update isp driver to be in sync with other platforms. Mostly very minor

CVS commit: src/sys/dev/microcode/isp

2011-02-28 Thread Matthew Jacob
Module Name:src Committed By: mjacob Date: Mon Feb 28 17:19:44 UTC 2011 Modified Files: src/sys/dev/microcode/isp: asm_2322.h asm_2400.h asm_2500.h Log Message: Update firmware sets for the (rare) 2322, 2400 and 2500. In particular the latter two sets have boatloads of

CVS commit: src/sys/dev/dkwedge

2011-02-28 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Mon Feb 28 18:28:20 UTC 2011 Modified Files: src/sys/dev/dkwedge: dk.c Log Message: Make error checking consistent, possibly fixes PR/44652. To generate a diff of this commit: cvs rdiff -u -r1.58 -r1.59

CVS commit: src/lib/librumphijack

2011-02-28 Thread Antti Kantee
Module Name:src Committed By: pooka Date: Mon Feb 28 19:57:37 UTC 2011 Modified Files: src/lib/librumphijack: hijack.c Log Message: A simple dup2-enforced affine transformation isn't enough when dealing with dup2() from a rump kernel fd to a host kernel fd. Consider: s1

CVS commit: src/lib/librumphijack

2011-02-28 Thread Antti Kantee
Module Name:src Committed By: pooka Date: Mon Feb 28 20:39:07 UTC 2011 Modified Files: src/lib/librumphijack: hijack.c Log Message: make compiler sign-happy To generate a diff of this commit: cvs rdiff -u -r1.71 -r1.72 src/lib/librumphijack/hijack.c Please note that

CVS commit: src/tests/fs/common

2011-02-28 Thread Antti Kantee
Module Name:src Committed By: pooka Date: Mon Feb 28 21:03:15 UTC 2011 Modified Files: src/tests/fs/common: fstest_nfs.c Log Message: bump nfdsargv[]�size belatedly (and add a few extra for needs of future bugs) To generate a diff of this commit: cvs rdiff -u -r1.6

CVS commit: src/tests/fs/common

2011-02-28 Thread Antti Kantee
Module Name:src Committed By: pooka Date: Mon Feb 28 21:08:13 UTC 2011 Modified Files: src/tests/fs/common: fstest_nfs.c Log Message: g/c unused variable To generate a diff of this commit: cvs rdiff -u -r1.7 -r1.8 src/tests/fs/common/fstest_nfs.c Please note that diffs

CVS commit: src/tests/fs/common

2011-02-28 Thread Antti Kantee
Module Name:src Committed By: pooka Date: Mon Feb 28 21:08:46 UTC 2011 Modified Files: src/tests/fs/common: fstest_nfs.c Log Message: g/c use of unused variable too To generate a diff of this commit: cvs rdiff -u -r1.8 -r1.9 src/tests/fs/common/fstest_nfs.c Please note

CVS commit: src/sys/arch/hppa/hppa

2011-02-28 Thread Nick Hudson
Module Name:src Committed By: skrll Date: Mon Feb 28 21:20:50 UTC 2011 Modified Files: src/sys/arch/hppa/hppa: trap.S Log Message: Remove old/incorrect comment. To generate a diff of this commit: cvs rdiff -u -r1.58 -r1.59 src/sys/arch/hppa/hppa/trap.S Please note that

CVS commit: src/tests

2011-02-28 Thread Antti Kantee
Module Name:src Committed By: pooka Date: Mon Feb 28 21:21:14 UTC 2011 Modified Files: src/tests/fs/nfs/nfsservice: rumpnfsd.c src/tests/net/config: netconfig.c Log Message: make netcfg produce sensible results in a non-atf env To generate a diff of this commit:

CVS commit: src/sys/arch/hppa/hppa

2011-02-28 Thread Nick Hudson
Module Name:src Committed By: skrll Date: Mon Feb 28 21:22:35 UTC 2011 Modified Files: src/sys/arch/hppa/hppa: trap.S Log Message: Don't use %tr3 (aka cr27) in emu trap. cr27 is now used for lwp private info. To generate a diff of this commit: cvs rdiff -u -r1.59 -r1.60

CVS commit: src/sys/arch/hppa/include

2011-02-28 Thread Nick Hudson
Module Name:src Committed By: skrll Date: Mon Feb 28 21:23:33 UTC 2011 Modified Files: src/sys/arch/hppa/include: types.h Log Message: __HAVE___LWP_GETPRIVATE_FAST works now. To generate a diff of this commit: cvs rdiff -u -r1.18 -r1.19 src/sys/arch/hppa/include/types.h

CVS commit: src/sys/arch/hppa/hppa

2011-02-28 Thread Nick Hudson
Module Name:src Committed By: skrll Date: Mon Feb 28 21:24:25 UTC 2011 Modified Files: src/sys/arch/hppa/hppa: db_trace.c Log Message: Add the trapframe pointer to the syscall information. To generate a diff of this commit: cvs rdiff -u -r1.9 -r1.10

CVS commit: src

2011-02-28 Thread Adam Hamsik
Module Name:src Committed By: haad Date: Mon Feb 28 23:23:08 UTC 2011 Modified Files: src/gnu/usr.bin/groff/tmac: mdoc.local src/lib/libdm: dm.3 Log Message: Fix problems in libdm manual page pointed by njoly@ thanks for help. To generate a diff of this commit:

CVS commit: src/share/man/man4

2011-02-28 Thread Jukka Ruohonen
Module Name:src Committed By: jruoho Date: Tue Mar 1 04:45:52 UTC 2011 Modified Files: src/share/man/man4: acpicpu.4 Log Message: Update compatibility notes. To generate a diff of this commit: cvs rdiff -u -r1.25 -r1.26 src/share/man/man4/acpicpu.4 Please note that

CVS commit: src/sys/arch/x86/acpi

2011-02-28 Thread Jukka Ruohonen
Module Name:src Committed By: jruoho Date: Tue Mar 1 05:02:16 UTC 2011 Modified Files: src/sys/arch/x86/acpi: acpi_cpu_md.c Log Message: Remove the cross-call from the APERF/MPERF -function. To generate a diff of this commit: cvs rdiff -u -r1.49 -r1.50

CVS commit: src/sys/dev/acpi

2011-02-28 Thread Jukka Ruohonen
Module Name:src Committed By: jruoho Date: Tue Mar 1 05:32:03 UTC 2011 Modified Files: src/sys/dev/acpi: acpi_cpu.c acpi_cpu_cstate.c acpi_cpu_pstate.c acpi_cpu_tstate.c Log Message: Simplify by moving the debug printfs to one place. No functional change.

CVS commit: src/sys/dev/acpi

2011-02-28 Thread Jukka Ruohonen
Module Name:src Committed By: jruoho Date: Tue Mar 1 05:37:02 UTC 2011 Modified Files: src/sys/dev/acpi: acpi_cpu_cstate.c Log Message: Use __arraycount(3). To generate a diff of this commit: cvs rdiff -u -r1.47 -r1.48 src/sys/dev/acpi/acpi_cpu_cstate.c Please note

CVS commit: src/sys/dev/acpi

2011-02-28 Thread Jukka Ruohonen
Module Name:src Committed By: jruoho Date: Tue Mar 1 05:57:05 UTC 2011 Modified Files: src/sys/dev/acpi: acpi_cpu.c acpi_cpu_cstate.c acpi_cpu_pstate.c acpi_cpu_tstate.c Log Message: Move also the evcnt(9) event counters to one place. No functional change.

CVS commit: src/sys/dev/dkwedge

2011-02-28 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Mon Feb 28 18:28:20 UTC 2011 Modified Files: src/sys/dev/dkwedge: dk.c Log Message: Make error checking consistent, possibly fixes PR/44652. To generate a diff of this commit: cvs rdiff -u -r1.58 -r1.59

CVS commit: src/tests/fs/common

2011-02-28 Thread Antti Kantee
Module Name:src Committed By: pooka Date: Mon Feb 28 21:03:15 UTC 2011 Modified Files: src/tests/fs/common: fstest_nfs.c Log Message: bump nfdsargv[]�size belatedly (and add a few extra for needs of future bugs) To generate a diff of this commit: cvs rdiff -u -r1.6

CVS commit: src/tests/fs/common

2011-02-28 Thread Antti Kantee
Module Name:src Committed By: pooka Date: Mon Feb 28 21:08:13 UTC 2011 Modified Files: src/tests/fs/common: fstest_nfs.c Log Message: g/c unused variable To generate a diff of this commit: cvs rdiff -u -r1.7 -r1.8 src/tests/fs/common/fstest_nfs.c Please note that diffs

CVS commit: src/sys/arch/hppa/include

2011-02-28 Thread Nick Hudson
Module Name:src Committed By: skrll Date: Mon Feb 28 21:23:33 UTC 2011 Modified Files: src/sys/arch/hppa/include: types.h Log Message: __HAVE___LWP_GETPRIVATE_FAST works now. To generate a diff of this commit: cvs rdiff -u -r1.18 -r1.19 src/sys/arch/hppa/include/types.h

CVS commit: src/sys

2011-02-28 Thread Jukka Ruohonen
Module Name:src Committed By: jruoho Date: Tue Mar 1 04:35:48 UTC 2011 Modified Files: src/sys/arch/x86/acpi: acpi_cpu_md.c src/sys/dev/acpi: acpi_cpu.h acpi_cpu_pstate.c acpi_cpu_tstate.c Log Message: Move the xcall(9) that does the P- and T-state

CVS commit: src/sys/dev/acpi

2011-02-28 Thread Jukka Ruohonen
Module Name:src Committed By: jruoho Date: Tue Mar 1 05:37:02 UTC 2011 Modified Files: src/sys/dev/acpi: acpi_cpu_cstate.c Log Message: Use __arraycount(3). To generate a diff of this commit: cvs rdiff -u -r1.47 -r1.48 src/sys/dev/acpi/acpi_cpu_cstate.c Please note

CVS commit: src/sys/dev/acpi

2011-02-28 Thread Jukka Ruohonen
Module Name:src Committed By: jruoho Date: Tue Mar 1 05:57:05 UTC 2011 Modified Files: src/sys/dev/acpi: acpi_cpu.c acpi_cpu_cstate.c acpi_cpu_pstate.c acpi_cpu_tstate.c Log Message: Move also the evcnt(9) event counters to one place. No functional change.