CVS commit: src/sys/arch/mips/mips

2011-02-22 Thread Matt Thomas
Module Name:src
Committed By:   matt
Date:   Tue Feb 22 08:18:47 UTC 2011

Modified Files:
src/sys/arch/mips/mips: mips_fixup.c

Log Message:
Always have a stub for tlb_write_indexed


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/sys/arch/mips/mips/mips_fixup.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/arch/mips/mips

2011-02-22 Thread Matt Thomas
Module Name:src
Committed By:   matt
Date:   Tue Feb 22 08:19:47 UTC 2011

Modified Files:
src/sys/arch/mips/mips: mipsX_subr.S

Log Message:
Always include mipsX_tlb_write_indexed.


To generate a diff of this commit:
cvs rdiff -u -r1.38 -r1.39 src/sys/arch/mips/mips/mipsX_subr.S

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/arch/emips

2011-02-22 Thread Matt Thomas
Module Name:src
Committed By:   matt
Date:   Tue Feb 22 08:20:20 UTC 2011

Modified Files:
src/sys/arch/emips/conf: files.emips
src/sys/arch/emips/emips: autoconf.c bus_dma.c cpu.c interrupt.c
machdep.c xilinx_ml40x.c xs_bee3.c
src/sys/arch/emips/include: intr.h sysconf.h

Log Message:
Bring emips forward to the new mips world order.


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/sys/arch/emips/conf/files.emips
cvs rdiff -u -r1.2 -r1.3 src/sys/arch/emips/emips/autoconf.c
cvs rdiff -u -r1.1 -r1.2 src/sys/arch/emips/emips/bus_dma.c \
src/sys/arch/emips/emips/cpu.c src/sys/arch/emips/emips/interrupt.c \
src/sys/arch/emips/emips/xilinx_ml40x.c \
src/sys/arch/emips/emips/xs_bee3.c
cvs rdiff -u -r1.3 -r1.4 src/sys/arch/emips/emips/machdep.c
cvs rdiff -u -r1.1 -r1.2 src/sys/arch/emips/include/intr.h \
src/sys/arch/emips/include/sysconf.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/dev/acpi

2011-02-22 Thread Jukka Ruohonen
Module Name:src
Committed By:   jruoho
Date:   Tue Feb 22 09:34:13 UTC 2011

Modified Files:
src/sys/dev/acpi: acpi_cpu_cstate.c

Log Message:
Only check if the register address in _CST is valid if the ACPI processor
object address is valid. Some systems define the Processor() as:

Scope (_PR)
{
Processor (C000, 0x00, 0x0410, 0x06) {}
Processor (C001, 0x01, 0x, 0x00) {}
Processor (C002, 0x02, 0x, 0x00) {}
Processor (C003, 0x03, 0x, 0x00) {}
}

This may be typical to AMD systems that do not seem to use _CST, but instead
operate with HLT (and C1E for the C3-state). The same check is already done
in acpicpu_cstate_fadt(). Note that this violates the specification, given:

   "PBlockAddress provides the system I/O address for the processors
register block.  Each processor can supply a different such address.
PBlockLength is the length of the processor register block, in bytes and
is either 0 (for no P_BLK) or 6.  With one exception, all processors are
required to have the same PBlockLength.  The exception is that the boot
processor can have a non-zero PBlockLength when all other processors
have a zero PBlockLength.  It is valid for every processor to have a
PBlockLength of 0. (ACPI 4.0, p. 626)"

However, if the above is not satisfied, we simply resort to HALT that should
be available on all supported x86 CPUs.


To generate a diff of this commit:
cvs rdiff -u -r1.37 -r1.38 src/sys/dev/acpi/acpi_cpu_cstate.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/dev/acpi

2011-02-22 Thread Jukka Ruohonen
Module Name:src
Committed By:   jruoho
Date:   Tue Feb 22 09:39:48 UTC 2011

Modified Files:
src/sys/dev/acpi: acpi_cpu_cstate.c

Log Message:
Always declare HALT as available. If ACPI_FADT_C1_SUPPORTED is not
set in the FADT, print a warning, as it is obviously a BIOS bug.


To generate a diff of this commit:
cvs rdiff -u -r1.38 -r1.39 src/sys/dev/acpi/acpi_cpu_cstate.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/kern

2011-02-22 Thread Antti Kantee
Module Name:src
Committed By:   pooka
Date:   Tue Feb 22 10:33:12 UTC 2011

Modified Files:
src/sys/kern: makesyscalls.sh

Log Message:
Use the whole contents of rval instead of just rval[0] for rump
syscall return.  Fixes at least lseek() on various architectures
in various ways.


To generate a diff of this commit:
cvs rdiff -u -r1.112 -r1.113 src/sys/kern/makesyscalls.sh

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/rump

2011-02-22 Thread Antti Kantee
Module Name:src
Committed By:   pooka
Date:   Tue Feb 22 10:34:06 UTC 2011

