CVS commit: src/sys/arch

2014-10-02 Thread Nick Hudson
Module Name:src
Committed By:   skrll
Date:   Thu Oct  2 09:03:43 UTC 2014

Modified Files:
src/sys/arch/arm/samsung: sscom.c
src/sys/arch/evbarm/conf: ODROID-XU

Log Message:
Fix reinoud-ification.

My odroid-xu has console again.


To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 src/sys/arch/arm/samsung/sscom.c
cvs rdiff -u -r1.2 -r1.3 src/sys/arch/evbarm/conf/ODROID-XU

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-02 Thread Alan Barrett
Module Name:src
Committed By:   apb
Date:   Thu Oct  2 09:18:44 UTC 2014

Modified Files:
src/doc: BRANCHES

Log Message:
Updates for active and inactive release branches,
from PR 49127 by J. Lewis Muir.


To generate a diff of this commit:
cvs rdiff -u -r1.332 -r1.333 src/doc/BRANCHES

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



CVS commit: src/sys/external/bsd/drm2/radeon

2014-10-02 Thread Taylor R Campbell
Module Name:src
Committed By:   riastradh
Date:   Thu Oct  2 10:17:53 UTC 2014

Modified Files:
src/sys/external/bsd/drm2/radeon: files.radeon

Log Message:
-Wno-unused-const-variable for radeon kv_dpm.c.


To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.8 src/sys/external/bsd/drm2/radeon/files.radeon

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



CVS commit: src/sys/external/bsd/drm2/radeon

2014-10-02 Thread Taylor R Campbell
Module Name:src
Committed By:   riastradh
Date:   Thu Oct  2 10:56:09 UTC 2014

Modified Files:
src/sys/external/bsd/drm2/radeon: files.radeon

Log Message:
Spell -Wno-missing-prototypes correctly.


To generate a diff of this commit:
cvs rdiff -u -r1.8 -r1.9 src/sys/external/bsd/drm2/radeon/files.radeon

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



CVS commit: src/sys/external/bsd/drm2/dist/drm/radeon

2014-10-02 Thread Taylor R Campbell
Module Name:src
Committed By:   riastradh
Date:   Thu Oct  2 11:09:07 UTC 2014

Modified Files:
src/sys/external/bsd/drm2/dist/drm/radeon: radeon_drv.c

Log Message:
We don't use radeon_(un)register_atpx_handler at the moment.


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 \
src/sys/external/bsd/drm2/dist/drm/radeon/radeon_drv.c

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



CVS commit: src/sys/external/bsd/drm2/radeon

2014-10-02 Thread Taylor R Campbell
Module Name:src
Committed By:   riastradh
Date:   Thu Oct  2 11:15:07 UTC 2014

Modified Files:
src/sys/external/bsd/drm2/radeon: files.radeon

Log Message:
rv770_dpm.c needs -Wno-missing-field-initializers.


To generate a diff of this commit:
cvs rdiff -u -r1.9 -r1.10 src/sys/external/bsd/drm2/radeon/files.radeon

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



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

2014-10-02 Thread Reinoud Zandijk
Module Name:src
Committed By:   reinoud
Date:   Thu Oct  2 11:17:50 UTC 2014

Modified Files:
src/sys/arch/arm/samsung: exynos_soc.c

Log Message:
Disable maximum frequency setting for exynos5

While here add more known frequency settings for exynos4. They are currently
disabled since derived clocks are not adjusted.


To generate a diff of this commit:
cvs rdiff -u -r1.23 -r1.24 src/sys/arch/arm/samsung/exynos_soc.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/arm/samsung

2014-10-02 Thread Reinoud Zandijk
Module Name:src
Committed By:   reinoud
Date:   Thu Oct  2 11:27:09 UTC 2014

Modified Files:
src/sys/arch/arm/samsung: exynos_soc.c

Log Message:
Add KPLL for Exynos5 and EPLL is called DPLL on the 5410 :-/


