CVS commit: src

2015-08-03 Thread Ryota Ozaki
Module Name:src
Committed By:   ozaki-r
Date:   Mon Aug  3 09:51:40 UTC 2015

Modified Files:
src/distrib/sets/lists/base: mi
src/distrib/sets/lists/debug: mi
src/usr.sbin/ndp: Makefile ndp.c
Added Files:
src/usr.sbin/ndp: ndp_hostops.c ndp_rumpops.c prog_ops.h

Log Message:
Introduce rump.ndp

ndp(8) uses RTM that requires that getpid(2) works correctly. Unfortunately
supporting getpid(2) in librumphijack will be tricky so that we rump-ify
ndp(8) as well as arp(8).


To generate a diff of this commit:
cvs rdiff -u -r1.1106 -r1.1107 src/distrib/sets/lists/base/mi
cvs rdiff -u -r1.122 -r1.123 src/distrib/sets/lists/debug/mi
cvs rdiff -u -r1.9 -r1.10 src/usr.sbin/ndp/Makefile
cvs rdiff -u -r1.44 -r1.45 src/usr.sbin/ndp/ndp.c
cvs rdiff -u -r0 -r1.1 src/usr.sbin/ndp/ndp_hostops.c \
src/usr.sbin/ndp/ndp_rumpops.c src/usr.sbin/ndp/prog_ops.h

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



CVS commit: src

2015-08-03 Thread Ryota Ozaki
Module Name:src
Committed By:   ozaki-r
Date:   Mon Aug  3 09:54:20 UTC 2015

Modified Files:
src/distrib/sets/lists/tests: mi
src/etc/mtree: NetBSD.dist.tests
src/tests/net: Makefile
Added Files:
src/tests/net/ndp: Makefile t_dad.sh t_ndp.sh

Log Message:
Add tests for NDP


To generate a diff of this commit:
cvs rdiff -u -r1.637 -r1.638 src/distrib/sets/lists/tests/mi
cvs rdiff -u -r1.117 -r1.118 src/etc/mtree/NetBSD.dist.tests
cvs rdiff -u -r1.24 -r1.25 src/tests/net/Makefile
cvs rdiff -u -r0 -r1.1 src/tests/net/ndp/Makefile src/tests/net/ndp/t_dad.sh \
src/tests/net/ndp/t_ndp.sh

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

2015-08-03 Thread Jared D. McNeill
Module Name:src
Committed By:   jmcneill
Date:   Mon Aug  3 10:09:08 UTC 2015

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

Log Message:
Print the selected transfer mode if known.


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

2015-08-03 Thread Jared D. McNeill
Module Name:src
Committed By:   jmcneill
Date:   Mon Aug  3 10:08:51 UTC 2015

Modified Files:
src/sys/dev/sdmmc: sdhc.c sdmmc.c sdmmc_io.c sdmmc_mem.c sdmmcchip.h
sdmmcreg.h sdmmcvar.h

Log Message:
Add support for DDR50 transfer modes.


To generate a diff of this commit:
cvs rdiff -u -r1.75 -r1.76 src/sys/dev/sdmmc/sdhc.c
cvs rdiff -u -r1.28 -r1.29 src/sys/dev/sdmmc/sdmmc.c
cvs rdiff -u -r1.9 -r1.10 src/sys/dev/sdmmc/sdmmc_io.c
cvs rdiff -u -r1.38 -r1.39 src/sys/dev/sdmmc/sdmmc_mem.c
cvs rdiff -u -r1.5 -r1.6 src/sys/dev/sdmmc/sdmmcchip.h
cvs rdiff -u -r1.17 -r1.18 src/sys/dev/sdmmc/sdmmcreg.h \
src/sys/dev/sdmmc/sdmmcvar.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

2015-08-03 Thread Jared D. McNeill
Module Name:src
Committed By:   jmcneill
Date:   Mon Aug  3 10:27:32 UTC 2015

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

Log Message:
DDR50 and SDR104 don't seem to be stable here, so disable them


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

2015-08-03 Thread Jared D. McNeill
Module Name:src
Committed By:   jmcneill
Date:   Mon Aug  3 11:24:17 UTC 2015

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

Log Message:
fix SDMMC_DEBUG build


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

2015-08-03 Thread Jared D. McNeill
Module Name:src
Committed By:   jmcneill
Date:   Mon Aug  3 12:10:29 UTC 2015

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

Log Message:
clear SMF_UHS_MODE flag before enabling card