Modified Files:
src/sys/rump/include/rump: rump_syscalls.h
src/sys/rump/librump/rumpkern: rump_syscalls.c

Log Message:
regen: cast rval to return type instead of just using rval[0]


To generate a diff of this commit:
cvs rdiff -u -r1.43 -r1.44 src/sys/rump/include/rump/rump_syscalls.h
cvs rdiff -u -r1.65 -r1.66 src/sys/rump/librump/rumpkern/rump_syscalls.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/external/bsd/iscsi/dist/src/initiator

2011-02-22 Thread Stephen Borrill
Module Name:src
Committed By:   sborrill
Date:   Tue Feb 22 10:34:13 UTC 2011

Modified Files:
src/external/bsd/iscsi/dist/src/initiator: iscsi-initiator.8

Log Message:
Document -D option (discover LUNs).
iscsi-initiator was NOT in NetBSD 5.0.


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 \
src/external/bsd/iscsi/dist/src/initiator/iscsi-initiator.8

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/tests/rump/rumpvfs

2011-02-22 Thread Antti Kantee
Module Name:src
Committed By:   pooka
Date:   Tue Feb 22 10:36:14 UTC 2011

Modified Files:
src/tests/rump/rumpvfs: Makefile
Added Files:
src/tests/rump/rumpvfs: t_basic.c

Log Message:
test lseek return value (off_t, might be >register_t)


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/tests/rump/rumpvfs/Makefile
cvs rdiff -u -r0 -r1.1 src/tests/rump/rumpvfs/t_basic.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/distrib/sets/lists/tests

2011-02-22 Thread Antti Kantee
Module Name:src
Committed By:   pooka
Date:   Tue Feb 22 10:37:05 UTC 2011

Modified Files:
src/distrib/sets/lists/tests: mi

Log Message:
+tp


To generate a diff of this commit:
cvs rdiff -u -r1.251 -r1.252 src/distrib/sets/lists/tests/mi

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/external/bsd/iscsi

2011-02-22 Thread Stephen Borrill
Module Name:src
Committed By:   sborrill
Date:   Tue Feb 22 12:56:50 UTC 2011

Modified Files:
src/external/bsd/iscsi: mkdist

Log Message:
Skip .orig files


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/external/bsd/iscsi/mkdist

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/external/bsd/iscsi/dist

2011-02-22 Thread Stephen Borrill
Module Name:src
Committed By:   sborrill
Date:   Tue Feb 22 13:00:06 UTC 2011

Modified Files:
src/external/bsd/iscsi/dist: configure configure.ac
src/external/bsd/iscsi/dist/include: config.h

Log Message:
Release 20110222


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 src/external/bsd/iscsi/dist/configure
cvs rdiff -u -r1.5 -r1.6 src/external/bsd/iscsi/dist/configure.ac
cvs rdiff -u -r1.2 -r1.3 src/external/bsd/iscsi/dist/include/config.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/kern

2011-02-22 Thread Antti Kantee
Module Name:src
Committed By:   pooka
Date:   Tue Feb 22 13:04:22 UTC 2011

Modified Files:
src/sys/kern: makesyscalls.sh

Log Message:
revert previous fix.  it's not 100% correct and some compilers setups
complain about the generated code.

pointed out by mrg


To generate a diff of this commit:
cvs rdiff -u -r1.113 -r1.114 src/sys/kern/makesyscalls.sh

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/external/bsd/iscsi/dist/src/initiator

2011-02-22 Thread Stephen Borrill
Module Name:src
Committed By:   sborrill
Date:   Tue Feb 22 13:04:31 UTC 2011

Modified Files:
src/external/bsd/iscsi/dist/src/initiator: iscsi-initiator.c

Log Message:
Retry read capacity. Device may not be ready on first access, so need to
wait and re-issue. From Daisuke Aoyama (author of istgt).


To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 \
src/external/bsd/iscsi/dist/src/initiator/iscsi-initiator.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/rump

2011-02-22 Thread Antti Kantee
Module Name:src
Committed By:   pooka
Date:   Tue Feb 22 13:05:07 UTC 2011

Modified Files:
src/sys/rump/include/rump: rump_syscalls.h
src/sys/rump/librump/rumpkern: rump_syscalls.c

Log Message:
unregen


To generate a diff of this commit:
cvs rdiff -u -r1.44 -r1.45 src/sys/rump/include/rump/rump_syscalls.h
cvs rdiff -u -r1.66 -r1.67 src/sys/rump/librump/rumpkern/rump_syscalls.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/external/bsd/iscsi/dist/src/lib

2011-02-22 Thread Stephen Borrill
Module Name:src
Committed By:   sborrill
Date:   Tue Feb 22 13:10:55 UTC 2011

Modified Files:
src/external/bsd/iscsi/dist/src/lib: initiator.c protocol.c

Log Message:
Skip target if TargetName is empty.
Use relevant TargetAddress, not just first one we happen to find.

