CVS commit: src/sys/arch/arm/broadcom

2014-10-05 Thread Nick Hudson
Module Name:src
Committed By:   skrll
Date:   Mon Oct  6 06:59:20 UTC 2014

Modified Files:
src/sys/arch/arm/broadcom: bcm2835_vcaudio.c

Log Message:
Some improvements that make playback mostly reliable for me - the final
piece of the jigaw is probably in vchiq:

- prefill vchiq with a number (currently 2) blocks of audio before
  starting

- use a kthread as workqueue isn't suited to our usage.

- don't drain on stopping as for some reason it leaves data behind.


To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 src/sys/arch/arm/broadcom/bcm2835_vcaudio.c

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



CVS commit: src/sys/fs/puffs

2014-10-05 Thread Emmanuel Dreyfus
Module Name:src
Committed By:   manu
Date:   Mon Oct  6 04:41:59 UTC 2014

Modified Files:
src/sys/fs/puffs: puffs_vnops.c

Log Message:
Improve zero-fill of last page after shrink fix:
1) do it only if the file is open for writing, otherwise we send write
requests to the FS on a file that has never been open.
2) do it inside existing if (vap->va_size != VNOVAL) block


To generate a diff of this commit:
cvs rdiff -u -r1.189 -r1.190 src/sys/fs/puffs/puffs_vnops.c

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



CVS commit: src/usr.sbin/crash

2014-10-05 Thread Thomas Klausner
Module Name:src
Committed By:   wiz
Date:   Sun Oct  5 23:08:01 UTC 2014

Modified Files:
src/usr.sbin/crash: crash.8 crash.c

Log Message:
usage police
XXX: is the program usage correct? (/dev/ksyms)


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 src/usr.sbin/crash/crash.8
cvs rdiff -u -r1.6 -r1.7 src/usr.sbin/crash/crash.c

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



CVS commit: src/usr.sbin/crash

2014-10-05 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Sun Oct  5 22:58:43 UTC 2014

Modified Files:
src/usr.sbin/crash: crash.8 crash.c

Log Message:
add -w


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/usr.sbin/crash/crash.8
cvs rdiff -u -r1.5 -r1.6 src/usr.sbin/crash/crash.c

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



CVS commit: src/sys/fs/puffs

2014-10-05 Thread Alan Barrett
Module Name:src
Committed By:   apb
Date:   Sun Oct  5 20:40:46 UTC 2014

Modified Files:
src/sys/fs/puffs: puffs_sys.h

Log Message:
Add close brace, accidentally omitted from previous change.


To generate a diff of this commit:
cvs rdiff -u -r1.87 -r1.88 src/sys/fs/puffs/puffs_sys.h

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



CVS commit: src/sys/compat/netbsd32

2014-10-05 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Sun Oct  5 20:17:28 UTC 2014

Modified Files:
src/sys/compat/netbsd32: netbsd32.h netbsd32_fs.c

Log Message:
add tmpfs.


To generate a diff of this commit:
cvs rdiff -u -r1.102 -r1.103 src/sys/compat/netbsd32/netbsd32.h
cvs rdiff -u -r1.71 -r1.72 src/sys/compat/netbsd32/netbsd32_fs.c

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



CVS commit: [netbsd-7] src/doc

2014-10-05 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Sun Oct  5 20:15:10 UTC 2014

Modified Files:
src/doc [netbsd-7]: CHANGES-7.0

Log Message:
Tickets 129 and 130


To generate a diff of this commit:
cvs rdiff -u -r1.1.2.45 -r1.1.2.46 src/doc/CHANGES-7.0

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



CVS commit: [netbsd-7] src/sys/arch/luna68k/dev

2014-10-05 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Sun Oct  5 20:12:49 UTC 2014

Modified Files:
src/sys/arch/luna68k/dev [netbsd-7]: lunafb.c omrasops.c omrasopsvar.h