To generate a diff of this commit:
cvs rdiff -u -r1.40 -r1.41 src/sys/dev/sdmmc/sdmmc_mem.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/nvidia

2015-08-03 Thread Jared D. McNeill
Module Name:src
Committed By:   jmcneill
Date:   Mon Aug  3 12:11:52 UTC 2015

Modified Files:
src/sys/arch/arm/nvidia: tegra_sdhc.c

Log Message:
set SDHC_FLAG_POLL_CARD_DET when we have a card detect pin


To generate a diff of this commit:
cvs rdiff -u -r1.10 -r1.11 src/sys/arch/arm/nvidia/tegra_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

2015-08-03 Thread Jared D. McNeill
Module Name:src
Committed By:   jmcneill
Date:   Mon Aug  3 12:11:36 UTC 2015

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

Log Message:
Add SDHC_FLAG_POLL_CARD_DET flag which lets the bus glue request polling
instead of standard SDHC card insert / detach events.


To generate a diff of this commit:
cvs rdiff -u -r1.76 -r1.77 src/sys/dev/sdmmc/sdhc.c
cvs rdiff -u -r1.22 -r1.23 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/sys/ufs/lfs

2015-08-03 Thread David A. Holland
Module Name:src
Committed By:   dholland
Date:   Mon Aug  3 17:33:54 UTC 2015

Modified Files:
src/sys/ufs/lfs: lfs_vnops.c

Log Message:
Simplify some leftover code and remove some old assertions.

Last year when I killed off some evil dirop-related macros, I added
these assertions because if the things they asserted weren't true we'd
be leaking vnodes. Well, it seems that the code at the time did leak
vnodes, so certain failure cases (e.g. mkdir with disk full) would
assert. Nobody apparently tripped on this in the past fourteen months,
until I broke balloc so it always failed (unrelatedly) while working
on some LFS64 changes.

However, the vnode leak has since been removed by hannken@ as part of
the vnode cache changes, so the assertions are now superfluous;
instead, just make sure *vpp gets nulled on failure, and don't worry
about whether or not VU_DIROP is set as it shouldn't matter any more.

XXX: there's still a lot of gratuitous pointer aliasing in here that
should be tidied away.


To generate a diff of this commit:
cvs rdiff -u -r1.280 -r1.281 src/sys/ufs/lfs/lfs_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/dev/sdmmc

2015-08-03 Thread Jared D. McNeill
Module Name:src
Committed By:   jmcneill
Date:   Mon Aug  3 19:17:35 UTC 2015

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

Log Message:
Handle cards that are already in low voltage (1.8V) mode. Test correct
bit when determining the best SD transfer mode.


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

2015-08-03 Thread Jared D. McNeill
Module Name:src
Committed By:   jmcneill
Date:   Tue Aug  4 00:32:05 UTC 2015

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

Log Message:
instead of trying to handle cards already in 1.8V mode, request host controller 
to switch to 3.3V signaling before starting the init sequence


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

2015-08-03 Thread Jared D. McNeill
Module Name:src
Committed By:   jmcneill
Date:   Tue Aug  4 01:21:55 UTC 2015

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

Log Message:
ODROID-C1 has a bug where the card is not power-cycled when the board is
reset. If you had previously switched to 1.8V signaling level, upon reboot
the card will still be in 1.8V mode and you cannot detect it with an S18R
request.

A card in 1.8V mode will report UHS modes though, so if the card reports
SDR50, DDR50, or SDR104 capabilities, and the previous S18R request failed
to switch, use this as an opportunity to re-enable UHS support in the
subsystem and host controller drivers.


To generate a diff of this commit:
cvs rdiff -u -r1.43 -r1.44 src/sys/dev/sdmmc/sdmmc_mem.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/amlogic

2015-08-03 Thread Jared D. McNeill
Module Name:src
Committed By:   jmcneill
Date:   Tue Aug  4 01:23:08 UTC 2015

Modified Files:
src/sys/arch/arm/amlogic: amlogic_board.c amlogic_sdhc.c amlogic_var.h

Log Message:
Enable UHS-I support


To generate a diff of this commit:
cvs rdiff -u -r1.12 -r1.13 src/sys/arch/arm/amlogic/amlogic_board.c
cvs rdiff -u -r1.6 -r1.7 src/sys/arch/arm/amlogic/amlogic_sdhc.c
cvs rdiff -u -r1.10 -r1.11 src/sys/arch/arm/amlogic/amlogic_var.h

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