Following improvement based on feedback from Daisuke Aoyama (author of istgt):
Handle NOP-OUT CmdSN and immediate bit.
Handle NOP-IN TransferTag=0x.
Interim solution for dealing with Underflow bit in iSCSI response.

iscsi-initiator now talks to istgt and other targets.

Remaining issues:
CHAP support will not work with most targets (maximum 16 octet challenge is
used, but other initiators use up to 1024). However, CHAP can now be
bypassed by not specifying a username.


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 src/external/bsd/iscsi/dist/src/lib/initiator.c
cvs rdiff -u -r1.1 -r1.2 src/external/bsd/iscsi/dist/src/lib/protocol.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/external/bsd/iscsi/dist/src/initiator

2011-02-22 Thread Stephen Borrill
Module Name:src
Committed By:   sborrill
Date:   Tue Feb 22 13:17:20 UTC 2011

Modified Files:
src/external/bsd/iscsi/dist/src/initiator: iscsi-initiator.8

Log Message:
Note limitations of CHAP implementation in BUGS section.


To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 \
src/external/bsd/iscsi/dist/src/initiator/iscsi-initiator.8

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/tests/rump/rumpvfs

2011-02-22 Thread Antti Kantee
Module Name:src
Committed By:   pooka
Date:   Tue Feb 22 13:25:18 UTC 2011

Modified Files:
src/tests/rump/rumpvfs: t_basic.c

