CVS commit: src/sys/dev/dkwedge

2016-01-14 Thread Michael van Elst
Module Name:src
Committed By:   mlelstv
Date:   Fri Jan 15 07:48:22 UTC 2016

Modified Files:
src/sys/dev/dkwedge: dk.c

Log Message:
Allow dump to raidframe component which is a wedge.

N.B. ordinary devices check the partition type only in the xxxsize routine.


To generate a diff of this commit:
cvs rdiff -u -r1.87 -r1.88 src/sys/dev/dkwedge/dk.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/raidframe

2016-01-05 Thread Michael van Elst
Module Name:src
Committed By:   mlelstv
Date:   Tue Jan  5 17:06:34 UTC 2016

Modified Files:
src/sys/dev/raidframe: rf_netbsdkintf.c

Log Message:
When autoconfiguring RAID sets:

Pseudo devices like vnd and cgd can be opened but may still
need some configuration. Ignore these quietly.


To generate a diff of this commit:
cvs rdiff -u -r1.338 -r1.339 src/sys/dev/raidframe/rf_netbsdkintf.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/raidframe

2016-01-05 Thread Michael van Elst
Module Name:src
Committed By:   mlelstv
Date:   Tue Jan  5 17:03:53 UTC 2016

Modified Files:
src/sys/dev/raidframe: rf_netbsdkintf.c

Log Message:
handle possible errors from bdev_strategy.


To generate a diff of this commit:
cvs rdiff -u -r1.337 -r1.338 src/sys/dev/raidframe/rf_netbsdkintf.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/raidframe

2016-01-04 Thread Michael van Elst
Module Name:src
Committed By:   mlelstv
Date:   Mon Jan  4 13:15:17 UTC 2016

Modified Files:
src/sys/dev/raidframe: rf_netbsdkintf.c

Log Message:
prevent unconfigure/detach while background threads are running.


To generate a diff of this commit:
cvs rdiff -u -r1.336 -r1.337 src/sys/dev/raidframe/rf_netbsdkintf.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/raidframe

2016-01-04 Thread Michael van Elst
Module Name:src
Committed By:   mlelstv
Date:   Mon Jan  4 11:12:40 UTC 2016

Modified Files:
src/sys/dev/raidframe: rf_netbsdkintf.c

Log Message:
Fix dump on raid.
- offset dump by RF_PROTECTED_SECTORS (thanks oster@ for noticing)
- call component dump function with byte count instead of block count
- return -1 instead of errno values in dk_size for error conditions.

There are still issues with dumping.
- the raid device must be open, neither reading the disklabel
  nor flushing the component labels in rfmarkdirty is possible
  when dumping.
- dumping to a wedge component fails because the wedge driver only
  allows dumping to swap partitions, not raid partitions.


To generate a diff of this commit:
cvs rdiff -u -r1.335 -r1.336 src/sys/dev/raidframe/rf_netbsdkintf.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

2016-01-04 Thread Michael van Elst
Module Name:src
Committed By:   mlelstv
Date:   Mon Jan  4 10:02:15 UTC 2016

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

Log Message:
erase dangling pointer to prevent reuse


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

2016-01-03 Thread Michael van Elst
Module Name:src
Committed By:   mlelstv
Date:   Sun Jan  3 08:17:24 UTC 2016

Modified Files:
src/sys/dev/raidframe: rf_engine.c rf_kintf.h rf_netbsdkintf.c
rf_states.c

Log Message:
refactor driver to use common code in dksubr.


To generate a diff of this commit:
cvs rdiff -u -r1.50 -r1.51 src/sys/dev/raidframe/rf_engine.c
cvs rdiff -u -r1.23 -r1.24 src/sys/dev/raidframe/rf_kintf.h
cvs rdiff -u -r1.334 -r1.335 src/sys/dev/raidframe/rf_netbsdkintf.c
cvs rdiff -u -r1.49 -r1.50 src/sys/dev/raidframe/rf_states.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/raidframe

2016-01-02 Thread Michael van Elst
Module Name:src
Committed By:   mlelstv
Date:   Sat Jan  2 16:20:50 UTC 2016

Modified Files:
src/sys/dev/raidframe: rf_netbsdkintf.c

Log Message:
No longer detach opened device directly in RAIDFRAME_SHUTDOWN ioctl,
instead just mark the device for shutdown and detach on last close.

Also don't manually print the detached message but leave this to
config_detach(). This avoids a duplicate message when shutting down.


To generate a diff of this commit:
cvs rdiff -u -r1.333 -r1.334 src/sys/dev/raidframe/rf_netbsdkintf.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/raidframe