Log Message:
Pull up following revision(s) (requested by tsutsui in ticket #130):
sys/arch/luna68k/dev/omrasops.c: revision 1.17
sys/arch/luna68k/dev/omrasops.c: revision 1.18
sys/arch/luna68k/dev/omrasops.c: revision 1.19
sys/arch/luna68k/dev/omrasopsvar.h: revision 1.3
sys/arch/luna68k/dev/lunafb.c: revision 1.36
Pull readability changes from OpenBSD/luna88k.
- prepare and use unpack_attr() function to get fg and bg from attribute
- use proper variable names to clarify meanings
Tested on LUNA-II with 8bpp framebuffer.
Put dumb optimizations to avoid conditionals in putchar drawing loops.
~10% improvements of time cat results on LUNA-II 8bpp framebuffer.
Pull LUNA's framebuffer improvements by Kenji Aoyama from OpenBSD/luna88k.
http://marc.info/?l=openbsd-cvs&m=141199909120631&w=2
> Use raster(logic) operation, or ROP, function on LUNA frame buffer.
> It makes 4bpp wscons putchar ~20% faster.
This Makes 4bpp wscons putchar ~30% on LUNA-II.
Also use the similar ROP in 1bpp putchar and cursor functions
and the 1bpp putchar is also ~5% faster.
While here, reduce diffs from OpenBSD a bit.
Tested on all 1bpp/4bpp/8bpp framebuffers.


To generate a diff of this commit:
cvs rdiff -u -r1.35 -r1.35.2.1 src/sys/arch/luna68k/dev/lunafb.c
cvs rdiff -u -r1.16 -r1.16.4.1 src/sys/arch/luna68k/dev/omrasops.c
cvs rdiff -u -r1.2 -r1.2.4.1 src/sys/arch/luna68k/dev/omrasopsvar.h

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



CVS commit: [netbsd-7] src/sys

2014-10-05 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Sun Oct  5 20:00:54 UTC 2014

Modified Files:
src/sys/arch/arm/broadcom [netbsd-7]: bcm2835_emmc.c
src/sys/dev/sdmmc [netbsd-7]: sdhc.c sdhcvar.h

Log Message:
Pull up following revision(s) (requested by skrll in ticket #129):
sys/dev/sdmmc/sdhcvar.h: revision 1.15
sys/dev/sdmmc/sdhc.c: revision 1.51
sys/arch/arm/broadcom/bcm2835_emmc.c: revision 1.19
Pass sdhc_softc instead of sdhc_host to sc_vendor_transfer_data_dma,
since the vendor specific code has no access to it otherwise,
but can easily do device_private(sdhc_softc->sc_dev).


To generate a diff of this commit:
cvs rdiff -u -r1.9.4.1 -r1.9.4.2 src/sys/arch/arm/broadcom/bcm2835_emmc.c
cvs rdiff -u -r1.44.2.4 -r1.44.2.5 src/sys/dev/sdmmc/sdhc.c
cvs rdiff -u -r1.13.12.1 -r1.13.12.2 src/sys/dev/sdmmc/sdhcvar.h

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



CVS commit: src/share/mk

2014-10-05 Thread Alan Barrett
Module Name:src
Committed By:   apb
Date:   Sun Oct  5 17:08:46 UTC 2014

Modified Files:
src/share/mk: bsd.own.mk

Log Message:
Use HAVE_LLVM, not MKLLVM, in tests related to the active compiler.

Fixes problems in a build with MKLLVM=yes HAVE_LLVM=no,
where this error interacted with settings in
src/external/gpl3/gcc/lib/libgcc/Makefile.inc to cause
some object files to be omitted from the libgcc_s library.


To generate a diff of this commit:
cvs rdiff -u -r1.835 -r1.836 src/share/mk/bsd.own.mk

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



CVS commit: src/sys/fs/puffs

2014-10-05 Thread Alan Barrett
Module Name:src
Committed By:   apb
Date:   Sun Oct  5 14:13:15 UTC 2014

Modified Files:
src/sys/fs/puffs: puffs_sys.h

Log Message:
Safer definitions of DPRINTF and DPRINTF_VERBOSE.

In the PUFFSDEBUG case, wrap do { ... } while (/*CONSTCOND*/0)
around the definitions.  In the non-PUFFSDEBUG case, define them
as ((void)0) instead of as empty.


To generate a diff of this commit:
cvs rdiff -u -r1.86 -r1.87 src/sys/fs/puffs/puffs_sys.h

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



CVS commit: src/doc

2014-10-05 Thread Izumi Tsutsui
Module Name:src
Committed By:   tsutsui
Date:   Sun Oct  5 13:27:33 UTC 2014

Modified Files:
src/doc: CHANGES.prev

Log Message:
Note about hp300 arcofi(4) audio driver pulled up to netbsd-7 recently.


To generate a diff of this commit:
cvs rdiff -u -r1.121 -r1.122 src/doc/CHANGES.prev

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



CVS commit: [netbsd-7] src/doc

2014-10-05 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Sun Oct  5 10:22:50 UTC 2014

Modified Files:
src/doc [netbsd-7]: CHANGES-7.0

Log Message:
Ticket #128


To generate a diff of this commit:
cvs rdiff -u -r1.1.2.44 -r1.1.2.45 src/doc/CHANGES-7.0

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



CVS commit: [netbsd-7] src/games

2014-10-05 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Sun Oct  5 10:21:04 UTC 2014

Modified Files:
src/games/factor [netbsd-7]: factor.6 factor.c
src/games/primes [netbsd-7]: Makefile pattern.c pr_tbl.c primes.6
primes.c primes.h
Added Files:
src/games/primes [netbsd-7]: spsp.c

Log Message:
Pull up following revision(s) (requested by ast in ticket #128):
games/primes/pattern.c: revision 1.7
games/primes/primes.h: revision 1.6
games/primes/spsp.c: revision 1.1
games/primes/Makefile: revision 1.8
games/factor/factor.c: revision 1.27
games/factor/factor.6: revision 1.13
games/primes/primes.c: revision 1.20
games/primes/primes.c: revision 1.21
games/primes/pr_tbl.c: revision 1.8
games/primes/primes.6: revision 1.4
games/primes/primes.6: revision 1.5
Imported and adapted from FreeBSD svn r272166 and r272207; this fixes
false positives for products of primes larger than 2^16. For example,
before this commit:
  $ /usr/games/primes 4295360521 4295360522
  4295360521
but
  $ /usr/games/factor 4295360521
  4295360521: 65539 65539
or
  $ /usr/games/primes 3825123056546413049 3825123056546413050
  3825123056546413049
yet
  $ /usr/games/factor 3825123056546413049
  3825123056546413049: 165479 23115459100831
or
  $ /usr/games/primes 18446744073709551577
  18446744073709551577
although
  $ /usr/games/factor 18446744073709551577
  18446744073709551577: 139646831 132095686967
Incidentally, the above examples show the smallest and largest cases that
were erroneously stated as prime in the range 2^32 .. 3825123056546413049
.. 2^64; the primes(6) program now stops at 3825123056546413050 as
primality tests on larger integers would be by brute force factorization.
In addition, special to the NetBSD version:
. for -d option, skip first difference when start is >65537 as it is incorrect
. corrected usage to mention both the existing -d as well as the new -h option
For original FreeBSD commit message by Colin Percival, see:
http://svnweb.freebsd.org/base?view=revision&revision=272166
usage police


To generate a diff of this commit:
cvs rdiff -u -r1.12 -r1.12.24.1 src/games/factor/factor.6
cvs rdiff -u -r1.26 -r1.26.18.1 src/games/factor/factor.c
cvs rdiff -u -r1.7 -r1.7.74.1 src/games/primes/Makefile \
src/games/primes/pr_tbl.c
cvs rdiff -u -r1.6 -r1.6.74.1 src/games/primes/pattern.c
cvs rdiff -u -r1.3 -r1.3.46.1 src/games/primes/primes.6
cvs rdiff -u -r1.19 -r1.19.20.1 src/games/primes/primes.c
cvs rdiff -u -r1.5 -r1.5.74.1 src/games/primes/primes.h
cvs rdiff -u -r0 -r1.1.2.2 src/games/primes/spsp.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

2014-10-05 Thread Taylor R Campbell
Module Name:src
Committed By:   riastradh
Date:   Sun Oct  5 10:00:03 UTC 2014

Modified Files:
src/sys/kern: kern_uuid.c

Log Message:
Get arguments in the right order for copyout.  (Oops!)


To generate a diff of this commit:
cvs rdiff -u -r1.19 -r1.20 src/sys/kern/kern_uuid.c

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



CVS commit: src/sys/fs/puffs

2014-10-05 Thread Justin Cormack
Module Name:src
Committed By:   justin
Date:   Sun Oct  5 09:28:24 UTC 2014

Modified Files:
src/sys/fs/puffs: puffs_vnops.c

Log Message:
Use PRIx64 for printing offsets


To generate a diff of this commit:
cvs rdiff -u -r1.188 -r1.189 src/sys/fs/puffs/puffs_vnops.c

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



CVS commit: src/sys/fs/puffs

2014-10-05 Thread Emmanuel Dreyfus
Module Name:src
Committed By:   manu
Date:   Sun Oct  5 07:53:22 UTC 2014

Modified Files:
src/sys/fs/puffs: puffs_vnops.c

Log Message:
If we truncate the file, make sure we zero-fill the end of the last
page, otherwise if the file is later truncated to a larger size
(creating a hole), that area will not return zeroes as it should.


To generate a diff of this commit:
cvs rdiff -u -r1.187 -r1.188 src/sys/fs/puffs/puffs_vnops.c

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