To generate a diff of this commit:
cvs rdiff -u -r1.24 -r1.25 src/sys/arch/arm/samsung/exynos_soc.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/arm/samsung

2014-10-02 Thread Reinoud Zandijk
Module Name:src
Committed By:   reinoud
Date:   Thu Oct  2 11:39:45 UTC 2014

Modified Files:
src/sys/arch/arm/samsung: exynos5_reg.h

Log Message:
Add KPLL


To generate a diff of this commit:
cvs rdiff -u -r1.17 -r1.18 src/sys/arch/arm/samsung/exynos5_reg.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/arm/broadcom

2014-10-02 Thread Nick Hudson
Module Name:src
Committed By:   skrll
Date:   Thu Oct  2 11:58:12 UTC 2014

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

Log Message:
Ensure correctness of bus_dmamap_sync operations. Shouldn't affect RPI.


To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 src/sys/arch/arm/broadcom/bcm2835_mbox.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/evbarm/odroid

2014-10-02 Thread Nick Hudson
Module Name:src
Committed By:   skrll
Date:   Thu Oct  2 12:12:55 UTC 2014

Modified Files:
src/sys/arch/evbarm/odroid: odroid_start.S

Log Message:
More de-reinoud-ification


To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 src/sys/arch/evbarm/odroid/odroid_start.S

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



CVS commit: src/sys/external/bsd/drm2/dist/drm/radeon

2014-10-02 Thread Taylor R Campbell
Module Name:src
Committed By:   riastradh
Date:   Thu Oct  2 12:18:26 UTC 2014

Modified Files:
src/sys/external/bsd/drm2/dist/drm/radeon: kv_dpm.c

Log Message:
Ifdef out another nonsensical comparison.


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/sys/external/bsd/drm2/dist/drm/radeon/kv_dpm.c

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



CVS commit: src/sys/external/bsd/drm2/radeon

2014-10-02 Thread Taylor R Campbell
Module Name:src
Committed By:   riastradh
Date:   Thu Oct  2 12:17:59 UTC 2014

Modified Files:
src/sys/external/bsd/drm2/radeon: files.radeon

Log Message:
si_dpm.c needs -Wno-unused-const-variable.


To generate a diff of this commit:
cvs rdiff -u -r1.10 -r1.11 src/sys/external/bsd/drm2/radeon/files.radeon

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



CVS commit: src/sys/external/bsd/drm2/radeon

2014-10-02 Thread Taylor R Campbell
Module Name:src
Committed By:   riastradh
Date:   Thu Oct  2 12:25:15 UTC 2014

Modified Files:
src/sys/external/bsd/drm2/radeon: files.radeon

Log Message:
trinity_dpm.c needs -Wno-unused-const-variable.


To generate a diff of this commit:
cvs rdiff -u -r1.11 -r1.12 src/sys/external/bsd/drm2/radeon/files.radeon

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

2014-10-02 Thread Taylor R Campbell
Module Name:src
Committed By:   riastradh
Date:   Thu Oct  2 12:42:12 UTC 2014

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

Log Message:
Don't kdassert about crap provided by the firmware.


To generate a diff of this commit:
cvs rdiff -u -r1.112 -r1.113 src/sys/dev/acpi/acpi_bat.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/sys/dev/sdmmc

2014-10-02 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Thu Oct  2 14:42:53 UTC 2014

Modified Files:
src/sys/dev/sdmmc [netbsd-7]: sdhc.c

