CVS commit: src/sys/kern

2015-08-09 Thread Michael van Elst
Module Name:src
Committed By:   mlelstv
Date:   Sun Aug  9 07:40:59 UTC 2015

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

Log Message:
Refactor disk address calculation from physical block numbers in
the journal into a function. Make that function work correctly with
sector sizes != DEV_BSIZE when compiled outside the kernel (i.e.
fsck_ffs).
Fixes PR bin/45933


To generate a diff of this commit:
cvs rdiff -u -r1.61 -r1.62 src/sys/kern/vfs_wapbl.c

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



CVS commit: src/usr.bin/su

2015-08-09 Thread Mateusz Kocielski
Module Name:src
Committed By:   shm
Date:   Sun Aug  9 09:39:21 UTC 2015

Modified Files:
src/usr.bin/su: su_pam.c

Log Message:
Do not use pamh after pam_end. It's cosmetic change since pam_strerror
ignores that parameter.


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

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



CVS commit: src/usr.bin/error

2015-08-09 Thread Mateusz Kocielski
Module Name:src
Committed By:   shm
Date:   Sun Aug  9 09:49:25 UTC 2015

Modified Files:
src/usr.bin/error: filter.c

Log Message:
Remove unnecessary fclose(3) call


To generate a diff of this commit:
cvs rdiff -u -r1.15 -r1.16 src/usr.bin/error/filter.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

2015-08-09 Thread Aymeric Vincent
Module Name:src
Committed By:   aymeric
Date:   Sun Aug  9 10:09:07 UTC 2015

Modified Files:
src/external/mit/xorg: xorg-pkg-ver.mk

Log Message:
use ${TOOL_AWK} instead of host dependant awk. From mrg@.


To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.8 src/external/mit/xorg/xorg-pkg-ver.mk

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/kern

2015-08-09 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Sun Aug  9 10:15:15 UTC 2015

Modified Files:
src/sys/kern [netbsd-7]: vfs_wapbl.c