2016-01-02 Thread Michael van Elst
Module Name:src
Committed By:   mlelstv
Date:   Sat Jan  2 16:10:06 UTC 2016

Modified Files:
src/sys/dev/raidframe: rf_netbsdkintf.c

Log Message:
RAIDF_INITED state also includes disk attachments, don't undo operations
that haven't been committed.


To generate a diff of this commit:
cvs rdiff -u -r1.332 -r1.333 src/sys/dev/raidframe/rf_netbsdkintf.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/raidframe

2016-01-02 Thread Michael van Elst
Module Name:src
Committed By:   mlelstv
Date:   Sat Jan  2 16:06:25 UTC 2016

Modified Files:
src/sys/dev/raidframe: rf_netbsdkintf.c

Log Message:
Unlock and free in raid_detach to handle error paths.


To generate a diff of this commit:
cvs rdiff -u -r1.331 -r1.332 src/sys/dev/raidframe/rf_netbsdkintf.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/raidframe

2016-01-02 Thread Michael van Elst
Module Name:src
Committed By:   mlelstv
Date:   Sat Jan  2 16:00:01 UTC 2016

Modified Files:
src/sys/dev/raidframe: rf_netbsdkintf.c

Log Message:
use bdev_strategy wrapper to properly use KERNEL_LOCK.


To generate a diff of this commit:
cvs rdiff -u -r1.330 -r1.331 src/sys/dev/raidframe/rf_netbsdkintf.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/dkwedge

2015-12-26 Thread Michael van Elst
Module Name:src
Committed By:   mlelstv
Date:   Sun Dec 27 00:47:47 UTC 2015

Modified Files:
src/sys/dev/dkwedge: dk.c

Log Message:
Return error in dkopen when dk_open_parent fails. Also change dk_open_parent
to pass error code to caller.
XXX: Pullups


To generate a diff of this commit:
cvs rdiff -u -r1.86 -r1.87 src/sys/dev/dkwedge/dk.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-12-22 Thread Michael van Elst
Module Name:src
Committed By:   mlelstv
Date:   Tue Dec 22 09:56:06 UTC 2015

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

Log Message:
Be graceful about command timeouts when probing.


To generate a diff of this commit:
cvs rdiff -u -r1.49 -r1.50 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-12-22 Thread Michael van Elst
Module Name:src
Committed By:   mlelstv
Date:   Tue Dec 22 09:55:38 UTC 2015

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

Log Message:
ignore timeouts for APP_CMD prefix as for the application command itself.


To generate a diff of this commit:
cvs rdiff -u -r1.32 -r1.33 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/sys

2015-12-21 Thread Michael van Elst
Module Name:src
Committed By:   mlelstv
Date:   Mon Dec 21 12:35:15 UTC 2015

Modified Files:
src/sys/sys: param.h

Log Message:
Support for separate I/O thread adds new functions to dk_subr module.

Bump to 7.99.25


To generate a diff of this commit:
cvs rdiff -u -r1.489 -r1.490 src/sys/sys/param.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

2015-12-21 Thread Michael van Elst
Module Name:src
Committed By:   mlelstv
Date:   Mon Dec 21 12:33:13 UTC 2015

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

Log Message:
support deferral of diskstart to a separate thread.


To generate a diff of this commit:
cvs rdiff -u -r1.84 -r1.85 src/sys/dev/dksubr.c
cvs rdiff -u -r1.24 -r1.25 src/sys/dev/dkvar.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

2015-12-21 Thread Michael van Elst
Module Name:src
Committed By:   mlelstv
Date:   Mon Dec 21 12:30:29 UTC 2015

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

Log Message:
more sanity checks


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

2015-12-17 Thread Michael van Elst
Module Name:src
Committed By:   mlelstv
Date:   Thu Dec 17 12:17:13 UTC 2015

Modified Files:
src/sys/net/npf: npf_inet.c

Log Message:
make DDB print ipv6 addresses too


To generate a diff of this commit:
cvs rdiff -u -r1.32 -r1.33 src/sys/net/npf/npf_inet.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/npf

2015-12-17 Thread Michael van Elst
Module Name:src
Committed By:   mlelstv
Date:   Thu Dec 17 12:16:21 UTC 2015

Modified Files:
src/sys/net/npf: npf_mbuf.c

Log Message:
handle delayed cksums also for ipv6


To generate a diff of this commit:
cvs rdiff -u -r1.14 -r1.15 src/sys/net/npf/npf_mbuf.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/sunos

2015-12-11 Thread Michael van Elst
Module Name:src
Committed By:   mlelstv
Date:   Fri Dec 11 08:19:07 UTC 2015

