CVS commit: src/sys/dev/sdmmc

2015-08-02 Thread Michael van Elst
Module Name:src
Committed By:   mlelstv
Date:   Sun Aug  2 07:07:02 UTC 2015

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

Log Message:
correct (the commented out) calculation of bus frequency.


To generate a diff of this commit:
cvs rdiff -u -r1.66 -r1.67 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-02 Thread Michael van Elst
Module Name:src
Committed By:   mlelstv
Date:   Sun Aug  2 07:14:10 UTC 2015

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

Log Message:
Be more verbose about error conditions.


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

2015-08-02 Thread Michael van Elst
Module Name:src
Committed By:   mlelstv
Date:   Sun Aug  2 07:25:40 UTC 2015

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

Log Message:
fix diskerr message, it needs the driver name, not the device unit name.


To generate a diff of this commit:
cvs rdiff -u -r1.67 -r1.68 src/sys/dev/dksubr.c

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-02 Thread Maxime Villard
Module Name:src
Committed By:   maxv
Date:   Sun Aug  2 07:37:57 UTC 2015

Modified Files:
src/sys/compat/netbsd32: netbsd32_ioctl.c

Log Message:
Wrong logic. Here, userland can control the size and the data copied, which
basically means it can overflow kernel memory.

ok martin@ christos@


To generate a diff of this commit:
cvs rdiff -u -r1.81 -r1.82 src/sys/compat/netbsd32/netbsd32_ioctl.c

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




CVS commit: src

2015-08-02 Thread Jared D. McNeill
Module Name:src
Committed By:   jmcneill
Date:   Sun Aug  2 11:09:05 UTC 2015

Modified Files:
src/distrib/sets/lists/base: mi
src/distrib/sets/lists/comp: mi
src/sys/dev: Makefile

Log Message:
Install hdmicecio.h


To generate a diff of this commit:
cvs rdiff -u -r1.1105 -r1.1106 src/distrib/sets/lists/base/mi
cvs rdiff -u -r1.1975 -r1.1976 src/distrib/sets/lists/comp/mi
cvs rdiff -u -r1.36 -r1.37 src/sys/dev/Makefile

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



CVS commit: src/distrib/utils/embedded/conf

2015-08-02 Thread Jared D. McNeill
Module Name:src
Committed By:   jmcneill
Date:   Sun Aug  2 11:11:32 UTC 2015

Modified Files:
src/distrib/utils/embedded/conf: armv7.conf

Log Message:
install jetsontk1 boot script as boot.scr


To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 src/distrib/utils/embedded/conf/armv7.conf

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-02 Thread Jared D. McNeill
Module Name:src
Committed By:   jmcneill
Date:   Sun Aug  2 11:26:21 UTC 2015

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

Log Message:
bus_dma_segment_t ds_addr is bus_addr_t not paddr_t


To generate a diff of this commit:
cvs rdiff -u -r1.68 -r1.69 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-02 Thread Jared D. McNeill
Module Name:src
Committed By:   jmcneill
Date:   Sun Aug  2 11:28:01 UTC 2015

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

Log Message:
bus_dma_segment_t ds_addr is bus_addr_t not paddr_t (another case of it)


To generate a diff of this commit:
cvs rdiff -u -r1.69 -r1.70 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/sys/compat/netbsd32

2015-08-02 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Sun Aug  2 11:29:10 UTC 2015

Modified Files:
src/sys/compat/netbsd32 [netbsd-7]: netbsd32_ioctl.c