Log Message:
Pull up following revision(s) (requested by mlelstv in ticket #943):
sys/kern/vfs_wapbl.c: revision 1.62
Refactor disk address calculation from physical block numbers in
the journal into a function. Make that function work correctly with
sector sizes != DEV_BSIZE when compiled outside the kernel (i.e.
fsck_ffs).
Fixes PR bin/45933


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

2015-08-09 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Sun Aug  9 10:16:35 UTC 2015

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

Log Message:
Ticket #943


To generate a diff of this commit:
cvs rdiff -u -r1.1.2.362 -r1.1.2.363 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/libexec/ftpd

2015-08-09 Thread Mateusz Kocielski
Module Name:src
Committed By:   shm
Date:   Sun Aug  9 12:17:30 UTC 2015

Modified Files:
src/libexec/ftpd: logwtmp.c

Log Message:
Clear utmpx struct before writing it to wtmpx files


To generate a diff of this commit:
cvs rdiff -u -r1.25 -r1.26 src/libexec/ftpd/logwtmp.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/ic

2015-08-09 Thread Jared D. McNeill
Module Name:src
Committed By:   jmcneill
Date:   Sun Aug  9 13:01:21 UTC 2015

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

Log Message:
wait for command done status before doing pio transfer


To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 src/sys/dev/ic/dwc_mmc.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/broadcom

2015-08-09 Thread Michael van Elst
Module Name:src
Committed By:   mlelstv
Date:   Sun Aug  9 13:03:11 UTC 2015

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

Log Message:
Handle error when setting DMA transfer.


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

2015-08-09 Thread Michael van Elst
Module Name:src
Committed By:   mlelstv
Date:   Sun Aug  9 13:06:44 UTC 2015

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

Log Message:
Invoke callback routine for all DMA interrupts.
Pass status and error bits to callback instead of filtering them early.
Adjust the current only callback routine in the EMMC driver.


To generate a diff of this commit:
cvs rdiff -u -r1.12 -r1.13 src/sys/arch/arm/broadcom/bcm2835_dmac.c
cvs rdiff -u -r1.3 -r1.4 src/sys/arch/arm/broadcom/bcm2835_dmac.h
cvs rdiff -u -r1.27 -r1.28 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/arch/arm/broadcom

2015-08-09 Thread Michael van Elst
Module Name:src
Committed By:   mlelstv
Date:   Sun Aug  9 13:07:47 UTC 2015

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

Log Message:
Make the DMA halt procedure follow better the documentation.


To generate a diff of this commit:
cvs rdiff -u -r1.13 -r1.14 src/sys/arch/arm/broadcom/bcm2835_dmac.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-09 Thread Michael van Elst
Module Name:src
Committed By:   mlelstv
Date:   Sun Aug  9 13:14:11 UTC 2015

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

Log Message:
protect card detection with mutex.


To generate a diff of this commit:
cvs rdiff -u -r1.29 -r1.30 src/sys/dev/sdmmc/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-09 Thread Michael van Elst
Module Name:src
Committed By:   mlelstv
Date:   Sun Aug  9 13:18:46 UTC 2015

Modified Files:
src/sys/dev/sdmmc: sdmmc.c sdmmcvar.h

Log Message:
Send an explicit CMD12 (stop transmission) when there was an error
in multi-sector I/O.

The SDHC spec has a complex flowchart describing when an explicit
CMD12 is necessary, so we probably use it too often.


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

2015-08-09 Thread Michael van Elst
Module Name:src
Committed By:   mlelstv
Date:   Sun Aug  9 13:24:39 UTC 2015

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

Log Message:
Add a quirk for Ricoh 5U823 controller. Operation with a 100MHz
bus clock for SDR50 seems to be unstable, reduce frequency one notch
(effectively down to 66MHz with divisor = 3).


To generate a diff of this commit:
cvs rdiff -u -r1.81 -r1.82 src/sys/dev/sdmmc/sdhc.c
cvs rdiff -u -r1.23 -r1.24 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/dev/pci

2015-08-09 Thread Michael van Elst
Module Name:src
Committed By:   mlelstv
Date:   Sun Aug  9 13:27:48 UTC 2015

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

Log Message:
Replace the LOWER_FREQ quirk with the SLOW_SDR50 quirk for the
Ricoh 5U823 controller. This stabilizes SD cards at standard speed
and high speed and also UHS-I SDR50.


To generate a diff of this commit:
cvs rdiff -u -r1.11 -r1.12 src/sys/dev/pci/sdhc_pci.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-09 Thread Michael van Elst
Module Name:src
Committed By:   mlelstv
Date:   Sun Aug  9 13:39:18 UTC 2015

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

Log Message:
Protect the whole tuning operation including the register setup.


To generate a diff of this commit:
cvs rdiff -u -r1.82 -r1.83 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

2015-08-09 Thread Michael van Elst
Module Name:src
Committed By:   mlelstv
Date:   Sun Aug  9 13:46:50 UTC 2015

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

Log Message:
Ignore data inhibit for commands that do not use the DAT line.
Do a soft reset when the inhibit condition persists for better
error recovery.

Simplify interrupt handling and print errors reported by the controller.

Add more specific debug messages for timeout errors.


To generate a diff of this commit:
cvs rdiff -u -r1.83 -r1.84 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

2015-08-09 Thread Michael van Elst
Module Name:src
Committed By:   mlelstv
Date:   Sun Aug  9 13:49:19 UTC 2015

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

Log Message:
Add small command queue to reduce latency between ld driver and
sdmmc I/O thread.


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

2015-08-09 Thread Mateusz Kocielski
Module Name:src
Committed By:   shm
Date:   Sun Aug  9 20:34:24 UTC 2015

Modified Files:
src/libexec/ftpd: logwtmp.c

Log Message:
Removed unnecessary memset(3) call


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

2015-08-09 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Mon Aug 10 02:44:37 UTC 2015

Modified Files:
src/distrib/sets/lists/base: mi shl.mi
src/distrib/sets/lists/comp: ad.arm ad.hppa ad.m68k ad.mips ad.powerpc
ad.sh3 md.alpha md.amd64 md.hppa md.i386 md.sparc md.sparc64 md.vax
mi shl.mi
src/distrib/sets/lists/debug: mi shl.mi
src/distrib/sets/lists/man: mi
src/distrib/sets/lists/tests: mi

Log Message:
obsolete and clean up gcc=3 (3.3), gcc=4 (4.1), and gcc=45 (4.5) sets.


To generate a diff of this commit:
cvs rdiff -u -r1.1108 -r1.1109 src/distrib/sets/lists/base/mi
cvs rdiff -u -r1.744 -r1.745 src/distrib/sets/lists/base/shl.mi
cvs rdiff -u -r1.68 -r1.69 src/distrib/sets/lists/comp/ad.arm
cvs rdiff -u -r1.7 -r1.8 src/distrib/sets/lists/comp/ad.hppa
cvs rdiff -u -r1.49 -r1.50 src/distrib/sets/lists/comp/ad.m68k
cvs rdiff -u -r1.55 -r1.56 src/distrib/sets/lists/comp/ad.mips
cvs rdiff -u -r1.79 -r1.80 src/distrib/sets/lists/comp/ad.powerpc
cvs rdiff -u -r1.29 -r1.30 src/distrib/sets/lists/comp/ad.sh3
cvs rdiff -u -r1.66 -r1.67 src/distrib/sets/lists/comp/md.alpha
cvs rdiff -u -r1.231 -r1.232 src/distrib/sets/lists/comp/md.amd64
cvs rdiff -u -r1.3 -r1.4 src/distrib/sets/lists/comp/md.hppa
cvs rdiff -u -r1.152 -r1.153 src/distrib/sets/lists/comp/md.i386
cvs rdiff -u -r1.85 -r1.86 src/distrib/sets/lists/comp/md.sparc
cvs rdiff -u -r1.192 -r1.193 src/distrib/sets/lists/comp/md.sparc64
cvs rdiff -u -r1.40 -r1.41 src/distrib/sets/lists/comp/md.vax
cvs rdiff -u -r1.1976 -r1.1977 src/distrib/sets/lists/comp/mi
cvs rdiff -u -r1.275 -r1.276 src/distrib/sets/lists/comp/shl.mi
cvs rdiff -u -r1.124 -r1.125 src/distrib/sets/lists/debug/mi
cvs rdiff -u -r1.105 -r1.106 src/distrib/sets/lists/debug/shl.mi
cvs rdiff -u -r1.1502 -r1.1503 src/distrib/sets/lists/man/mi
cvs rdiff -u -r1.639 -r1.640 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/distrib/sets/lists

2015-08-09 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Mon Aug 10 03:21:44 UTC 2015

Modified Files:
src/distrib/sets/lists/base: shl.mi
src/distrib/sets/lists/comp: ad.aarch64 ad.arm ad.hppa ad.m68k ad.mips
ad.powerpc ad.riscv ad.sh3 md.alpha md.amd64 md.hppa md.i386
md.or1k md.sparc md.sparc64 md.vax mi shl.mi
src/distrib/sets/lists/debug: mi shl.mi
src/distrib/sets/lists/tests: mi

Log Message:
now that we only support gcc 4.8, make all the gcc tags just "gcc".
this should help with next-gcc, when we can add back gcc=48 and
gcc=5x tags, as necessary.


To generate a diff of this commit:
cvs rdiff -u -r1.745 -r1.746 src/distrib/sets/lists/base/shl.mi
cvs rdiff -u -r1.10 -r1.11 src/distrib/sets/lists/comp/ad.aarch64
cvs rdiff -u -r1.69 -r1.70 src/distrib/sets/lists/comp/ad.arm
cvs rdiff -u -r1.8 -r1.9 src/distrib/sets/lists/comp/ad.hppa
cvs rdiff -u -r1.50 -r1.51 src/distrib/sets/lists/comp/ad.m68k
cvs rdiff -u -r1.56 -r1.57 src/distrib/sets/lists/comp/ad.mips
cvs rdiff -u -r1.80 -r1.81 src/distrib/sets/lists/comp/ad.powerpc
cvs rdiff -u -r1.5 -r1.6 src/distrib/sets/lists/comp/ad.riscv
cvs rdiff -u -r1.30 -r1.31 src/distrib/sets/lists/comp/ad.sh3
cvs rdiff -u -r1.67 -r1.68 src/distrib/sets/lists/comp/md.alpha
cvs rdiff -u -r1.232 -r1.233 src/distrib/sets/lists/comp/md.amd64
cvs rdiff -u -r1.4 -r1.5 src/distrib/sets/lists/comp/md.hppa
cvs rdiff -u -r1.153 -r1.154 src/distrib/sets/lists/comp/md.i386
cvs rdiff -u -r1.1 -r1.2 src/distrib/sets/lists/comp/md.or1k
cvs rdiff -u -r1.86 -r1.87 src/distrib/sets/lists/comp/md.sparc
cvs rdiff -u -r1.193 -r1.194 src/distrib/sets/lists/comp/md.sparc64
cvs rdiff -u -r1.41 -r1.42 src/distrib/sets/lists/comp/md.vax
cvs rdiff -u -r1.1977 -r1.1978 src/distrib/sets/lists/comp/mi
cvs rdiff -u -r1.276 -r1.277 src/distrib/sets/lists/comp/shl.mi
cvs rdiff -u -r1.125 -r1.126 src/distrib/sets/lists/debug/mi
cvs rdiff -u -r1.106 -r1.107 src/distrib/sets/lists/debug/shl.mi
cvs rdiff -u -r1.640 -r1.641 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/distrib/sets/lists

2015-08-09 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Mon Aug 10 04:13:19 UTC 2015

Modified Files:
src/distrib/sets/lists/comp: ad.mips
src/distrib/sets/lists/debug: ad.mips

Log Message:
fix some merge errors in the previous


To generate a diff of this commit:
cvs rdiff -u -r1.57 -r1.58 src/distrib/sets/lists/comp/ad.mips
cvs rdiff -u -r1.59 -r1.60 src/distrib/sets/lists/debug/ad.mips

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

2015-08-09 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Mon Aug 10 04:48:53 UTC 2015

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

Log Message:
move some header-specific pointer-typedefs into a header-specific area.


To generate a diff of this commit:
cvs rdiff -u -r1.107 -r1.108 src/sys/compat/netbsd32/netbsd32.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/sparc64/dev

2015-08-09 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Mon Aug 10 04:52:19 UTC 2015

Modified Files:
src/sys/arch/sparc64/dev: schizoreg.h

Log Message:
add some tomatillo specific information to schizo_pbm_regs.


To generate a diff of this commit:
cvs rdiff -u -r1.9 -r1.10 src/sys/arch/sparc64/dev/schizoreg.h

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

2015-08-09 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Mon Aug 10 06:09:31 UTC 2015

Modified Files:
src/distrib/sets/lists/comp: ad.mips
src/distrib/sets/lists/debug: ad.mips

Log Message:
revert the previous; it wasn't wrong, just a little unusual


To generate a diff of this commit:
cvs rdiff -u -r1.58 -r1.59 src/distrib/sets/lists/comp/ad.mips
cvs rdiff -u -r1.60 -r1.61 src/distrib/sets/lists/debug/ad.mips

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