Modified Files:
src/sys/compat/sunos: sunos_ioctl.c

Log Message:
d_secpercyl is gone and we use the value from disklabel anyway.


To generate a diff of this commit:
cvs rdiff -u -r1.65 -r1.66 src/sys/compat/sunos/sunos_ioctl.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/svr4_32

2015-12-11 Thread Michael van Elst
Module Name:src
Committed By:   mlelstv
Date:   Fri Dec 11 08:12:18 UTC 2015

Modified Files:
src/sys/compat/svr4_32: svr4_32_termios.c

Log Message:
PR 50519 missing breaks in switch


To generate a diff of this commit:
cvs rdiff -u -r1.17 -r1.18 src/sys/compat/svr4_32/svr4_32_termios.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/sunos

2015-12-11 Thread Michael van Elst
Module Name:src
Committed By:   mlelstv
Date:   Fri Dec 11 08:10:28 UTC 2015

Modified Files:
src/sys/compat/sunos: sunos_ioctl.c

Log Message:
PR 50518 bad switch


To generate a diff of this commit:
cvs rdiff -u -r1.64 -r1.65 src/sys/compat/sunos/sunos_ioctl.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/sunos32

2015-12-11 Thread Michael van Elst
Module Name:src
Committed By:   mlelstv
Date:   Fri Dec 11 08:10:43 UTC 2015

Modified Files:
src/sys/compat/sunos32: sunos32_ioctl.c

Log Message:
PR 50517 bad switch


To generate a diff of this commit:
cvs rdiff -u -r1.33 -r1.34 src/sys/compat/sunos32/sunos32_ioctl.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/sparc/sparc

2015-12-11 Thread Michael van Elst
Module Name:src
Committed By:   mlelstv
Date:   Fri Dec 11 08:08:01 UTC 2015

Modified Files:
src/sys/arch/sparc/sparc: trap.c

Log Message:
PR 50516 bad switch case


To generate a diff of this commit:
cvs rdiff -u -r1.193 -r1.194 src/sys/arch/sparc/sparc/trap.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/i386/stand/lib

2015-12-11 Thread Michael van Elst
Module Name:src
Committed By:   mlelstv
Date:   Fri Dec 11 08:04:20 UTC 2015

Modified Files:
src/sys/arch/i386/stand/lib: dosfile.c

Log Message:
PR 50516 bad switch statement.
Adding some comments.


To generate a diff of this commit:
cvs rdiff -u -r1.16 -r1.17 src/sys/arch/i386/stand/lib/dosfile.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-12-07 Thread Michael van Elst
Module Name:src
Committed By:   mlelstv
Date:   Mon Dec  7 09:41:37 UTC 2015

Modified Files:
src/sys/dev/i2c: spdmem_i2c.c
src/sys/dev/ic: spdmemvar.h

Log Message:
Handle reading of 4kbit EEPROMs in SPD devices. This is needed for DDR4 DIMMs.


To generate a diff of this commit:
cvs rdiff -u -r1.10 -r1.11 src/sys/dev/i2c/spdmem_i2c.c
cvs rdiff -u -r1.8 -r1.9 src/sys/dev/ic/spdmemvar.h

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



CVS commit: src/sys/uvm

2015-12-06 Thread Michael van Elst
Module Name:src
Committed By:   mlelstv
Date:   Sun Dec  6 08:53:22 UTC 2015

Modified Files:
src/sys/uvm: uvm_vnode.c

Log Message:
Clean up assertions and catch integer overflow.


To generate a diff of this commit:
cvs rdiff -u -r1.100 -r1.101 src/sys/uvm/uvm_vnode.c

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



CVS commit: src/share/man/man4

2015-12-06 Thread Michael van Elst
Module Name:src
Committed By:   mlelstv
Date:   Sun Dec  6 07:40:04 UTC 2015

Modified Files:
src/share/man/man4: gpio.4

Log Message:
document new pin configuration flags


To generate a diff of this commit:
cvs rdiff -u -r1.28 -r1.29 src/share/man/man4/gpio.4

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



CVS commit: src/usr.sbin/gpioctl

2015-12-06 Thread Michael van Elst
Module Name:src
Committed By:   mlelstv
Date:   Sun Dec  6 07:31:28 UTC 2015

Modified Files:
src/usr.sbin/gpioctl: gpioctl.c

Log Message:
pass new pin configuration flags to driver.


To generate a diff of this commit:
cvs rdiff -u -r1.21 -r1.22 src/usr.sbin/gpioctl/gpioctl.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-11-29 Thread Michael van Elst
Module Name:src
Committed By:   mlelstv
Date:   Mon Nov 30 06:04:47 UTC 2015

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