Log Message:
Pull up following revision(s) (requested by jmcneill in ticket #124):
sys/dev/sdmmc/sdhc.c: revision 1.49
Correct clk div calculation for SD 3.0 controllers.


To generate a diff of this commit:
cvs rdiff -u -r1.44.2.1 -r1.44.2.2 src/sys/dev/sdmmc/sdhc.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-02 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Thu Oct  2 14:43:59 UTC 2014

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

Log Message:
Ticket #124


To generate a diff of this commit:
cvs rdiff -u -r1.1.2.40 -r1.1.2.41 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: src/sys/arch/arm/samsung

2014-10-02 Thread Nick Hudson
Module Name:src
Committed By:   skrll
Date:   Thu Oct  2 16:17:33 UTC 2014

Modified Files:
src/sys/arch/arm/samsung: exynos5_reg.h

Log Message:
Fix reinoud-ification of KPLL offset.


To generate a diff of this commit:
cvs rdiff -u -r1.18 -r1.19 src/sys/arch/arm/samsung/exynos5_reg.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/sdmmc

2014-10-02 Thread Michael van Elst
Module Name:src
Committed By:   mlelstv
Date:   Thu Oct  2 18:14:38 UTC 2014

Modified Files:
src/sys/dev/sdmmc: sdhc.c

Log Message:
Fix divisor calculation for SDHC 3.0.
1/1   -> 0
1/2   -> 1
1/4   -> 2
...
1/2*N -> N


To generate a diff of this commit:
cvs rdiff -u -r1.49 -r1.50 src/sys/dev/sdmmc/sdhc.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/sdmmc

2014-10-02 Thread Michael van Elst
Module Name:src
Committed By:   mlelstv
Date:   Thu Oct  2 18:16:13 UTC 2014

Modified Files:
src/sys/dev/sdmmc: ld_sdmmc.c

Log Message:
Be a bit more verbose about errors, also pass through error code
from lower layer like other drivers.


To generate a diff of this commit:
cvs rdiff -u -r1.12 -r1.13 src/sys/dev/sdmmc/ld_sdmmc.c

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



CVS commit: src/sbin/gpt

2014-10-02 Thread Joerg Sonnenberger
Module Name:src
Committed By:   joerg
Date:   Thu Oct  2 19:15:21 UTC 2014

Modified Files:
src/sbin/gpt: biosboot.c gpt.c

Log Message:
Fix tools build on !NetBSD.


To generate a diff of this commit:
cvs rdiff -u -r1.12 -r1.13 src/sbin/gpt/biosboot.c
cvs rdiff -u -r1.34 -r1.35 src/sbin/gpt/gpt.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

2014-10-02 Thread Justin Cormack
Module Name:src
Committed By:   justin
Date:   Thu Oct  2 21:01:38 UTC 2014

Modified Files:
src/sys/dev: cgd.c
src/sys/dev/dm: device-mapper.c

Log Message:
devmajor_t not int


To generate a diff of this commit:
cvs rdiff -u -r1.90 -r1.91 src/sys/dev/cgd.c
cvs rdiff -u -r1.34 -r1.35 src/sys/dev/dm/device-mapper.c

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



CVS commit: src/sbin/gpt

2014-10-02 Thread Alan Barrett
Module Name:src
Committed By:   apb
Date:   Thu Oct  2 21:27:41 UTC 2014

Modified Files:
src/sbin/gpt: gpt_uuid.c

Log Message:
include  for both the non-tools build,
and the tools build on a host where the file exists.

Fixes a build problem on FreeBSD, reported by Herbert J. Skuhra, where
tools/compat's configure detected that be32dec() and friends were
available in the host's , so tools/compat did not provide
its own versions.


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 src/sbin/gpt/gpt_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/dev/dm

2014-10-02 Thread Justin Cormack
Module Name:src
Committed By:   justin
Date:   Thu Oct  2 21:29:44 UTC 2014

Modified Files:
src/sys/dev/dm: dm_ioctl.c

Log Message:
Call prop_dictionary_get_uint32 with uint32_t


To generate a diff of this commit:
cvs rdiff -u -r1.28 -r1.29 src/sys/dev/dm/dm_ioctl.c

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



CVS commit: src/games

2014-10-02 Thread Adrian Steinmann
Module Name:src
Committed By:   ast
Date:   Thu Oct  2 21:36:37 UTC 2014

Modified Files:
src/games/factor: factor.6 factor.c
src/games/primes: Makefile pattern.c pr_tbl.c primes.6 primes.c
primes.h
Added Files:
src/games/primes: spsp.c

Log Message:
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


To generate a diff of this commit:
cvs rdiff -u -r1.12 -r1.13 src/games/factor/factor.6
cvs rdiff -u -r1.26 -r1.27 src/games/factor/factor.c
cvs rdiff -u -r1.7 -r1.8 src/games/primes/Makefile src/games/primes/pr_tbl.c
cvs rdiff -u -r1.6 -r1.7 src/games/primes/pattern.c
cvs rdiff -u -r1.3 -r1.4 src/games/primes/primes.6
cvs rdiff -u -r1.19 -r1.20 src/games/primes/primes.c
cvs rdiff -u -r1.5 -r1.6 src/games/primes/primes.h
cvs rdiff -u -r0 -r1.1 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/dev/sdmmc

2014-10-02 Thread Jared D. McNeill
Module Name:src
Committed By:   jmcneill
Date:   Thu Oct  2 21:49:22 UTC 2014

Modified Files:
src/sys/dev/sdmmc: files.sdmmc ld_sdmmc.c

Log Message:
debug ld_sdmmc with LD_SDMMC_DEBUG instead of SDMMC_DEBUG


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/sys/dev/sdmmc/files.sdmmc
cvs rdiff -u -r1.13 -r1.14 src/sys/dev/sdmmc/ld_sdmmc.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/dm

2014-10-02 Thread Justin Cormack
Module Name:src
Committed By:   justin
Date:   Thu Oct  2 21:58:16 UTC 2014

Modified Files:
src/sys/dev/dm: dm.h

Log Message:
dm_target_t reference count is modified with atomic_{inc,dec}_32 so should
be uint_32_t not int


To generate a diff of this commit:
cvs rdiff -u -r1.26 -r1.27 src/sys/dev/dm/dm.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

2014-10-02 Thread Justin Cormack
Module Name:src
Committed By:   justin
Date:   Thu Oct  2 22:05:39 UTC 2014

Modified Files:
src/sys/dev: fss.c

Log Message:
Use devmajor_t not int


To generate a diff of this commit:
cvs rdiff -u -r1.91 -r1.92 src/sys/dev/fss.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-02 Thread Justin Cormack
Module Name:src
Committed By:   justin
Date:   Thu Oct  2 23:07:30 UTC 2014

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

Log Message:
Work around pedantic compiler


To generate a diff of this commit:
cvs rdiff -u -r1.253 -r1.254 src/sys/kern/kern_sysctl.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

2014-10-02 Thread Justin Cormack
Module Name:src
Committed By:   justin
Date:   Fri Oct  3 00:00:11 UTC 2014

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

Log Message:
Use uint32_t for blocksize as per other uses and to fix warnings


To generate a diff of this commit:
cvs rdiff -u -r1.323 -r1.324 src/sys/dev/scsipi/cd.c

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



CVS commit: src/sbin/gpt

2014-10-02 Thread John Nemeth
Module Name:src
Committed By:   jnemeth
Date:   Fri Oct  3 00:51:31 UTC 2014

Modified Files:
src/sbin/gpt: create.c gpt_uuid.c gpt_uuid.h migrate.c

Log Message:
"0" is not guaranteed to be unique


To generate a diff of this commit:
cvs rdiff -u -r1.10 -r1.11 src/sbin/gpt/create.c
cvs rdiff -u -r1.5 -r1.6 src/sbin/gpt/gpt_uuid.c
cvs rdiff -u -r1.1 -r1.2 src/sbin/gpt/gpt_uuid.h
cvs rdiff -u -r1.19 -r1.20 src/sbin/gpt/migrate.c

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



CVS commit: src/sys/net

2014-10-02 Thread Nick Hudson
Module Name:src
Committed By:   skrll
Date:   Fri Oct  3 06:46:02 UTC 2014

Modified Files:
src/sys/net: if_tap.c

Log Message:
Remove unneeded #include


To generate a diff of this commit:
cvs rdiff -u -r1.78 -r1.79 src/sys/net/if_tap.c

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