CVS commit: src/lib/libcurses

2010-02-12 Thread Roy Marples
Module Name:src
Committed By:   roy
Date:   Fri Feb 12 10:06:15 UTC 2010

Modified Files:
src/lib/libcurses: cr_put.c

Log Message:
Change from scroll_forward to cursor_down.
cursor_down is more similar to our old termcap use of nl.
Fixes PR lib/42770.


To generate a diff of this commit:
cvs rdiff -u -r1.29 -r1.30 src/lib/libcurses/cr_put.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/scsipi

2010-02-12 Thread Antti Kantee
Module Name:src
Committed By:   pooka
Date:   Fri Feb 12 11:39:33 UTC 2010

Modified Files:
src/sys/dev/scsipi: scsipi_base.c

Log Message:
delay() is used here, so need to include machine/param.h.


To generate a diff of this commit:
cvs rdiff -u -r1.150 -r1.151 src/sys/dev/scsipi/scsipi_base.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/dev/lib

2010-02-12 Thread Antti Kantee
Module Name:src
Committed By:   pooka
Date:   Fri Feb 12 12:07:12 UTC 2010

Modified Files:
src/sys/rump/dev/lib/libumass: Makefile
src/sys/rump/dev/lib/libusb: Makefile
Added Files:
src/sys/rump/dev/lib/libumass: dummy.c
src/sys/rump/dev/lib/libusb: dummy.c

Log Message:
I forgot I didn't fix kern/40505 yet, and hence using delay()/DELAY()
in rumps is hard due to some archs having a colorful idea of what
they should be like.  So temporarily disable build of components
using those for non-i386 (use the no-need-to-mess-with-setlists
approach).


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/sys/rump/dev/lib/libumass/Makefile
cvs rdiff -u -r0 -r1.1 src/sys/rump/dev/lib/libumass/dummy.c
cvs rdiff -u -r1.1 -r1.2 src/sys/rump/dev/lib/libusb/Makefile
cvs rdiff -u -r0 -r1.1 src/sys/rump/dev/lib/libusb/dummy.c

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



CVS commit: [uebayasi-xip] src/sys/uvm

2010-02-12 Thread Masao Uebayashi
Module Name:src
Committed By:   uebayasi
Date:   Fri Feb 12 13:40:00 UTC 2010

Modified Files:
src/sys/uvm [uebayasi-xip]: uvm_page.h

Log Message:
Typo.


To generate a diff of this commit:
cvs rdiff -u -r1.59.2.11 -r1.59.2.12 src/sys/uvm/uvm_page.h

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



Re: CVS commit: src/sys/uvm

2010-02-12 Thread Hubert Feyrer

On Fri, 12 Feb 2010, Masao Uebayashi wrote:

Log Message:
uvm_fault_internal: Skip another long code segment (lower neighbor fault)
by a goto.


To generate a diff of this commit:
cvs rdiff -u -r1.133 -r1.134 src/sys/uvm/uvm_fault.c


Isn't this what the compiler would make anyways,
and making the code harder to read?
There's a reason modern programming doesn't advocate gotos...


I used goto there because it had the if-indented block a) was long, b) had
an important sequence of code, and c) had a very similar code fragment in
the same file.  So the intent was to make the block into a function, reduce
unnecessary differences, then kill code duplication.  (The current code is
not in a good shape yet.)


Replacing common code with a function sounds ok, but I've never seen 
either size or importance as justification of a goto.



 - Hubert


Re: CVS commit: src/sys/uvm

2010-02-12 Thread Masao Uebayashi
 Replacing common code with a function sounds ok, but I've never seen  
 either size or importance as justification of a goto.

OK.  goto is evil.  You're free to hunt all gotos in sys/netinet. ;)


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

2010-02-12 Thread Hubert Feyrer
Module Name:src
Committed By:   hubertf
Date:   Fri Feb 12 15:51:16 UTC 2010

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

Log Message:
Add PPPOE_SERVER
 - disabled (commented out) in GENERIC,
 - enabled in ALL


To generate a diff of this commit:
cvs rdiff -u -r1.237 -r1.238 src/sys/arch/i386/conf/ALL
cvs rdiff -u -r1.967 -r1.968 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: [uebayasi-xip] src/sys/uvm

2010-02-12 Thread Masao Uebayashi
Module Name:src
Committed By:   uebayasi
Date:   Fri Feb 12 16:09:56 UTC 2010

Modified Files:
src/sys/uvm [uebayasi-xip]: uvm_fault.c

Log Message:
Teach device page handling to the lower fault handler.  Skip all the paging
activities, no loaning, no wired count.  Only compile tested so far.


To generate a diff of this commit:
cvs rdiff -u -r1.166.2.1 -r1.166.2.2 src/sys/uvm/uvm_fault.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/hp700/hp700

2010-02-12 Thread Nick Hudson
Module Name:src
Committed By:   skrll
Date:   Fri Feb 12 16:57:21 UTC 2010

Modified Files:
src/sys/arch/hp700/hp700: autoconf.c

Log Message:
Typo in comment.


To generate a diff of this commit:
cvs rdiff -u -r1.31 -r1.32 src/sys/arch/hp700/hp700/autoconf.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/hp700/hp700

2010-02-12 Thread Nick Hudson
Module Name:src
Committed By:   skrll
Date:   Fri Feb 12 16:57:52 UTC 2010

Modified Files:
src/sys/arch/hp700/hp700: autoconf.c

Log Message:
Allow elroy to provide boot device.


To generate a diff of this commit:
cvs rdiff -u -r1.32 -r1.33 src/sys/arch/hp700/hp700/autoconf.c

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



CVS commit: src/lib/libc/atomic