Log Message:
Fall back to VOP_READ/VOP_WRITE if the simulated disk has smaller
sectors than the underlying filesystem and VOP_STRATEGY would fail.


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

2015-11-28 Thread Michael van Elst
Module Name:src
Committed By:   mlelstv
Date:   Sat Nov 28 21:06:31 UTC 2015

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

Log Message:
Remove bogus dk_getdisklabel call.

- there is no need to read the label in the attach routine
- passing a (dev_t)0 may cause havoc.

This fixes PR 41704.


To generate a diff of this commit:
cvs rdiff -u -r1.105 -r1.106 src/sys/dev/cgd.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-11-28 Thread Michael van Elst
Module Name:src
Committed By:   mlelstv
Date:   Sat Nov 28 14:45:24 UTC 2015

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

Log Message:
Inherit sector size from underlying disk to support disks with
sector sizes other than 512 bytes.

The CGD disk image depends on disk geometry as it encodes the block
number into each block. You cannot copy an image between disks
with different sector sizes.


To generate a diff of this commit:
cvs rdiff -u -r1.104 -r1.105 src/sys/dev/cgd.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-11-28 Thread Michael van Elst
Module Name:src
Committed By:   mlelstv
Date:   Sat Nov 28 14:37:50 UTC 2015

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

Log Message:
bounds check requires consistent units, i.e. DEV_BSIZE.


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

2015-11-28 Thread Michael van Elst
Module Name:src
Committed By:   mlelstv
Date:   Sat Nov 28 14:36:00 UTC 2015

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

Log Message:
Handle sector sizes other than DEV_BSIZE when reading labels.


To generate a diff of this commit:
cvs rdiff -u -r1.113 -r1.114 src/sys/kern/subr_disk.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/dkwedge

2015-11-28 Thread Michael van Elst
Module Name:src
Committed By:   mlelstv
Date:   Sat Nov 28 13:41:31 UTC 2015

Modified Files:
src/sys/dev/dkwedge: dk.c

Log Message:
sc_size is already measured in sectors.


To generate a diff of this commit:
cvs rdiff -u -r1.85 -r1.86 src/sys/dev/dkwedge/dk.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-11-23 Thread Michael van Elst
Module Name:src
Committed By:   mlelstv
Date:   Mon Nov 23 08:00:45 UTC 2015

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

Log Message:
fix assertion checking that bufrd function is used only for large symlinks
that aren't embedded in the inode.


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

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



CVS commit: src/sys/sys

2015-11-21 Thread Michael van Elst
Module Name:src
Committed By:   mlelstv
Date:   Sat Nov 21 09:06:03 UTC 2015

Modified Files:
src/sys/sys: gpio.h

Log Message:
Provide additional flags to control alternate functions
and interrupts.


To generate a diff of this commit:
cvs rdiff -u -r1.14 -r1.15 src/sys/sys/gpio.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-11-20 Thread Michael van Elst
Module Name:src
Committed By:   mlelstv
Date:   Sat Nov 21 07:41:29 UTC 2015

Modified Files:
src/sys/arch/arm/broadcom: bcm2835_obio.c bcm2835reg.h files.bcm2835
Added Files:
src/sys/arch/arm/broadcom: bcm2835_cm.c bcm2835_cm.h bcm2835_pwm.c
bcm2835_pwm.h

Log Message:
Add drivers to access the clock manager and pulse width modulator.


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 src/sys/arch/arm/broadcom/bcm2835_cm.c \
src/sys/arch/arm/broadcom/bcm2835_cm.h \
src/sys/arch/arm/broadcom/bcm2835_pwm.c \
src/sys/arch/arm/broadcom/bcm2835_pwm.h
cvs rdiff -u -r1.25 -r1.26 src/sys/arch/arm/broadcom/bcm2835_obio.c \
src/sys/arch/arm/broadcom/files.bcm2835
cvs rdiff -u -r1.15 -r1.16 src/sys/arch/arm/broadcom/bcm2835reg.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-11-03 Thread Michael van Elst
Module Name:src
Committed By:   mlelstv
Date:   Tue Nov  3 07:59:29 UTC 2015

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

Log Message:
Also wait for DAT when sending RSP_BSY commands. Fixes PR 50388.


To generate a diff of this commit:
cvs rdiff -u -r1.90 -r1.91 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-11-02 Thread Michael van Elst
Module Name:src
Committed By:   mlelstv
Date:   Tue Nov  3 06:49:39 UTC 2015

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

Log Message:
fix timeout path in soft reset when building with SDHC_DEBUG


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

2015-10-11 Thread Michael van Elst
Module Name:src
Committed By:   mlelstv
Date:   Sun Oct 11 20:20:33 UTC 2015