Log Message:
One more lseek test case: in case of an error, check rv == -1
(so that it's not e.g UINT_MAX).


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/tests/rump/rumpvfs/t_basic.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/lib/librumpclient

2011-02-22 Thread Antti Kantee
Module Name:src
Committed By:   pooka
Date:   Tue Feb 22 14:02:55 UTC 2011

Modified Files:
src/lib/librumpclient: Makefile

Log Message:
Disable string aliasing for rump_syscalls.c.  I can't figure out
how to otherwise make the kernel's register_t coreography to work
with the return value here in a MI fashion.


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/lib/librumpclient/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/rump

2011-02-22 Thread Antti Kantee
Module Name:src
Committed By:   pooka
Date:   Tue Feb 22 14:09:35 UTC 2011

Modified Files:
src/sys/rump/include/rump: rump_syscalls.h
src/sys/rump/librump/rumpkern: rump_syscalls.c

Log Message:
omstart


To generate a diff of this commit:
cvs rdiff -u -r1.46 -r1.47 src/sys/rump/include/rump/rump_syscalls.h
cvs rdiff -u -r1.68 -r1.69 src/sys/rump/librump/rumpkern/rump_syscalls.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/kern

2011-02-22 Thread Antti Kantee
Module Name:src
Committed By:   pooka
Date:   Tue Feb 22 14:08:58 UTC 2011

Modified Files:
src/sys/kern: makesyscalls.sh

Log Message:
Get rid of one explicit typecast in previous and let the compiler
figure it out.


To generate a diff of this commit:
cvs rdiff -u -r1.115 -r1.116 src/sys/kern/makesyscalls.sh

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/kern

2011-02-22 Thread Antti Kantee
Module Name:src
Committed By:   pooka
Date:   Tue Feb 22 14:05:20 UTC 2011

Modified Files:
src/sys/kern: makesyscalls.sh

Log Message:
Redo the register_t casting, but include a provision to make the
case where sizeof(rv) < sizeof(register_t) work.  Hopefully it
works now everywhere.  Only tests will show ...


To generate a diff of this commit:
cvs rdiff -u -r1.114 -r1.115 src/sys/kern/makesyscalls.sh

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/rump

2011-02-22 Thread Antti Kantee
Module Name:src
Committed By:   pooka
Date:   Tue Feb 22 14:06:30 UTC 2011

Modified Files:
src/sys/rump/include/rump: rump_syscalls.h
src/sys/rump/librump/rumpkern: rump_syscalls.c

Log Message:
regenagain: make returning off_t work (without breaking other return
types on some archs)


To generate a diff of this commit:
cvs rdiff -u -r1.45 -r1.46 src/sys/rump/include/rump/rump_syscalls.h
cvs rdiff -u -r1.67 -r1.68 src/sys/rump/librump/rumpkern/rump_syscalls.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/external/bsd/iscsi/dist/src/initiator

2011-02-22 Thread Thomas Klausner
Module Name:src
Committed By:   wiz
Date:   Tue Feb 22 14:23:37 UTC 2011

Modified Files:
src/external/bsd/iscsi/dist/src/initiator: iscsi-initiator.8

Log Message:
Markup fix.


To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 \
src/external/bsd/iscsi/dist/src/initiator/iscsi-initiator.8

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/usr.bin/touch

2011-02-22 Thread Antti Kantee
Module Name:src
Committed By:   pooka
Date:   Tue Feb 22 15:03:30 UTC 2011

Modified Files:
src/usr.bin/touch: touch.1 touch.c

Log Message:
-f no longer has effect.  from Snader_LB on irc.


To generate a diff of this commit:
cvs rdiff -u -r1.16 -r1.17 src/usr.bin/touch/touch.1
cvs rdiff -u -r1.28 -r1.29 src/usr.bin/touch/touch.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/lib/libukfs

2011-02-22 Thread Antti Kantee
Module Name:src
Committed By:   pooka
Date:   Tue Feb 22 15:42:15 UTC 2011

Modified Files:
src/lib/libukfs: ukfs.c ukfs_disklabel.c ukfs_int_disklabel.h

Log Message:
Add support for a byteswapped disklabel so that I can mount
NetBSD/sparc anita images on my i386.


To generate a diff of this commit:
cvs rdiff -u -r1.56 -r1.57 src/lib/libukfs/ukfs.c
cvs rdiff -u -r1.2 -r1.3 src/lib/libukfs/ukfs_disklabel.c \
src/lib/libukfs/ukfs_int_disklabel.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/usr.bin/touch

2011-02-22 Thread Thomas Klausner
Module Name:src
Committed By:   wiz
Date:   Tue Feb 22 15:47:02 UTC 2011

Modified Files:
src/usr.bin/touch: touch.1

Log Message:
Sort sections.


To generate a diff of this commit:
cvs rdiff -u -r1.17 -r1.18 src/usr.bin/touch/touch.1

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/usr.bin/rump_allserver

2011-02-22 Thread Antti Kantee
Module Name:src
Committed By:   pooka
Date:   Tue Feb 22 15:51:59 UTC 2011

Modified Files:
src/usr.bin/rump_allserver: rump_allserver.c

Log Message:
* at least try to query size of non-regular size=host files too,
  give up if we get 0
* fix a few error messages


To generate a diff of this commit:
cvs rdiff -u -r1.20 -r1.21 src/usr.bin/rump_allserver/rump_allserver.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/dev/acpi

2011-02-22 Thread Jukka Ruohonen
Module Name:src
Committed By:   jruoho
Date:   Tue Feb 22 16:05:31 UTC 2011

Modified Files:
src/sys/dev/acpi: acpi_cpu_cstate.c

Log Message:
After a closer examination, remove entirely the check that was considered in
the revision 1.38. As noted in the specification (ACPI 4.0, p. 314):

  The platform must expose a _CST object for either all or none of its
  processors. If the _CST object exists, OSPM uses the C state information
  specified in the _CST object in lieu of P_LVL2 and P_LVL3 registers
  defined in P_BLK and the P_LVLx_LAT values defined in the FADT.

The _CST is seemingly valid on the system under consideration:

Name (_CST, Package (0x02)
{
0x01,
Package (0x04)
{
ResourceTemplate ()
{
Register (SystemIO,
0x08,   // Bit Width
0x00,   // Bit Offset
0xF800, // Address
0x01,   // Access Size
)
},

0x02,
0x0064,
0x
}
})

The check was also unnecessary in the sense that ACPI doesn't use bus_space(9).


To generate a diff of this commit:
cvs rdiff -u -r1.39 -r1.40 src/sys/dev/acpi/acpi_cpu_cstate.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/dev/acpi

2011-02-22 Thread Jared D. McNeill
Module Name:src
Committed By:   jmcneill
Date:   Tue Feb 22 16:39:05 UTC 2011

Modified Files:
src/sys/dev/acpi: acpi_cpu_cstate.c

Log Message:
make this build again


To generate a diff of this commit:
cvs rdiff -u -r1.40 -r1.41 src/sys/dev/acpi/acpi_cpu_cstate.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/external/bsd/iscsi/dist/src/initiator

2011-02-22 Thread Stephen Borrill
Module Name:src
Committed By:   sborrill
Date:   Tue Feb 22 17:15:55 UTC 2011

Modified Files:
src/external/bsd/iscsi/dist/src/initiator: iscsi-initiator.8

Log Message:
Update HISTORY to show that iscsifs was in NetBSD 5.0


To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.8 \
src/external/bsd/iscsi/dist/src/initiator/iscsi-initiator.8

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/dev/acpi

2011-02-22 Thread Jukka Ruohonen
Module Name:src
Committed By:   jruoho
Date:   Tue Feb 22 17:16:04 UTC 2011

Modified Files:
src/sys/dev/acpi: acpi_cpu_cstate.c

Log Message:
Yet another small fix to the C-state parsing. As can be seen from the _CST
object noted in the revision 1.40, there is only one C-state on the machine,
yet the BIOS define its type as C2. Thus, instead of relying on the BIOS
data, sequentially count the parsed C-states.


To generate a diff of this commit:
cvs rdiff -u -r1.41 -r1.42 src/sys/dev/acpi/acpi_cpu_cstate.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/dev/acpi

2011-02-22 Thread Jukka Ruohonen
Module Name:src
Committed By:   jruoho
Date:   Tue Feb 22 17:19:58 UTC 2011

Modified Files:
src/sys/dev/acpi: acpi_cpu_cstate.c

Log Message:
Fix previous. Not my day.


To generate a diff of this commit:
cvs rdiff -u -r1.42 -r1.43 src/sys/dev/acpi/acpi_cpu_cstate.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/lib/librumpclient

2011-02-22 Thread Matthias Scheler
Module Name:src
Committed By:   tron
Date:   Tue Feb 22 17:32:49 UTC 2011

Modified Files:
src/lib/librumpclient: Makefile

Log Message:
Remove "NOLINT" setting that was apparently committed by accident and
breaks the build.


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 src/lib/librumpclient/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/tests/fs

2011-02-22 Thread Antti Kantee
Module Name:src
Committed By:   pooka
Date:   Tue Feb 22 18:41:05 UTC 2011

Modified Files:
src/tests/fs/hfs: t_pathconvert.c
src/tests/fs/lfs: t_pr.c

Log Message:
make the timeouts a bit more generous for really slow systems


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/tests/fs/hfs/t_pathconvert.c
cvs rdiff -u -r1.5 -r1.6 src/tests/fs/lfs/t_pr.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/rump/librump/rumpkern

2011-02-22 Thread Antti Kantee
Module Name:src
Committed By:   pooka
Date:   Tue Feb 22 18:43:20 UTC 2011

Modified Files:
src/sys/rump/librump/rumpkern: vm.c

Log Message:
complete the incomplete pagesize rototill


To generate a diff of this commit:
cvs rdiff -u -r1.111 -r1.112 src/sys/rump/librump/rumpkern/vm.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/common/lib/libc/arch/sparc/atomic

2011-02-22 Thread Antti Kantee
Module Name:src
Committed By:   pooka
Date:   Tue Feb 22 18:45:10 UTC 2011

Modified Files:
src/common/lib/libc/arch/sparc/atomic: atomic_cas.S

Log Message:
Add PIC variant for fetching the lock address.

librump.so now works on sparc


To generate a diff of this commit:
cvs rdiff -u -r1.10 -r1.11 src/common/lib/libc/arch/sparc/atomic/atomic_cas.S

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/rump/librump

2011-02-22 Thread Antti Kantee
Module Name:src
Committed By:   pooka
Date:   Tue Feb 22 20:17:38 UTC 2011

Modified Files:
src/sys/rump/librump/rumpkern: vm.c
src/sys/rump/librump/rumpvfs: vm_vfs.c

Log Message:
Shuffle the pagedaemon algorithm a bit to record the number of
pageouts active and give up only if the pagedaemon could not free
memory and there are no outstanding pageouts.

This should fix the "out of memory" pauses reported by Mihai Chelaru
and Taylor R Campbell.  Tested by copying files to and from an ffs
backed by /dev/wd0 (with and without -o log) using a 1MB rump kernel
memory limit.


To generate a diff of this commit:
cvs rdiff -u -r1.112 -r1.113 src/sys/rump/librump/rumpkern/vm.c
cvs rdiff -u -r1.24 -r1.25 src/sys/rump/librump/rumpvfs/vm_vfs.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/ufs/ffs

2011-02-22 Thread Havard Eidnes
Module Name:src
Committed By:   he
Date:   Tue Feb 22 20:25:54 UTC 2011

Modified Files:
src/sys/ufs/ffs: ffs_snapshot.c

Log Message:
Move blocks_in_journal() in under #ifndef FFS_NO_SNAPSHOT, all uses
are under that ifdef anyway; this allows build with FFS_NO_SNAPSHOT defined.


To generate a diff of this commit:
cvs rdiff -u -r1.106 -r1.107 src/sys/ufs/ffs/ffs_snapshot.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/dev/pci

2011-02-22 Thread David Young
Module Name:src
Committed By:   dyoung
Date:   Tue Feb 22 21:19:32 UTC 2011

Modified Files:
src/sys/dev/pci: if_wm.c

Log Message:
Use /*FALLTHROUGH*/.


To generate a diff of this commit:
cvs rdiff -u -r1.219 -r1.220 src/sys/dev/pci/if_wm.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/tests/fs/vfs

2011-02-22 Thread YAMAMOTO Takashi
Module Name:src
Committed By:   yamt
Date:   Tue Feb 22 21:23:20 UTC 2011

Modified Files:
src/tests/fs/vfs: t_ro.c t_vnops.c

Log Message:
add some tests


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 src/tests/fs/vfs/t_ro.c
cvs rdiff -u -r1.13 -r1.14 src/tests/fs/vfs/t_vnops.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src

2011-02-22 Thread YAMAMOTO Takashi
Module Name:src
Committed By:   yamt
Date:   Tue Feb 22 21:31:16 UTC 2011

Added Files:
src/common/lib/libc/gen: radixtree.c
src/sys/sys: radixtree.h

Log Message:
an implementation of radix tree.  the idea from linux.


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 src/common/lib/libc/gen/radixtree.c
cvs rdiff -u -r0 -r1.1 src/sys/sys/radixtree.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/dev/pci

2011-02-22 Thread Jared D. McNeill
Module Name:src
Committed By:   jmcneill
Date:   Tue Feb 22 23:20:16 UTC 2011

Modified Files:
src/sys/dev/pci: pcidevs

Log Message:
Add Atheros AR8132, AR8151, AR8151 v2.0, AR8152 v1.1, and AR8152 v2.0


To generate a diff of this commit:
cvs rdiff -u -r1.1060 -r1.1061 src/sys/dev/pci/pcidevs

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/dev/pci

2011-02-22 Thread Jared D. McNeill
Module Name:src
Committed By:   jmcneill
Date:   Tue Feb 22 23:20:53 UTC 2011

Modified Files:
src/sys/dev/pci: pcidevs.h pcidevs_data.h

Log Message:
regen


To generate a diff of this commit:
cvs rdiff -u -r1.1057 -r1.1058 src/sys/dev/pci/pcidevs.h
cvs rdiff -u -r1.1056 -r1.1057 src/sys/dev/pci/pcidevs_data.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/arch/i386/conf

2011-02-22 Thread David Young
Module Name:src
Committed By:   dyoung
Date:   Tue Feb 22 23:57:22 UTC 2011

Modified Files:
src/sys/arch/i386/conf: ALL

Log Message:
Add CardBus to PCI bridge, ppb at cardbus, but comment it out for now.


To generate a diff of this commit:
cvs rdiff -u -r1.291 -r1.292 src/sys/arch/i386/conf/ALL

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/dev/pci

2011-02-22 Thread Jared D. McNeill
Module Name:src
Committed By:   jmcneill
Date:   Wed Feb 23 00:35:30 UTC 2011

Modified Files:
src/sys/dev/pci: files.pci
Added Files:
src/sys/dev/pci: if_alc.c if_alcreg.h

Log Message:
add network driver for Atheros AR813x/AR815x ethernet controllers, based
on a patch from fire crow on tech-net with additional bpf & detach fixes,
module support, and a match for 8152 v2.0 devices.

alc0 at pci3 dev 0 function 0: Attansic/Atheros L1C/L2C Ethernet
alc0: ioapic0 pin 17
alc0: Ethernet address 00:26:6c:9e:d4:c1
ukphy0 at alc0 phy 0: L2 10/100 PHY (OUI 0x00c82e, model 0x0002), rev. 5
ukphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT-FDX, auto


To generate a diff of this commit:
cvs rdiff -u -r1.338 -r1.339 src/sys/dev/pci/files.pci
cvs rdiff -u -r0 -r1.1 src/sys/dev/pci/if_alc.c src/sys/dev/pci/if_alcreg.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/modules/if_alc

2011-02-22 Thread Jared D. McNeill
Module Name:src
Committed By:   jmcneill
Date:   Wed Feb 23 00:36:51 UTC 2011

Added Files:
src/sys/modules/if_alc: Makefile if_alc.ioconf

Log Message:
module glue for alc@pci


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 src/sys/modules/if_alc/Makefile \
src/sys/modules/if_alc/if_alc.ioconf

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/arch/i386/conf

2011-02-22 Thread Jared D. McNeill
Module Name:src
Committed By:   jmcneill
Date:   Wed Feb 23 00:45:56 UTC 2011

Modified Files:
src/sys/arch/i386/conf: ALL GENERIC

Log Message:
add alc@pci


To generate a diff of this commit:
cvs rdiff -u -r1.292 -r1.293 src/sys/arch/i386/conf/ALL
cvs rdiff -u -r1.1019 -r1.1020 src/sys/arch/i386/conf/GENERIC

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/arch/amd64/conf

2011-02-22 Thread Jared D. McNeill
Module Name:src
Committed By:   jmcneill
Date:   Wed Feb 23 00:46:29 UTC 2011

Modified Files:
src/sys/arch/amd64/conf: GENERIC

Log Message:
add alc@pci


To generate a diff of this commit:
cvs rdiff -u -r1.311 -r1.312 src/sys/arch/amd64/conf/GENERIC

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/doc

2011-02-22 Thread Takahiro Kambe
Module Name:src
Committed By:   taca
Date:   Wed Feb 23 01:09:18 UTC 2011

Modified Files:
src/doc: 3RDPARTY

Log Message:
Postfix 2.8.1 has released.


To generate a diff of this commit:
cvs rdiff -u -r1.814 -r1.815 src/doc/3RDPARTY

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/usr.sbin/mrouted

2011-02-22 Thread David Young
Module Name:src
Committed By:   dyoung
Date:   Wed Feb 23 01:23:04 UTC 2011

Modified Files:
src/usr.sbin/mrouted: defs.h kern.c

Log Message:
Don't use bool as a variable name.

Remove a bunch of parameter names form function prototypes.


To generate a diff of this commit:
cvs rdiff -u -r1.14 -r1.15 src/usr.sbin/mrouted/defs.h
cvs rdiff -u -r1.10 -r1.11 src/usr.sbin/mrouted/kern.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/dev/pci

2011-02-22 Thread Jared D. McNeill
Module Name:src
Committed By:   jmcneill
Date:   Wed Feb 23 02:25:04 UTC 2011

Modified Files:
src/sys/dev/pci: if_alc.c if_alcreg.h

Log Message:
catch up with FreeBSD driver, adds support for AR815x chips


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/sys/dev/pci/if_alc.c src/sys/dev/pci/if_alcreg.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src

2011-02-22 Thread Jared D. McNeill
Module Name:src
Committed By:   jmcneill
Date:   Wed Feb 23 02:47:46 UTC 2011

Modified Files:
src/distrib/sets/lists/man: mi
src/share/man/man4: Makefile
Added Files:
src/share/man/man4: alc.4

Log Message:
add alc(4) man page


To generate a diff of this commit:
cvs rdiff -u -r1.1290 -r1.1291 src/distrib/sets/lists/man/mi
cvs rdiff -u -r1.552 -r1.553 src/share/man/man4/Makefile
cvs rdiff -u -r0 -r1.1 src/share/man/man4/alc.4

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/doc

2011-02-22 Thread Jared D. McNeill
Module Name:src
Committed By:   jmcneill
Date:   Wed Feb 23 02:49:55 UTC 2011

Modified Files:
src/doc: CHANGES

Log Message:
alc(4): Add a driver for Atheros AR813x/AR815x Ethernet.


To generate a diff of this commit:
cvs rdiff -u -r1.1513 -r1.1514 src/doc/CHANGES

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys

2011-02-22 Thread Joerg Sonnenberger
Module Name:src
Committed By:   joerg
Date:   Wed Feb 23 02:58:40 UTC 2011

Modified Files:
src/sys/arch/amd64/amd64: netbsd32_machdep.c
src/sys/arch/amd64/include: mcontext.h
src/sys/arch/arm/include: mcontext.h
src/sys/arch/i386/include: mcontext.h
src/sys/arch/m68k/include: mcontext.h
src/sys/compat/sys: ucontext.h
src/sys/sys: ucontext.h

Log Message:
Fix ucontext32_t on AMD64. Add optional compile time assertions for
ucontext_t and ucontext32_t to ensure that they don't change.
Provide the constants for AMD64, ARM, i386, and M68K.


To generate a diff of this commit:
cvs rdiff -u -r1.70 -r1.71 src/sys/arch/amd64/amd64/netbsd32_machdep.c
cvs rdiff -u -r1.11 -r1.12 src/sys/arch/amd64/include/mcontext.h
cvs rdiff -u -r1.6 -r1.7 src/sys/arch/arm/include/mcontext.h
cvs rdiff -u -r1.7 -r1.8 src/sys/arch/i386/include/mcontext.h
cvs rdiff -u -r1.6 -r1.7 src/sys/arch/m68k/include/mcontext.h
cvs rdiff -u -r1.3 -r1.4 src/sys/compat/sys/ucontext.h
cvs rdiff -u -r1.12 -r1.13 src/sys/sys/ucontext.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src

2011-02-22 Thread Joerg Sonnenberger
Module Name:src
Committed By:   joerg
Date:   Wed Feb 23 03:09:05 UTC 2011

Modified Files:
src/external/bsd/llvm: Makefile.inc
src/external/bsd/llvm/bin/clang: Makefile
src/external/bsd/llvm/bin/tblgen: Makefile
src/external/bsd/llvm/lib: Makefile
src/external/bsd/llvm/lib/libLLVMTarget: Makefile
src/external/bsd/llvm/lib/libclangStaticAnalyzerCheckers: Makefile
Added Files:
src/external/bsd/llvm/lib/libLLVMX86Utils: Makefile
src/tools/llvm-lib/libLLVMX86Utils: Makefile

Log Message:
Update LLVM/Clang snapshot. This brings improvements for the integrated
assembler and support for -cxx-isystem in the driver.


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/external/bsd/llvm/Makefile.inc
cvs rdiff -u -r1.2 -r1.3 src/external/bsd/llvm/bin/clang/Makefile
cvs rdiff -u -r1.2 -r1.3 src/external/bsd/llvm/bin/tblgen/Makefile
cvs rdiff -u -r1.2 -r1.3 src/external/bsd/llvm/lib/Makefile
cvs rdiff -u -r1.1 -r1.2 src/external/bsd/llvm/lib/libLLVMTarget/Makefile
cvs rdiff -u -r0 -r1.1 src/external/bsd/llvm/lib/libLLVMX86Utils/Makefile
cvs rdiff -u -r1.2 -r1.3 \
src/external/bsd/llvm/lib/libclangStaticAnalyzerCheckers/Makefile
cvs rdiff -u -r0 -r1.1 src/tools/llvm-lib/libLLVMX86Utils/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/dev/mii

2011-02-22 Thread Jared D. McNeill
Module Name:src
Committed By:   jmcneill
Date:   Wed Feb 23 03:22:44 UTC 2011

Modified Files:
src/sys/dev/mii: atphy.c

Log Message:
match on MII_MODEL_ATTANSIC_L2

alc0 at pci3 dev 0 function 0: Atheros AR8152 v2.0 PCIe Fast Ethernet
alc0: ioapic0 pin 17
alc0: Ethernet address 00:26:6c:9e:d4:c1
atphy0 at alc0 phy 0: L2 10/100 PHY, rev. 5
atphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT-FDX, auto


To generate a diff of this commit:
cvs rdiff -u -r1.9 -r1.10 src/sys/dev/mii/atphy.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/arch/amd64/amd64

2011-02-22 Thread Joerg Sonnenberger
Module Name:src
Committed By:   joerg
Date:   Wed Feb 23 03:31:49 UTC 2011

Modified Files:
src/sys/arch/amd64/amd64: netbsd32_machdep.c

Log Message:
C&P error


To generate a diff of this commit:
cvs rdiff -u -r1.71 -r1.72 src/sys/arch/amd64/amd64/netbsd32_machdep.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/dev/acpi

2011-02-22 Thread Jukka Ruohonen
Module Name:src
Committed By:   jruoho
Date:   Wed Feb 23 06:02:00 UTC 2011

Modified Files:
src/sys/dev/acpi: acpi_cpu_cstate.c

Log Message:
Adjust the previous and add a comment for it.


To generate a diff of this commit:
cvs rdiff -u -r1.43 -r1.44 src/sys/dev/acpi/acpi_cpu_cstate.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/external/mit/xorg/lib/libxcb/libxcb

2011-02-22 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Wed Feb 23 06:04:31 UTC 2011

Modified Files:
src/external/mit/xorg/lib/libxcb/libxcb: Makefile

Log Message:
libxcb doesn't need or want to link against libXaw.  avoids
implicit cyclic dependancy loops, which crash rtld right now.


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/external/mit/xorg/lib/libxcb/libxcb/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/dev/acpi

2011-02-22 Thread Jukka Ruohonen
Module Name:src
Committed By:   jruoho
Date:   Wed Feb 23 06:17:55 UTC 2011

Modified Files:
src/sys/dev/acpi: acpi_cpu_pstate.c acpi_cpu_tstate.c

Log Message:
Lower the worst-case latency in P- and T-state transitions to 1 usec.
The previous 10 usec was based on the Intel's Core family. It may have been
improved since that. Also provide an arbitrary upper bound for BIOS bugs.


To generate a diff of this commit:
cvs rdiff -u -r1.37 -r1.38 src/sys/dev/acpi/acpi_cpu_pstate.c
cvs rdiff -u -r1.20 -r1.21 src/sys/dev/acpi/acpi_cpu_tstate.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/arch/mips/mips

2011-02-22 Thread Matt Thomas
Module Name:src
Committed By:   matt
Date:   Wed Feb 23 07:03:50 UTC 2011

Modified Files:
src/sys/arch/mips/mips: mipsX_subr.S

Log Message:
Remove a few more lines that should have been removed in the previous commit


To generate a diff of this commit:
cvs rdiff -u -r1.39 -r1.40 src/sys/arch/mips/mips/mipsX_subr.S

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



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

2011-02-22 Thread Matt Thomas
Module Name:src
Committed By:   matt
Date:   Wed Feb 23 07:47:10 UTC 2011

Modified Files:
src/sys/arch/mips/include: mcontext.h

Log Message:
Add __UCONTEXT*_SIZE*


To generate a diff of this commit:
cvs rdiff -u -r1.12 -r1.13 src/sys/arch/mips/include/mcontext.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src

2011-02-22 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Wed Feb 23 07:53:30 UTC 2011

Modified Files:
src/distrib/sets/lists/xbase: shl.mi
src/distrib/sets/lists/xcomp: mi shl.mi
src/external/mit/xorg/lib/libX11: Makefile Makefile.libx11
src/external/mit/xorg/lib/libX11/dynamic: Makefile
Added Files:
src/external/mit/xorg/lib/libX11/libX11-xcb: Makefile shlib_version

Log Message:
enable USE_XCB in libX11.
install missing libX11-xcb and Xlib-xcb.h.


To generate a diff of this commit:
cvs rdiff -u -r1.41 -r1.42 src/distrib/sets/lists/xbase/shl.mi
cvs rdiff -u -r1.122 -r1.123 src/distrib/sets/lists/xcomp/mi
cvs rdiff -u -r1.27 -r1.28 src/distrib/sets/lists/xcomp/shl.mi
cvs rdiff -u -r1.10 -r1.11 src/external/mit/xorg/lib/libX11/Makefile
cvs rdiff -u -r1.7 -r1.8 src/external/mit/xorg/lib/libX11/Makefile.libx11
cvs rdiff -u -r1.1.1.1 -r1.2 \
src/external/mit/xorg/lib/libX11/dynamic/Makefile
cvs rdiff -u -r0 -r1.1 src/external/mit/xorg/lib/libX11/libX11-xcb/Makefile \
src/external/mit/xorg/lib/libX11/libX11-xcb/shlib_version

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.