Log Message:
Pull up following revision(s) (requested by maxv in ticket #930):
sys/compat/netbsd32/netbsd32_ioctl.c: revision 1.82
Wrong logic. Here, userland can control the size and the data copied, which
basically means it can overflow kernel memory.
ok martin@ christos@


To generate a diff of this commit:
cvs rdiff -u -r1.69 -r1.69.4.1 src/sys/compat/netbsd32/netbsd32_ioctl.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-02 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Sun Aug  2 11:30:45 UTC 2015

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

Log Message:
Ticket #930


To generate a diff of this commit:
cvs rdiff -u -r1.1.2.352 -r1.1.2.353 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/dev

2015-08-02 Thread Michael van Elst
Module Name:src
Committed By:   mlelstv
Date:   Sun Aug  2 11:40:41 UTC 2015

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

Log Message:
use dk_openlock when accessing openmask.


To generate a diff of this commit:
cvs rdiff -u -r1.246 -r1.247 src/sys/dev/vnd.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/usb

2015-08-02 Thread Michael van Elst
Module Name:src
Committed By:   mlelstv
Date:   Sun Aug  2 11:55:29 UTC 2015

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

Log Message:
count collisions, count and debug print more errors.


To generate a diff of this commit:
cvs rdiff -u -r1.23 -r1.24 src/sys/dev/usb/if_smsc.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/patch

2015-08-02 Thread Thomas Klausner
Module Name:src
Committed By:   wiz
Date:   Sun Aug  2 12:19:13 UTC 2015

Modified Files:
src/usr.bin/patch: patch.1

Log Message:
Fix two typos.


To generate a diff of this commit:
cvs rdiff -u -r1.18 -r1.19 src/usr.bin/patch/patch.1

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



CVS commit: [netbsd-6] src/sys/compat/netbsd32

2015-08-02 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Sun Aug  2 12:50:48 UTC 2015

Modified Files:
src/sys/compat/netbsd32 [netbsd-6]: netbsd32_ioctl.c

Log Message:
Pull up following revision(s) (requested by maxv in ticket #1318):
sys/compat/netbsd32/netbsd32_ioctl.c: revision 1.82
Wrong logic. Here, userland can control the size and the data copied, which
basically means it can overflow kernel memory.
ok martin@ christos@


To generate a diff of this commit:
cvs rdiff -u -r1.64.8.1 -r1.64.8.2 src/sys/compat/netbsd32/netbsd32_ioctl.c

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



CVS commit: [netbsd-6] src/doc

2015-08-02 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Sun Aug  2 12:51:34 UTC 2015

Modified Files:
src/doc [netbsd-6]: CHANGES-6.2

Log Message:
Ticket #1318


To generate a diff of this commit:
cvs rdiff -u -r1.1.2.223 -r1.1.2.224 src/doc/CHANGES-6.2

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



CVS commit: [netbsd-6-1] src/sys/compat/netbsd32

2015-08-02 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Sun Aug  2 12:53:00 UTC 2015

Modified Files:
src/sys/compat/netbsd32 [netbsd-6-1]: netbsd32_ioctl.c

Log Message:
Pull up following revision(s) (requested by maxv in ticket #1318):
sys/compat/netbsd32/netbsd32_ioctl.c: revision 1.82
Wrong logic. Here, userland can control the size and the data copied, which
basically means it can overflow kernel memory.
ok martin@ christos@


To generate a diff of this commit:
cvs rdiff -u -r1.64 -r1.64.14.1 src/sys/compat/netbsd32/netbsd32_ioctl.c

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



CVS commit: [netbsd-6-1] src/doc

2015-08-02 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Sun Aug  2 12:53:39 UTC 2015

Modified Files:
src/doc [netbsd-6-1]: CHANGES-6.1.6

Log Message:
Ticket #1318


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

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



CVS commit: [netbsd-6-0] src/sys/compat/netbsd32

2015-08-02 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Sun Aug  2 12:54:34 UTC 2015

Modified Files:
src/sys/compat/netbsd32 [netbsd-6-0]: netbsd32_ioctl.c

Log Message:
Pull up following revision(s) (requested by maxv in ticket #1318):
sys/compat/netbsd32/netbsd32_ioctl.c: revision 1.82
Wrong logic. Here, userland can control the size and the data copied, which
basically means it can overflow kernel memory.
ok martin@ christos@


To generate a diff of this commit:
cvs rdiff -u -r1.64 -r1.64.12.1 src/sys/compat/netbsd32/netbsd32_ioctl.c

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



CVS commit: [netbsd-6-0] src/doc

2015-08-02 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Sun Aug  2 12:55:46 UTC 2015

Modified Files:
src/doc [netbsd-6-0]: CHANGES-6.0.7

Log Message:
Ticket #1318


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

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-02 Thread Jared D. McNeill
Module Name:src
Committed By:   jmcneill
Date:   Sun Aug  2 16:46:12 UTC 2015

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

Log Message:
When halting a channel, abort the current DMA CB and reset the channel
before stopping DMA.


To generate a diff of this commit:
cvs rdiff -u -r1.11 -r1.12 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/sbin/fsck_lfs

2015-08-02 Thread David A. Holland
Module Name:src
Committed By:   dholland
Date:   Sun Aug  2 17:56:24 UTC 2015

Modified Files:
src/sbin/fsck_lfs: setup.c

Log Message:
Fix bug: for format version 1, the superblock "size" field is measured
in blocks instead of frags, so use lfs_blkstofrags to correct it.

This code was instead multiplying by the block size divided by
DEV_BSIZE to get the number of disk blocks rather than the number of
frags. (I gather that originally these were the same, but they're not
necessarily any more.)


To generate a diff of this commit:
cvs rdiff -u -r1.49 -r1.50 src/sbin/fsck_lfs/setup.c

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-02 Thread David A. Holland
Module Name:src
Committed By:   dholland
Date:   Sun Aug  2 17:57:27 UTC 2015

Modified Files:
src/sys/ufs/lfs: lfs_accessors.h

Log Message:
Allow superblock accessors that widen 32-bit disk fields to 64-bit
memory values.


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/sys/ufs/lfs/lfs_accessors.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-02 Thread David A. Holland
Module Name:src
Committed By:   dholland
Date:   Sun Aug  2 18:08:13 UTC 2015

Modified Files:
src/sbin/fsck_lfs: lfs.c pass5.c pass6.c
src/sbin/newfs_lfs: make_lfs.c
src/sbin/scan_ffs: scan_ffs.c
src/sys/ufs/lfs: lfs.h lfs_accessors.h lfs_balloc.c lfs_bio.c
lfs_debug.c lfs_inode.c lfs_vfsops.c
src/usr.sbin/dumplfs: dumplfs.c

Log Message:
Fix assorted 64 -> 32 truncations in lfs. Also, some minor tidyups and
corrections in passing.


To generate a diff of this commit:
cvs rdiff -u -r1.48 -r1.49 src/sbin/fsck_lfs/lfs.c
cvs rdiff -u -r1.32 -r1.33 src/sbin/fsck_lfs/pass5.c
cvs rdiff -u -r1.37 -r1.38 src/sbin/fsck_lfs/pass6.c
cvs rdiff -u -r1.34 -r1.35 src/sbin/newfs_lfs/make_lfs.c
cvs rdiff -u -r1.28 -r1.29 src/sbin/scan_ffs/scan_ffs.c
cvs rdiff -u -r1.167 -r1.168 src/sys/ufs/lfs/lfs.h
cvs rdiff -u -r1.3 -r1.4 src/sys/ufs/lfs/lfs_accessors.h
cvs rdiff -u -r1.84 -r1.85 src/sys/ufs/lfs/lfs_balloc.c
cvs rdiff -u -r1.132 -r1.133 src/sys/ufs/lfs/lfs_bio.c
cvs rdiff -u -r1.46 -r1.47 src/sys/ufs/lfs/lfs_debug.c
cvs rdiff -u -r1.140 -r1.141 src/sys/ufs/lfs/lfs_inode.c
cvs rdiff -u -r1.329 -r1.330 src/sys/ufs/lfs/lfs_vfsops.c
cvs rdiff -u -r1.45 -r1.46 src/usr.sbin/dumplfs/dumplfs.c

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



CVS commit: src

2015-08-02 Thread David A. Holland
Module Name:src
Committed By:   dholland
Date:   Sun Aug  2 18:10:08 UTC 2015

Modified Files:
src/libexec/lfs_cleanerd: cleaner.h lfs_cleanerd.c
src/sbin/fsck_lfs: lfs.c setup.c
src/sbin/newfs_lfs: make_lfs.c
src/sys/ufs/lfs: lfs.h lfs_accessors.h lfs_debug.c lfs_extern.h
lfs_pages.c lfs_segment.c lfs_vfsops.c
src/usr.sbin/dumplfs: dumplfs.c

Log Message:
Second batch of 64 -> 32 truncations in lfs, along with more minor
tidyups and corrections in passing.


To generate a diff of this commit:
cvs rdiff -u -r1.9 -r1.10 src/libexec/lfs_cleanerd/cleaner.h
cvs rdiff -u -r1.41 -r1.42 src/libexec/lfs_cleanerd/lfs_cleanerd.c
cvs rdiff -u -r1.49 -r1.50 src/sbin/fsck_lfs/lfs.c
cvs rdiff -u -r1.50 -r1.51 src/sbin/fsck_lfs/setup.c
cvs rdiff -u -r1.35 -r1.36 src/sbin/newfs_lfs/make_lfs.c
cvs rdiff -u -r1.168 -r1.169 src/sys/ufs/lfs/lfs.h
cvs rdiff -u -r1.4 -r1.5 src/sys/ufs/lfs/lfs_accessors.h
cvs rdiff -u -r1.47 -r1.48 src/sys/ufs/lfs/lfs_debug.c
cvs rdiff -u -r1.105 -r1.106 src/sys/ufs/lfs/lfs_extern.h
cvs rdiff -u -r1.5 -r1.6 src/sys/ufs/lfs/lfs_pages.c
cvs rdiff -u -r1.245 -r1.246 src/sys/ufs/lfs/lfs_segment.c
cvs rdiff -u -r1.330 -r1.331 src/sys/ufs/lfs/lfs_vfsops.c
cvs rdiff -u -r1.46 -r1.47 src/usr.sbin/dumplfs/dumplfs.c

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



CVS commit: src/sbin/newfs_lfs

2015-08-02 Thread David A. Holland
Module Name:src
Committed By:   dholland
Date:   Sun Aug  2 18:11:12 UTC 2015

Modified Files:
src/sbin/newfs_lfs: make_lfs.c

Log Message:
Use c99 initializers.


To generate a diff of this commit:
cvs rdiff -u -r1.36 -r1.37 src/sbin/newfs_lfs/make_lfs.c

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-02 Thread David A. Holland
Module Name:src
Committed By:   dholland
Date:   Sun Aug  2 18:10:55 UTC 2015

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

Log Message:
Fix catastrophic bug in lfs_rewind() that changed segment numbers
(lfs_curseg/lfs_nextseg in the superblock) using the wrong units.
These fields are for whatever reason the start addresses of segments
(measured in frags) rather than the segment numbers 0..n.

This only apparently affects dumping from a mounted fs; however, it
trashes the fs.

I would really, really like to have a static analysis tool that can
keep track of the units things are measured in, since fs code is full
of conversion macros and the macros are named inscrutable things like
"sntod" whose letters don't necessarily even correspond to the units
they convert. It is surprising that more of these are not wrong.


To generate a diff of this commit:
cvs rdiff -u -r1.246 -r1.247 src/sys/ufs/lfs/lfs_segment.c

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



CVS commit: src/sbin/newfs_lfs

2015-08-02 Thread David A. Holland
Module Name:src
Committed By:   dholland
Date:   Sun Aug  2 18:11:36 UTC 2015

Modified Files:
src/sbin/newfs_lfs: make_lfs.c

Log Message:
Typo in comment.


To generate a diff of this commit:
cvs rdiff -u -r1.37 -r1.38 src/sbin/newfs_lfs/make_lfs.c

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



CVS commit: src

2015-08-02 Thread David A. Holland
Module Name:src
Committed By:   dholland
Date:   Sun Aug  2 18:11:57 UTC 2015

Modified Files:
src/sbin/mount_lfs: mount_lfs.c mount_lfs.h
src/usr.sbin/puffs/rump_lfs: rump_lfs.c

Log Message:
Use the lfs header file and lfs's mount args struct, not ufsmount.h
and the ffs mount args struct, for mounting lfs.

(they are the same, so this doesn't matter yet, but still...)


To generate a diff of this commit:
cvs rdiff -u -r1.37 -r1.38 src/sbin/mount_lfs/mount_lfs.c
cvs rdiff -u -r1.2 -r1.3 src/sbin/mount_lfs/mount_lfs.h
cvs rdiff -u -r1.17 -r1.18 src/usr.sbin/puffs/rump_lfs/rump_lfs.c

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-02 Thread David A. Holland
Module Name:src
Committed By:   dholland
Date:   Sun Aug  2 18:12:41 UTC 2015

Modified Files:
src/sys/ufs/lfs: lfs_inode.c lfs_inode.h lfs_segment.c lfs_vnops.c

Log Message:
Make i_eff_nblks in the in-memory inode 64 bits wide.


To generate a diff of this commit:
cvs rdiff -u -r1.141 -r1.142 src/sys/ufs/lfs/lfs_inode.c
cvs rdiff -u -r1.7 -r1.8 src/sys/ufs/lfs/lfs_inode.h
cvs rdiff -u -r1.247 -r1.248 src/sys/ufs/lfs/lfs_segment.c
cvs rdiff -u -r1.278 -r1.279 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/sbin/resize_lfs

2015-08-02 Thread David A. Holland
Module Name:src
Committed By:   dholland
Date:   Sun Aug  2 18:12:18 UTC 2015

Modified Files:
src/sbin/resize_lfs: resize_lfs.c

Log Message:
Don't include ufs headers.


To generate a diff of this commit:
cvs rdiff -u -r1.12 -r1.13 src/sbin/resize_lfs/resize_lfs.c

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-02 Thread David A. Holland
Module Name:src
Committed By:   dholland
Date:   Sun Aug  2 18:12:59 UTC 2015

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

Log Message:
lfs_cleanint[] in the in-memory superblock needs to have 64-bit entries.


To generate a diff of this commit:
cvs rdiff -u -r1.169 -r1.170 src/sys/ufs/lfs/lfs.h
cvs rdiff -u -r1.279 -r1.280 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

2015-08-02 Thread David A. Holland
Module Name:src
Committed By:   dholland
Date:   Sun Aug  2 18:14:16 UTC 2015

Modified Files:
src/libexec/lfs_cleanerd: lfs_cleanerd.c
src/sbin/dump_lfs: lfs_inode.c
src/sbin/fsck_lfs: lfs.c pass5.c segwrite.c setup.c
src/sbin/newfs_lfs: make_lfs.c
src/sbin/scan_ffs: scan_ffs.c
src/sys/ufs/lfs: lfs_accessors.h lfs_alloc.c lfs_debug.c lfs_itimes.c
lfs_rfw.c lfs_segment.c lfs_syscalls.c lfs_vfsops.c
src/usr.sbin/dumplfs: dumplfs.c

Log Message:
Use accessor functions for the version field of the lfs superblock.
I thought at first maybe the cases that test the version should be
rolled into the accessors, but on the whole I think the conclusion on
that is no.


To generate a diff of this commit:
cvs rdiff -u -r1.42 -r1.43 src/libexec/lfs_cleanerd/lfs_cleanerd.c
cvs rdiff -u -r1.21 -r1.22 src/sbin/dump_lfs/lfs_inode.c
cvs rdiff -u -r1.50 -r1.51 src/sbin/fsck_lfs/lfs.c
cvs rdiff -u -r1.33 -r1.34 src/sbin/fsck_lfs/pass5.c
cvs rdiff -u -r1.34 -r1.35 src/sbin/fsck_lfs/segwrite.c
cvs rdiff -u -r1.51 -r1.52 src/sbin/fsck_lfs/setup.c
cvs rdiff -u -r1.38 -r1.39 src/sbin/newfs_lfs/make_lfs.c
cvs rdiff -u -r1.29 -r1.30 src/sbin/scan_ffs/scan_ffs.c
cvs rdiff -u -r1.5 -r1.6 src/sys/ufs/lfs/lfs_accessors.h
cvs rdiff -u -r1.124 -r1.125 src/sys/ufs/lfs/lfs_alloc.c
cvs rdiff -u -r1.48 -r1.49 src/sys/ufs/lfs/lfs_debug.c
cvs rdiff -u -r1.16 -r1.17 src/sys/ufs/lfs/lfs_itimes.c
cvs rdiff -u -r1.24 -r1.25 src/sys/ufs/lfs/lfs_rfw.c
cvs rdiff -u -r1.248 -r1.249 src/sys/ufs/lfs/lfs_segment.c
cvs rdiff -u -r1.163 -r1.164 src/sys/ufs/lfs/lfs_syscalls.c
cvs rdiff -u -r1.331 -r1.332 src/sys/ufs/lfs/lfs_vfsops.c
cvs rdiff -u -r1.47 -r1.48 src/usr.sbin/dumplfs/dumplfs.c

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



CVS commit: src

2015-08-02 Thread David A. Holland
Module Name:src
Committed By:   dholland
Date:   Sun Aug  2 18:18:10 UTC 2015

Modified Files:
src/libexec/lfs_cleanerd: cleaner.h lfs_cleanerd.c
src/sbin/dump_lfs: lfs_inode.c
src/sbin/fsck_lfs: lfs.c segwrite.c
src/sbin/newfs_lfs: extern.h make_lfs.c
src/sbin/resize_lfs: resize_lfs.c
src/sbin/scan_ffs: scan_ffs.c
src/sys/lib/libsa: lfsv1.c lfsv2.c ufs.c
src/sys/ufs/lfs: lfs.h lfs_accessors.h lfs_cksum.c lfs_debug.c
lfs_extern.h lfs_segment.c lfs_vfsops.c
src/usr.sbin/dumplfs: dumplfs.c

Log Message:
Add a (draft) 64-bit superblock. Make things build again.

Add pieces of support for using both superblock types where
convenient, and specifically to the superblock accessors, but don't
actually enable it anywhere.

First substantive step on PR 5.


To generate a diff of this commit:
cvs rdiff -u -r1.10 -r1.11 src/libexec/lfs_cleanerd/cleaner.h
cvs rdiff -u -r1.43 -r1.44 src/libexec/lfs_cleanerd/lfs_cleanerd.c
cvs rdiff -u -r1.22 -r1.23 src/sbin/dump_lfs/lfs_inode.c
cvs rdiff -u -r1.51 -r1.52 src/sbin/fsck_lfs/lfs.c
cvs rdiff -u -r1.35 -r1.36 src/sbin/fsck_lfs/segwrite.c
cvs rdiff -u -r1.12 -r1.13 src/sbin/newfs_lfs/extern.h
cvs rdiff -u -r1.39 -r1.40 src/sbin/newfs_lfs/make_lfs.c
cvs rdiff -u -r1.13 -r1.14 src/sbin/resize_lfs/resize_lfs.c
cvs rdiff -u -r1.30 -r1.31 src/sbin/scan_ffs/scan_ffs.c
cvs rdiff -u -r1.11 -r1.12 src/sys/lib/libsa/lfsv1.c \
src/sys/lib/libsa/lfsv2.c
cvs rdiff -u -r1.69 -r1.70 src/sys/lib/libsa/ufs.c
cvs rdiff -u -r1.170 -r1.171 src/sys/ufs/lfs/lfs.h
cvs rdiff -u -r1.6 -r1.7 src/sys/ufs/lfs/lfs_accessors.h
cvs rdiff -u -r1.29 -r1.30 src/sys/ufs/lfs/lfs_cksum.c
cvs rdiff -u -r1.49 -r1.50 src/sys/ufs/lfs/lfs_debug.c
cvs rdiff -u -r1.106 -r1.107 src/sys/ufs/lfs/lfs_extern.h
cvs rdiff -u -r1.249 -r1.250 src/sys/ufs/lfs/lfs_segment.c
cvs rdiff -u -r1.332 -r1.333 src/sys/ufs/lfs/lfs_vfsops.c
cvs rdiff -u -r1.48 -r1.49 src/usr.sbin/dumplfs/dumplfs.c

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-02 Thread David A. Holland
Module Name:src
Committed By:   dholland
Date:   Sun Aug  2 18:18:46 UTC 2015

Modified Files:
src/sys/ufs/lfs: lfs.h lfs_accessors.h lfs_balloc.c lfs_segment.c
lfs_vfsops.c ulfs_bmap.c

Log Message:
Pass the fs object to LFS_MAX_DADDR so it can check lfs_is64.

Remove some hackish intentional 64->32 truncations next to the checks
using LFS_MAX_DADDR, and tackle the problem they handled in bmap
instead.

The problem: the magic block pointer value UNWRITTEN has magic value
-2, and if it's not handled specifically, uint32 -> uint64 promotion
turns it into 4294967294, which then causes consternation and
monkeyhouse downstream.

What's here is still kind of a hack, but it's a step forward.


To generate a diff of this commit:
cvs rdiff -u -r1.171 -r1.172 src/sys/ufs/lfs/lfs.h
cvs rdiff -u -r1.7 -r1.8 src/sys/ufs/lfs/lfs_accessors.h
cvs rdiff -u -r1.85 -r1.86 src/sys/ufs/lfs/lfs_balloc.c
cvs rdiff -u -r1.250 -r1.251 src/sys/ufs/lfs/lfs_segment.c
cvs rdiff -u -r1.333 -r1.334 src/sys/ufs/lfs/lfs_vfsops.c
cvs rdiff -u -r1.5 -r1.6 src/sys/ufs/lfs/ulfs_bmap.c

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-02 Thread David A. Holland
Module Name:src
Committed By:   dholland
Date:   Sun Aug  2 20:23:21 UTC 2015

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

Log Message:
whoops, fix 32-bit build


To generate a diff of this commit:
cvs rdiff -u -r1.142 -r1.143 src/sys/ufs/lfs/lfs_inode.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/hdmicec

2015-08-02 Thread Jared D. McNeill
Module Name:src
Committed By:   jmcneill
Date:   Sun Aug  2 21:22:34 UTC 2015

Added Files:
src/sys/dev/hdmicec: Makefile

Log Message:
add makefile for installing hdmicecio.h


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 src/sys/dev/hdmicec/Makefile

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-02 Thread Jared D. McNeill
Module Name:src
Committed By:   jmcneill
Date:   Sun Aug  2 21:44:36 UTC 2015

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

Log Message:
Add basic UHS-I support. SDR50 and SDR104 are supported, but not DDR50.


To generate a diff of this commit:
cvs rdiff -u -r1.34 -r1.35 src/sys/dev/sdmmc/sdmmc_mem.c
cvs rdiff -u -r1.4 -r1.5 src/sys/dev/sdmmc/sdmmcchip.h
cvs rdiff -u -r1.15 -r1.16 src/sys/dev/sdmmc/sdmmcreg.h
cvs rdiff -u -r1.16 -r1.17 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-02 Thread Jared D. McNeill
Module Name:src
Committed By:   jmcneill
Date:   Sun Aug  2 21:45:12 UTC 2015

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

Log Message:
add support for UHS-I modes on capable 3.0+ controllers


To generate a diff of this commit:
cvs rdiff -u -r1.70 -r1.71 src/sys/dev/sdmmc/sdhc.c
cvs rdiff -u -r1.14 -r1.15 src/sys/dev/sdmmc/sdhcreg.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/nvidia

2015-08-02 Thread Jared D. McNeill
Module Name:src
Committed By:   jmcneill
Date:   Sun Aug  2 21:45:52 UTC 2015

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

Log Message:
set ref clk to 204MHz so we can take advantage of UHS-I modes


To generate a diff of this commit:
cvs rdiff -u -r1.9 -r1.10 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-02 Thread Jared D. McNeill
Module Name:src
Committed By:   jmcneill
Date:   Sun Aug  2 22:01:28 UTC 2015

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

Log Message:
let SDHC_FLAG_HOSTCAPS override SDHC_CAPABILITIES2 as well


To generate a diff of this commit:
cvs rdiff -u -r1.71 -r1.72 src/sys/dev/sdmmc/sdhc.c
cvs rdiff -u -r1.21 -r1.22 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/arch/arm/broadcom

2015-08-02 Thread Jared D. McNeill
Module Name:src
Committed By:   jmcneill
Date:   Sun Aug  2 22:09:43 UTC 2015

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

Log Message:
enable UHS support


To generate a diff of this commit:
cvs rdiff -u -r1.24 -r1.25 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-02 Thread Jared D. McNeill
Module Name:src
Committed By:   jmcneill
Date:   Sun Aug  2 22:47:05 UTC 2015

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

Log Message:
Add support for eMMC 5.0 HS200 timings.


To generate a diff of this commit:
cvs rdiff -u -r1.35 -r1.36 src/sys/dev/sdmmc/sdmmc_mem.c
cvs rdiff -u -r1.16 -r1.17 src/sys/dev/sdmmc/sdmmcreg.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-02 Thread Jared D. McNeill
Module Name:src
Committed By:   jmcneill
Date:   Mon Aug  3 00:19:27 UTC 2015

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

Log Message:
dont confuse signaling voltage and bus voltage


To generate a diff of this commit:
cvs rdiff -u -r1.72 -r1.73 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-02 Thread Jared D. McNeill
Module Name:src
Committed By:   jmcneill
Date:   Mon Aug  3 00:44:52 UTC 2015

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

Log Message:
don't select SDR12 mode if we are <= 400 kHz


To generate a diff of this commit:
cvs rdiff -u -r1.73 -r1.74 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/sbin/fsck_lfs

2015-08-02 Thread David A. Holland
Module Name:src
Committed By:   dholland
Date:   Mon Aug  3 04:16:10 UTC 2015

Modified Files:
src/sbin/fsck_lfs: pass5.c

Log Message:
Use intmax_t to print daddr_t; from sevan@.


To generate a diff of this commit:
cvs rdiff -u -r1.34 -r1.35 src/sbin/fsck_lfs/pass5.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

2015-08-02 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Mon Aug  3 04:55:15 UTC 2015

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

Log Message:
1. mask fflags so we don't tack on whateve oflags were passed from userland
2. honor O_CLOEXEC, so the children of daemons that use cloning devices, don't
   end up with the parents descriptors
fd_clone and in general the fd approach of 'allocate' > 'play with guts' >
'attach' should be converted to be more constructor like.
XXX: pullup-{6,7}


To generate a diff of this commit:
cvs rdiff -u -r1.228 -r1.229 src/sys/kern/kern_descrip.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-02 Thread Michael van Elst
Module Name:src
Committed By:   mlelstv
Date:   Mon Aug  3 05:24:37 UTC 2015

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

Log Message:
better error message


To generate a diff of this commit:
cvs rdiff -u -r1.74 -r1.75 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-02 Thread Michael van Elst
Module Name:src
Committed By:   mlelstv
Date:   Mon Aug  3 05:26:53 UTC 2015

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

Log Message:
more debug output


To generate a diff of this commit:
cvs rdiff -u -r1.36 -r1.37 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-02 Thread Michael van Elst
Module Name:src
Committed By:   mlelstv
Date:   Mon Aug  3 05:32:50 UTC 2015

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

Log Message:
use mutex locking for MP safety.


To generate a diff of this commit:
cvs rdiff -u -r1.17 -r1.18 src/sys/dev/sdmmc/ld_sdmmc.c
cvs rdiff -u -r1.27 -r1.28 src/sys/dev/sdmmc/sdmmc.c
cvs rdiff -u -r1.8 -r1.9 src/sys/dev/sdmmc/sdmmc_io.c
cvs rdiff -u -r1.37 -r1.38 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/pci/ixgbe

2015-08-02 Thread SAITOH Masanobu
Module Name:src
Committed By:   msaitoh
Date:   Mon Aug  3 05:43:01 UTC 2015

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

Log Message:
 Add missing evcnt_detach(&rxr->rx_copies) in ixgbe_detach().


To generate a diff of this commit:
cvs rdiff -u -r1.30 -r1.31 src/sys/dev/pci/ixgbe/ixgbe.c

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