Modified Files:
src/sys/arch/arm/pic: pic.c

Log Message:
unblock interrupts also when reusing a previously freed irq slot.


To generate a diff of this commit:
cvs rdiff -u -r1.35 -r1.36 src/sys/arch/arm/pic/pic.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-10-06 Thread Michael van Elst
Module Name:src
Committed By:   mlelstv
Date:   Tue Oct  6 14:32:51 UTC 2015

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

Log Message:
support hiding command timeout messages with a new command flag and use this
when probing for cards. Should fix PR 50302.


To generate a diff of this commit:
cvs rdiff -u -r1.87 -r1.88 src/sys/dev/sdmmc/sdhc.c
cvs rdiff -u -r1.11 -r1.12 src/sys/dev/sdmmc/sdmmc_io.c
cvs rdiff -u -r1.46 -r1.47 src/sys/dev/sdmmc/sdmmc_mem.c
cvs rdiff -u -r1.19 -r1.20 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/external/bsd/dhcp

2015-09-27 Thread Michael van Elst
Module Name:src
Committed By:   mlelstv
Date:   Sun Sep 27 21:01:27 UTC 2015

Modified Files:
src/external/bsd/dhcp: Makefile.inc

Log Message:
revert previous. Dynamic libraries break systems with split / and /usr
partitions and also sun2. libdns is pulling in Kerberos anyway.


To generate a diff of this commit:
cvs rdiff -u -r1.14 -r1.15 src/external/bsd/dhcp/Makefile.inc

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



CVS commit: src/external/bsd/dhcp

2015-09-26 Thread Michael van Elst
Module Name:src
Committed By:   mlelstv
Date:   Sat Sep 26 09:48:27 UTC 2015

Modified Files:
src/external/bsd/dhcp: Makefile.inc

Log Message:
Don't link partially with static libraries.
Don't link with kerberos librararies, nothing is using them.
Don't link with libipsec, our local patch, that requires it, is gone.


To generate a diff of this commit:
cvs rdiff -u -r1.13 -r1.14 src/external/bsd/dhcp/Makefile.inc

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-09-09 Thread Michael van Elst
Module Name:src
Committed By:   mlelstv
Date:   Wed Sep  9 08:09:28 UTC 2015

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

Log Message:
The iMX uSDHC controller doesn't have an interrupt error status flag,
the bit position is reserved and reads as value 0.
- Fake the flag if any of the error bits is set.
- uSDHC supports the 32bit access, the 16bit path doesn't need that quirk.


To generate a diff of this commit:
cvs rdiff -u -r1.86 -r1.87 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-09-09 Thread Michael van Elst
Module Name:src
Committed By:   mlelstv
Date:   Wed Sep  9 08:06:47 UTC 2015

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

Log Message:
Don't test flags from error value in status value. Instead test the
error interrupt status.


To generate a diff of this commit:
cvs rdiff -u -r1.85 -r1.86 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-09-09 Thread Michael van Elst
Module Name:src
Committed By:   mlelstv
Date:   Wed Sep  9 08:04:33 UTC 2015

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

Log Message:
fix DPRINTF parameters


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

2015-09-04 Thread Michael van Elst
Module Name:src
Committed By:   mlelstv
Date:   Fri Sep  4 17:59:53 UTC 2015

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

Log Message:
A change to the GPT_TYPE list also requires a change to the GPT_TYPE
index constants.


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/sbin/gpt/gpt_uuid.h

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



CVS commit: src/sys/sys

2015-08-30 Thread Michael van Elst
Module Name:src
Committed By:   mlelstv
Date:   Sun Aug 30 08:46:44 UTC 2015

Modified Files:
src/sys/sys: cdefs.h

Log Message:
wishful thinking?


To generate a diff of this commit:
cvs rdiff -u -r1.125 -r1.126 src/sys/sys/cdefs.h

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



CVS commit: src/sbin/clri

2015-08-29 Thread Michael van Elst
Module Name:src
Committed By:   mlelstv
Date:   Sun Aug 30 05:23:17 UTC 2015

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

Log Message:
Calculate sector size from superblock and use that instead of DEV_BSIZE.


To generate a diff of this commit:
cvs rdiff -u -r1.23 -r1.24 src/sbin/clri/clri.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-29 Thread Michael van Elst
Module Name:src
Committed By:   mlelstv
Date:   Sat Aug 29 21:04:22 UTC 2015

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

Log Message:
Fix IFILE pointer calculation when scanning freelist.