2010-02-12 Thread David Young
Module Name:src
Committed By:   dyoung
Date:   Fri Feb 12 22:23:17 UTC 2010

Modified Files:
src/lib/libc/atomic: atomic_cas.3

Log Message:
With help from rmind@, describe the non-interlocked (*_ni) variants of
the standard atomic compare-and-swap operations.  Tell some caveats.

Manual page links, *_ni.3 - atomic_cas.3 are coming up after a
successful 'build.sh distribution'.


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/lib/libc/atomic/atomic_cas.3

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



CVS commit: src/sys/arch/hp700/hp700

2010-02-12 Thread Nick Hudson
Module Name:src
Committed By:   skrll
Date:   Fri Feb 12 22:23:40 UTC 2010

Modified Files:
src/sys/arch/hp700/hp700: mainbus.c

Log Message:
Just return if length of zero is passed to bus_dmamap_sync.


To generate a diff of this commit:
cvs rdiff -u -r1.58 -r1.59 src/sys/arch/hp700/hp700/mainbus.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/hp700/hp700

2010-02-12 Thread Nick Hudson
Module Name:src
Committed By:   skrll
Date:   Fri Feb 12 22:31:05 UTC 2010

Modified Files:
src/sys/arch/hp700/hp700: mainbus.c

Log Message:
Comment reformating and correction.


To generate a diff of this commit:
cvs rdiff -u -r1.59 -r1.60 src/sys/arch/hp700/hp700/mainbus.c

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



CVS commit: src

2010-02-12 Thread David Young
Module Name:src
Committed By:   dyoung
Date:   Fri Feb 12 22:34:38 UTC 2010

Modified Files:
src/distrib/sets/lists/comp: mi
src/lib/libc/atomic: Makefile.inc

Log Message:
Link atomic_cas.3 to atomic_cas_{32,64,ptr,uint,ulong}_ni.3.


To generate a diff of this commit:
cvs rdiff -u -r1.1390 -r1.1391 src/distrib/sets/lists/comp/mi
cvs rdiff -u -r1.1 -r1.2 src/lib/libc/atomic/Makefile.inc

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



CVS commit: src/sys/arch/hp700/hp700

2010-02-12 Thread Nick Hudson
Module Name:src
Committed By:   skrll
Date:   Fri Feb 12 22:34:39 UTC 2010

Modified Files:
src/sys/arch/hp700/hp700: mainbus.c

Log Message:
More comment fixes.


To generate a diff of this commit:
cvs rdiff -u -r1.60 -r1.61 src/sys/arch/hp700/hp700/mainbus.c

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



CVS commit: src/crypto/external/bsd/netpgp/dist/src/lib

2010-02-12 Thread Alistair G. Crooks
Module Name:src
Committed By:   agc
Date:   Sat Feb 13 00:14:00 UTC 2010

Modified Files:
src/crypto/external/bsd/netpgp/dist/src/lib: signature.h

Log Message:
let's get modern int types defined so that netpgp will build on mac os x


To generate a diff of this commit:
cvs rdiff -u -r1.15 -r1.16 \
src/crypto/external/bsd/netpgp/dist/src/lib/signature.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/usb

2010-02-12 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Sat Feb 13 02:09:41 UTC 2010

Modified Files:
src/sys/dev/usb: umass.c umass_quirks.c umassvar.h

Log Message:
Remove UMASS_QUIRK_IGNORE_RESIDUE, instead max out the expected response
size at the actual transfer length. Fixes PR kern/42225 differently.


To generate a diff of this commit:
cvs rdiff -u -r1.136 -r1.137 src/sys/dev/usb/umass.c
cvs rdiff -u -r1.78 -r1.79 src/sys/dev/usb/umass_quirks.c
cvs rdiff -u -r1.28 -r1.29 src/sys/dev/usb/umassvar.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/usb

2010-02-12 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Sat Feb 13 02:16:51 UTC 2010

Modified Files:
src/sys/dev/usb: umass.c

Log Message:
KNF


To generate a diff of this commit:
cvs rdiff -u -r1.137 -r1.138 src/sys/dev/usb/umass.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/include/machine

2010-02-12 Thread Antti Kantee
Module Name:src
Committed By:   pooka
Date:   Sat Feb 13 03:19:47 UTC 2010

Modified Files:
src/sys/rump/include/machine: bus.h

Log Message:
Add missing public members of bus_dmamap_t per interface specification
(nothing uses them here for now, so untested).


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/sys/rump/include/machine/bus.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/ic

2010-02-12 Thread Jonathan A. Kollasch
Module Name:src
Committed By:   jakllsch
Date:   Sat Feb 13 04:09:36 UTC 2010

Modified Files:
src/sys/dev/ic: nslm7x.c

Log Message:
Explicitly mark voltage readings as valid in Winbond voltage refresh functions.
This fixes forever-N/A VCore and -12V readings on my W83627THF chips.


CVS commit: src/share/man/man9

2010-02-12 Thread Thomas Klausner
Module Name:src
Committed By:   wiz
Date:   Sat Feb 13 07:44:11 UTC 2010

Modified Files:
src/share/man/man9: kmem.9

Log Message:
Bump date for new kmem_asprintf.


To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 src/share/man/man9/kmem.9

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



CVS commit: src/share/man/man9

2010-02-12 Thread Thomas Klausner
Module Name:src
Committed By:   wiz
Date:   Sat Feb 13 07:48:01 UTC 2010

Modified Files:
src/share/man/man9: vnode.9

Log Message:
Bump date for vrele_async.
Reword slightly and put it outside the vget description.


To generate a diff of this commit:
cvs rdiff -u -r1.45 -r1.46 src/share/man/man9/vnode.9

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