To generate a diff of this commit:
cvs rdiff -u -r1.14 -r1.15 src/sys/ufs/lfs/lfs_accessors.h
cvs rdiff -u -r1.127 -r1.128 src/sys/ufs/lfs/lfs_alloc.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-29 Thread Michael van Elst
Module Name:src
Committed By:   mlelstv
Date:   Sat Aug 29 10:00:19 UTC 2015

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

Log Message:
when querying randomness sources from position 'start' then skip 'start'
entries and not one less.


To generate a diff of this commit:
cvs rdiff -u -r1.72 -r1.73 src/sys/kern/kern_rndq.c

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



CVS commit: src/sys

2015-08-28 Thread Michael van Elst
Module Name:src
Committed By:   mlelstv
Date:   Fri Aug 28 17:41:49 UTC 2015

Modified Files:
src/sys/arch/xen/xen: xbd_xenbus.c
src/sys/dev: dksubr.c dkvar.h ld.c ldvar.h

Log Message:
move entropy gathering into dksubr.


To generate a diff of this commit:
cvs rdiff -u -r1.73 -r1.74 src/sys/arch/xen/xen/xbd_xenbus.c
cvs rdiff -u -r1.75 -r1.76 src/sys/dev/dksubr.c
cvs rdiff -u -r1.23 -r1.24 src/sys/dev/dkvar.h
cvs rdiff -u -r1.92 -r1.93 src/sys/dev/ld.c
cvs rdiff -u -r1.26 -r1.27 src/sys/dev/ldvar.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-27 Thread Michael van Elst
Module Name:src
Committed By:   mlelstv
Date:   Fri Aug 28 06:04:43 UTC 2015

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

Log Message:
remove unused include sys/rndsource.h


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

2015-08-27 Thread Michael van Elst
Module Name:src
Committed By:   mlelstv
Date:   Fri Aug 28 05:49:31 UTC 2015

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

Log Message:
Prevent race condition where two threads can defer a buffer.


To generate a diff of this commit:
cvs rdiff -u -r1.74 -r1.75 src/sys/dev/dksubr.c
cvs rdiff -u -r1.22 -r1.23 src/sys/dev/dkvar.h

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



CVS commit: src/sys

2015-08-26 Thread Michael van Elst
Module Name:src
Committed By:   mlelstv
Date:   Thu Aug 27 05:51:50 UTC 2015

Modified Files:
src/sys/arch/xen/xen: xbd_xenbus.c
src/sys/dev: cgd.c dksubr.c dkvar.h ld.c

Log Message:
Make dksubr use a spin-mutex again, since some drivers still call dk_done
from hardware interrupt. Instead, release mutex while calling start routine.

The buffer peek/use/get sequence which can no longer be atomic. So consume
the buffer directly and on error privately save and retry the buffer later.
The dk_drain function is used to flush such a deferred buffer together with
the buffer queue.
Adjust drivers to use dk_drain.

Fix an error path where dk_done was called while the lock was already held.


To generate a diff of this commit:
cvs rdiff -u -r1.72 -r1.73 src/sys/arch/xen/xen/xbd_xenbus.c
cvs rdiff -u -r1.103 -r1.104 src/sys/dev/cgd.c
cvs rdiff -u -r1.73 -r1.74 src/sys/dev/dksubr.c
cvs rdiff -u -r1.21 -r1.22 src/sys/dev/dkvar.h
cvs rdiff -u -r1.91 -r1.92 src/sys/dev/ld.c

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



CVS commit: src/sbin/tunefs

2015-08-25 Thread Michael van Elst
Module Name:src
Committed By:   mlelstv
Date:   Wed Aug 26 05:41:20 UTC 2015

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

Log Message:
Use getfsspecname also when not found in /etc/fstab.


To generate a diff of this commit:
cvs rdiff -u -r1.48 -r1.49 src/sbin/tunefs/tunefs.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-23 Thread Michael van Elst
Module Name:src
Committed By:   mlelstv
Date:   Sun Aug 23 07:47:52 UTC 2015

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

Log Message:
An adaptive mutex is sufficient, the data structures are accessed
by regular threads and by the biodone softint.

This allows diskstart routines to sleep (like cgd).


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

2015-08-22 Thread Michael van Elst
Module Name:src
Committed By:   mlelstv
Date:   Sat Aug 22 07:48:14 UTC 2015

Modified Files:
src/sys/dev/dkwedge: dk.c

Log Message:
No longer access the disk driver directly.
If there is an open wedge, temporarily reference its vnode.
Otherwise try to open the block device.


To generate a diff of this commit:
cvs rdiff -u -r1.81 -r1.82 src/sys/dev/dkwedge/dk.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/dkwedge

2015-08-22 Thread Michael van Elst
Module Name:src
Committed By:   mlelstv
Date:   Sat Aug 22 07:42:46 UTC 2015

Modified Files:
src/sys/dev/dkwedge: dk.c

Log Message:
revert the previous


To generate a diff of this commit:
cvs rdiff -u -r1.80 -r1.81 src/sys/dev/dkwedge/dk.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/dkwedge

2015-08-20 Thread Michael van Elst
Module Name:src
Committed By:   mlelstv
Date:   Thu Aug 20 23:08:33 UTC 2015

Modified Files:
src/sys/dev/dkwedge: dk.c

Log Message:
when scanning for disklabels, close block device only when this was
the first open. The device driver doesn't do reference counting.

This is still subject to race conditions.


To generate a diff of this commit:
cvs rdiff -u -r1.79 -r1.80 src/sys/dev/dkwedge/dk.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-19 Thread Michael van Elst
Module Name:src
Committed By:   mlelstv
Date:   Wed Aug 19 20:15:20 UTC 2015

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

Log Message:
restart queue when a request completes


To generate a diff of this commit:
cvs rdiff -u -r1.100 -r1.101 src/sys/dev/cgd.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-18 Thread Michael van Elst
Module Name:src
Committed By:   mlelstv
Date:   Tue Aug 18 21:26:16 UTC 2015

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

Log Message:
only touch b_resid on error.


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

2015-08-18 Thread Michael van Elst
Module Name:src
Committed By:   mlelstv
Date:   Tue Aug 18 21:24:19 UTC 2015

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

Log Message:
restore deleted lines that kept buffer fields resid,count and error consistent.


To generate a diff of this commit:
cvs rdiff -u -r1.99 -r1.100 src/sys/dev/cgd.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-17 Thread Michael van Elst
Module Name:src
Committed By:   mlelstv
Date:   Tue Aug 18 04:20:25 UTC 2015

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

Log Message:
Use ENODEV to show that an operation is not supported.


To generate a diff of this commit:
cvs rdiff -u -r1.90 -r1.91 src/sys/dev/ld.c

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



CVS commit: src/sys

2015-08-16 Thread Michael van Elst
Module Name:src
Committed By:   mlelstv
Date:   Sun Aug 16 18:00:03 UTC 2015

Modified Files:
src/sys/arch/xen/xen: xbd_xenbus.c
src/sys/dev: cgd.c dksubr.c dkvar.h ld.c
src/sys/sys: disk.h param.h

Log Message:
Two changes to the dksubr interface.

- d_diskstart callback now processes a single buffer only.
  The new wrapper function dk_start processes the queue,
  performs other buffer handling and also provides locking
  for the the data structures.

- add d_discard callback to handle device specific function inside
  the new dk_discard helper function.

Replace splbio with mutex to protect queue and disk structure.
Refactor common code in dk_strategy and dk_discard into dk_translate.

Adjust and simplify ld(4), cgd(4) and xbd(4) drivers accordingly.

ld(4) now becomes MP_SAFE.

Bump kernel version.


To generate a diff of this commit:
cvs rdiff -u -r1.71 -r1.72 src/sys/arch/xen/xen/xbd_xenbus.c
cvs rdiff -u -r1.98 -r1.99 src/sys/dev/cgd.c
cvs rdiff -u -r1.70 -r1.71 src/sys/dev/dksubr.c
cvs rdiff -u -r1.20 -r1.21 src/sys/dev/dkvar.h
cvs rdiff -u -r1.88 -r1.89 src/sys/dev/ld.c
cvs rdiff -u -r1.64 -r1.65 src/sys/sys/disk.h
cvs rdiff -u -r1.482 -r1.483 src/sys/sys/param.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

2015-08-16 Thread Michael van Elst
Module Name:src
Committed By:   mlelstv
Date:   Sun Aug 16 17:32:31 UTC 2015

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

Log Message:
missed wakeup -> cv_broadcast conversion.


To generate a diff of this commit:
cvs rdiff -u -r1.87 -r1.88 src/sys/dev/ld.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-16 Thread Michael van Elst
Module Name:src
Committed By:   mlelstv
Date:   Sun Aug 16 17:28:28 UTC 2015

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

Log Message:
require write access to delete a wedge


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

2015-08-16 Thread Michael van Elst
Module Name:src
Committed By:   mlelstv
Date:   Sun Aug 16 17:26:16 UTC 2015

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

Log Message:
move FWRITE checks to a common place


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

2015-08-16 Thread Michael van Elst
Module Name:src
Committed By:   mlelstv
Date:   Sun Aug 16 17:22:00 UTC 2015

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

Log Message:
use device_printf


To generate a diff of this commit:
cvs rdiff -u -r1.86 -r1.87 src/sys/dev/ld.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-16 Thread Michael van Elst
Module Name:src
Committed By:   mlelstv
Date:   Sun Aug 16 14:07:19 UTC 2015

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

Log Message:
replace tsleep with condvar


To generate a diff of this commit:
cvs rdiff -u -r1.85 -r1.86 src/sys/dev/ld.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-16 Thread Michael van Elst
Module Name:src
Committed By:   mlelstv
Date:   Sun Aug 16 14:02:52 UTC 2015

Modified Files:
src/sys/dev: ld.c ldvar.h

Log Message:
replace spl and tsleep with mutex and condvar.


To generate a diff of this commit:
cvs rdiff -u -r1.84 -r1.85 src/sys/dev/ld.c
cvs rdiff -u -r1.24 -r1.25 src/sys/dev/ldvar.h

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



CVS commit: xsrc/external/mit/MesaLib/dist/src/util

2015-08-15 Thread Michael van Elst
Module Name:xsrc
Committed By:   mlelstv
Date:   Sat Aug 15 13:20:54 UTC 2015

Modified Files:
xsrc/external/mit/MesaLib/dist/src/util: ralloc.c

Log Message:
Use __attribute__((__destructor__)), not atexit, in shared objects.

Recovered from our local changes to MesaLib7.


To generate a diff of this commit:
cvs rdiff -u -r1.1.1.1 -r1.2 xsrc/external/mit/MesaLib/dist/src/util/ralloc.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/xdebug

2015-08-10 Thread Michael van Elst
Module Name:src
Committed By:   mlelstv
Date:   Mon Aug 10 19:23:32 UTC 2015

Modified Files:
src/distrib/sets/lists/xdebug: md.amiga

Log Message:
XFree86 has been removed


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/distrib/sets/lists/xdebug/md.amiga

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/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: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/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: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/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: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/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/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: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/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/sys/ufs/ffs

2015-08-08 Thread Michael van Elst
Module Name:src
Committed By:   mlelstv
Date:   Sat Aug  8 08:18:52 UTC 2015

Modified Files:
src/sys/ufs/ffs: ffs_alloc.c

Log Message:
don't crash when printing error messages when there are no credentials.
don't abuse the printed uid to log the inode number.

The printing/logging of error messages should be simplified.


To generate a diff of this commit:
cvs rdiff -u -r1.149 -r1.150 src/sys/ufs/ffs/ffs_alloc.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-08 Thread Michael van Elst
Module Name:src
Committed By:   mlelstv
Date:   Sat Aug  8 07:53:51 UTC 2015

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

Log Message:
KASSERT that magic pointers NOCRED and FSCRED are not dereferenced.


To generate a diff of this commit:
cvs rdiff -u -r1.73 -r1.74 src/sys/kern/kern_auth.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-05 Thread Michael van Elst
Module Name:src
Committed By:   mlelstv
Date:   Wed Aug  5 07:34:56 UTC 2015

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

Log Message:
lock around interrupt registration.
don't release lock around interrupt handlers, the code cannot
handle an unstable handler list.


To generate a diff of this commit:
cvs rdiff -u -r1.10 -r1.11 src/sys/dev/sdmmc/sdmmc_io.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-05 Thread Michael van Elst
Module Name:src
Committed By:   mlelstv
Date:   Wed Aug  5 07:31:52 UTC 2015

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

Log Message:
lock more hardware accesses


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

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/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/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-07-27 Thread Michael van Elst
Module Name:src
Committed By:   mlelstv
Date:   Tue Jul 28 06:19:47 UTC 2015

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

Log Message:
Be more verbose about errors.


To generate a diff of this commit:
cvs rdiff -u -r1.26 -r1.27 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-07-27 Thread Michael van Elst
Module Name:src
Committed By:   mlelstv
Date:   Tue Jul 28 06:17:53 UTC 2015

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

Log Message:
cosmetic change only.


To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.8 src/sys/dev/sdmmc/sdmmc_io.c

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



CVS commit: src

2015-07-25 Thread Michael van Elst
Module Name:src
Committed By:   mlelstv
Date:   Sat Jul 25 10:37:22 UTC 2015

Modified Files:
src/sbin/newfs: newfs.c
src/usr.sbin/installboot: installboot.c

Log Message:
Handle getfsspecname errors.


To generate a diff of this commit:
cvs rdiff -u -r1.112 -r1.113 src/sbin/newfs/newfs.c
cvs rdiff -u -r1.38 -r1.39 src/usr.sbin/installboot/installboot.c

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



<    1   2   3   4   5   6   7   8   9   >