CVS commit: src/sys/fs/udf

2014-12-03 Thread Reinoud Zandijk
Module Name:src
Committed By:   reinoud
Date:   Wed Dec  3 21:34:55 UTC 2014

Modified Files:
src/sys/fs/udf: udf_allocation.c

Log Message:
Relax the KASSERT since an equal size is no issue


To generate a diff of this commit:
cvs rdiff -u -r1.36 -r1.37 src/sys/fs/udf/udf_allocation.c

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



CVS commit: src/sys/fs/udf

2014-12-03 Thread Reinoud Zandijk
Module Name:src
Committed By:   reinoud
Date:   Wed Dec  3 21:37:55 UTC 2014

Modified Files:
src/sys/fs/udf: udf_vnops.c

Log Message:
Explicitly delete the failing node; it would be killed with the unlink too but
explicitly deleting it is better than just setting the file size to zero.


To generate a diff of this commit:
cvs rdiff -u -r1.94 -r1.95 src/sys/fs/udf/udf_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/newfs_udf

2015-01-02 Thread Reinoud Zandijk
Module Name:src
Committed By:   reinoud
Date:   Fri Jan  2 21:01:12 UTC 2015

Modified Files:
src/sbin/newfs_udf: udf_write.c

Log Message:
Fix volumesetname to comply to UDF 2.01 [2.2.2.5]


To generate a diff of this commit:
cvs rdiff -u -r1.8 -r1.9 src/sbin/newfs_udf/udf_write.c

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



CVS commit: src/sys/fs/udf

2015-01-04 Thread Reinoud Zandijk
Module Name:src
Committed By:   reinoud
Date:   Sun Jan  4 14:23:37 UTC 2015

Modified Files:
src/sys/fs/udf: udf_vnops.c

Log Message:
Add missing vrele() as found by the testsuite.

Thanks Jurgen Hannken for the patch.


To generate a diff of this commit:
cvs rdiff -u -r1.95 -r1.96 src/sys/fs/udf/udf_vnops.c

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



CVS commit: src/sys/arch/usermode/usermode

2012-03-02 Thread Reinoud Zandijk
Module Name:src
Committed By:   reinoud
Date:   Fri Mar  2 16:56:33 UTC 2012

Modified Files:
src/sys/arch/usermode/usermode: pmap.c

Log Message:
Move from pool(9) to kmem_zalloc(9) for L2 page tables. A pool with PAGE_SIZE
elements is accepted but seems to panic now and then claiming it can't find
the header info.

XXX should this be PR'd?


To generate a diff of this commit:
cvs rdiff -u -r1.102 -r1.103 src/sys/arch/usermode/usermode/pmap.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/usermode

2012-03-03 Thread Reinoud Zandijk
Module Name:src
Committed By:   reinoud
Date:   Sat Mar  3 21:15:16 UTC 2012

Modified Files:
src/sys/arch/usermode/dev: cpu.c ttycons.c
src/sys/arch/usermode/include: intr.h thunk.h
src/sys/arch/usermode/target/i386: cpu_i386.c
src/sys/arch/usermode/usermode: thunk.c trap.c

Log Message:
Implement signal forwarding to userland for usermode kernels. Especially
SIGFPE is important since the urkel shouldn't stop when a userland program
devides by zero!


To generate a diff of this commit:
cvs rdiff -u -r1.69 -r1.70 src/sys/arch/usermode/dev/cpu.c
cvs rdiff -u -r1.18 -r1.19 src/sys/arch/usermode/dev/ttycons.c
cvs rdiff -u -r1.8 -r1.9 src/sys/arch/usermode/include/intr.h
cvs rdiff -u -r1.60 -r1.61 src/sys/arch/usermode/include/thunk.h
cvs rdiff -u -r1.3 -r1.4 src/sys/arch/usermode/target/i386/cpu_i386.c
cvs rdiff -u -r1.80 -r1.81 src/sys/arch/usermode/usermode/thunk.c
cvs rdiff -u -r1.63 -r1.64 src/sys/arch/usermode/usermode/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/usermode/usermode

2012-03-03 Thread Reinoud Zandijk
Module Name:src
Committed By:   reinoud
Date:   Sat Mar  3 21:29:02 UTC 2012

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

Log Message:
Use the signal's signo instead of just returning SIGSEGV and add a comment


To generate a diff of this commit:
cvs rdiff -u -r1.64 -r1.65 src/sys/arch/usermode/usermode/trap.c

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



CVS commit: src/lib/libc/sys

2012-05-15 Thread Reinoud Zandijk
Module Name:src
Committed By:   reinoud
Date:   Tue May 15 11:37:01 UTC 2012

Modified Files:
src/lib/libc/sys: msgrcv.2

Log Message:
Clarify description of the msgrcv() return value. I kept on misreading it for
some reason. This ought to clarify it a bit more.


To generate a diff of this commit:
cvs rdiff -u -r1.19 -r1.20 src/lib/libc/sys/msgrcv.2

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



CVS commit: src/sys/arch/usermode/dev

2012-06-25 Thread Reinoud Zandijk
Module Name:src
Committed By:   reinoud
Date:   Mon Jun 25 14:43:54 UTC 2012

Modified Files:
src/sys/arch/usermode/dev: cpu.c

Log Message:
Implement dummy `cpu_mcontext_validate' to make it compile again. This
function needs to be implemented in the target secton one day for extra
security.


To generate a diff of this commit:
cvs rdiff -u -r1.70 -r1.71 src/sys/arch/usermode/dev/cpu.c

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



CVS commit: src

2012-06-30 Thread Reinoud Zandijk
Module Name:src
Committed By:   reinoud
Date:   Sat Jun 30 15:03:58 UTC 2012

Modified Files:
src/distrib/sets/lists/modules: md.amd64 md.i386
src/etc/etc.amd64: Makefile.inc
src/etc/etc.i386: Makefile.inc
src/sys/arch/usermode/conf: Makefile.usermode
src/sys/modules: Makefile
Added Files:
src/sys/arch/amd64/conf: GENERIC_USERMODE
src/sys/arch/i386/conf: GENERIC_USERMODE
Removed Files:
src/sys/arch/usermode/conf: GENERIC.amd64 GENERIC.i386

Log Message:
Move i386 and amd64 usermode configurations to their respective directories
and make the usermode kernels buildalbe under build.sh.

The resulting kernels are build and packaged correctly as are the associated
modules.


To generate a diff of this commit:
cvs rdiff -u -r1.32 -r1.33 src/distrib/sets/lists/modules/md.amd64
cvs rdiff -u -r1.38 -r1.39 src/distrib/sets/lists/modules/md.i386
cvs rdiff -u -r1.12 -r1.13 src/etc/etc.amd64/Makefile.inc
cvs rdiff -u -r1.65 -r1.66 src/etc/etc.i386/Makefile.inc
cvs rdiff -u -r0 -r1.1 src/sys/arch/amd64/conf/GENERIC_USERMODE
cvs rdiff -u -r0 -r1.1 src/sys/arch/i386/conf/GENERIC_USERMODE
cvs rdiff -u -r1.3 -r0 src/sys/arch/usermode/conf/GENERIC.amd64
cvs rdiff -u -r1.5 -r0 src/sys/arch/usermode/conf/GENERIC.i386
cvs rdiff -u -r1.31 -r1.32 src/sys/arch/usermode/conf/Makefile.usermode
cvs rdiff -u -r1.106 -r1.107 src/sys/modules/Makefile

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



CVS commit: src/sys/arch/usermode/usermode

2012-07-02 Thread Reinoud Zandijk
Module Name:src
Committed By:   reinoud
Date:   Mon Jul  2 12:17:12 UTC 2012

Modified Files:
src/sys/arch/usermode/usermode: thunk.c

Log Message:
Fix missing  include that breaks the autobuild


To generate a diff of this commit:
cvs rdiff -u -r1.81 -r1.82 src/sys/arch/usermode/usermode/thunk.c

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



CVS commit: src/etc

2012-07-04 Thread Reinoud Zandijk
Module Name:src
Committed By:   reinoud
Date:   Wed Jul  4 13:54:20 UTC 2012

Modified Files:
src/etc/etc.amd64: Makefile.inc
src/etc/etc.i386: Makefile.inc

Log Message:
Disable GENERIC_USERMODE kernel auto-build to avoid problems with the current
autobuild-system.


To generate a diff of this commit:
cvs rdiff -u -r1.13 -r1.14 src/etc/etc.amd64/Makefile.inc
cvs rdiff -u -r1.66 -r1.67 src/etc/etc.i386/Makefile.inc

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



CVS commit: src/lib/libc/arch/arm/gen

2012-07-11 Thread Reinoud Zandijk
Module Name:src
Committed By:   reinoud
Date:   Wed Jul 11 18:24:27 UTC 2012

Modified Files:
src/lib/libc/arch/arm/gen: Makefile.inc

Log Message:
On the libc/libgcc clashes cleanup that removed divsi3.o from libc, ARM/evbarm
was forgotten. This patch fixes it making static binaries possible again!


To generate a diff of this commit:
cvs rdiff -u -r1.16 -r1.17 src/lib/libc/arch/arm/gen/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/ic

2012-07-12 Thread Reinoud Zandijk
Module Name:src
Committed By:   reinoud
Date:   Thu Jul 12 14:17:03 UTC 2012

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

Log Message:
Fix surplus ( that was forgotten to remove in the DRIVE_ to DRIVET_ rototol.


To generate a diff of this commit:
cvs rdiff -u -r1.17 -r1.18 src/sys/dev/ic/mvsata.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/usermode/usermode

2012-07-24 Thread Reinoud Zandijk
Module Name:src
Committed By:   reinoud
Date:   Tue Jul 24 13:59:26 UTC 2012

Modified Files:
src/sys/arch/usermode/usermode: pmap.c

Log Message:
Adding an assert that checks for struct pmap_l2 not being bigger than
PAGE_SIZE.

While here, also add possible bug allerts of temporary mmaps that might screw
up memory.


To generate a diff of this commit:
cvs rdiff -u -r1.103 -r1.104 src/sys/arch/usermode/usermode/pmap.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/usermode/usermode

2012-08-04 Thread Reinoud Zandijk
Module Name:src
Committed By:   reinoud
Date:   Sat Aug  4 14:53:32 UTC 2012

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

Log Message:
Fix IO lockups in NetBSD/usermode.

1) Don't block IO signals since the return path is not garanteed to enable the
signal again.
2) Since signals can get dropped, do a 2nd pass over the routines.


To generate a diff of this commit:
cvs rdiff -u -r1.65 -r1.66 src/sys/arch/usermode/usermode/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/evbarm/dev

2012-08-12 Thread Reinoud Zandijk
Module Name:src
Committed By:   reinoud
Date:   Sun Aug 12 10:13:17 UTC 2012

Modified Files:
src/sys/arch/evbarm/dev: plcom.c plcomvar.h

Log Message:
Improve support for transmit fifo support for plcom.

As Nick, Michiel and I concluded this driver needs a big overhaul since its
logic is modelled on the standard com.c driver which doesn't have the plcom's
treshold interrupt at al.

On Nicks request, the HW FIFO support hasn't been enabled by default on the
RPi though.

Tested with the RPi.


To generate a diff of this commit:
cvs rdiff -u -r1.40 -r1.41 src/sys/arch/evbarm/dev/plcom.c
cvs rdiff -u -r1.11 -r1.12 src/sys/arch/evbarm/dev/plcomvar.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/usb

2013-01-20 Thread Reinoud Zandijk
Module Name:src
Committed By:   reinoud
Date:   Sun Jan 20 13:43:24 UTC 2013

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

Log Message:
Add line to get the ftdi driver to use the serial function of the FTDI 232H.


To generate a diff of this commit:
cvs rdiff -u -r1.54 -r1.55 src/sys/dev/usb/uftdi.c

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



CVS commit: src/sys/arch/evbarm/conf

2014-02-27 Thread Reinoud Zandijk
Module Name:src
Committed By:   reinoud
Date:   Thu Feb 27 16:00:32 UTC 2014

Modified Files:
src/sys/arch/evbarm/conf: std.cubie

Log Message:
Fix typo in comment BEAGLEBOARD->CUBIEBOARD


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/sys/arch/evbarm/conf/std.cubie

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

2014-03-10 Thread Reinoud Zandijk
Module Name:src
Committed By:   reinoud
Date:   Mon Mar 10 19:55:18 UTC 2014

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

Log Message:
Improve support for the CP2104. This particular device has a higher maximum
baud rate and thus the SLSA_R_SET_BAUDDIV sets the wrong rate.

Changed to code to use the SLSA_R_SET_BAUDRATE command and providing a
fallback for the old SLSA_R_SET_BAUDDIV command if the device doesn't
recognize the command. Unknown yet if the CP2101 has this command or not.


To generate a diff of this commit:
cvs rdiff -u -r1.18 -r1.19 src/sys/dev/usb/uslsa.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/s3c2xx0

2014-03-16 Thread Reinoud Zandijk
Module Name:src
Committed By:   reinoud
Date:   Sun Mar 16 11:36:26 UTC 2014

Modified Files:
src/sys/arch/arm/s3c2xx0: sscom.c

Log Message:
Exclude sscom_init() prototype definition when its not declared later


To generate a diff of this commit:
cvs rdiff -u -r1.42 -r1.43 src/sys/arch/arm/s3c2xx0/sscom.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/s3c2xx0

2014-03-16 Thread Reinoud Zandijk
Module Name:src
Committed By:   reinoud
Date:   Sun Mar 16 12:26:58 UTC 2014

Modified Files:
src/sys/arch/arm/s3c2xx0: sscom.c

Log Message:
Remove unneeded dependencies


To generate a diff of this commit:
cvs rdiff -u -r1.43 -r1.44 src/sys/arch/arm/s3c2xx0/sscom.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/cortex

2014-03-22 Thread Reinoud Zandijk
Module Name:src
Committed By:   reinoud
Date:   Sat Mar 22 16:39:20 UTC 2014

Modified Files:
src/sys/arch/arm/cortex: pl310_reg.h

Log Message:
Add defines for the PL310's L2C_PREFETCH_CTL and L2C_POWER_CTL registers as
per r3p2 spec.


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/sys/arch/arm/cortex/pl310_reg.h

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



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

2014-03-22 Thread Reinoud Zandijk
Module Name:src
Committed By:   reinoud
Date:   Sat Mar 22 17:12:20 UTC 2014

Modified Files:
src/sys/arch/arm/cortex: pl310_reg.h

Log Message:
Add constant for a reserved bit 31 for the L2C_AUXCTL register for use in
masks


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/sys/arch/arm/cortex/pl310_reg.h

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



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

2014-04-13 Thread Reinoud Zandijk
Module Name:src
Committed By:   reinoud
Date:   Sun Apr 13 17:06:03 UTC 2014

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

Log Message:
Redefine IS_EXYNOS4_P() to check for the product family instead of summing up
variants


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

2014-04-13 Thread Reinoud Zandijk
Module Name:src
Committed By:   reinoud
Date:   Sun Apr 13 20:45:25 UTC 2014

Modified Files:
src/sys/arch/arm/samsung: exynos_soc.c exynos_var.h files.exynos
src/sys/arch/evbarm/odroid: odroid_machdep.c

Log Message:
Remove trustzone firmware indirect calls by explicit calling the exynos
routines in exynos_soc.c

While here, also remove unused variable conaddr


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/sys/arch/arm/samsung/exynos_soc.c \
src/sys/arch/arm/samsung/files.exynos
cvs rdiff -u -r1.2 -r1.3 src/sys/arch/arm/samsung/exynos_var.h
cvs rdiff -u -r1.2 -r1.3 src/sys/arch/evbarm/odroid/odroid_machdep.c

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



CVS commit: src/sys/arch/evbarm/conf

2014-04-13 Thread Reinoud Zandijk
Module Name:src
Committed By:   reinoud
Date:   Sun Apr 13 20:47:20 UTC 2014

Added Files:
src/sys/arch/evbarm/conf: ODROID-U

Log Message:
Split off Odroid-U* kernel from combined config file


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 src/sys/arch/evbarm/conf/ODROID-U

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



CVS commit: src/sys/arch/evbarm/odroid

2014-04-13 Thread Reinoud Zandijk
Module Name:src
Committed By:   reinoud
Date:   Sun Apr 13 20:53:35 UTC 2014

Modified Files:
src/sys/arch/evbarm/odroid: odroid_machdep.c

Log Message:
Remove old trustzone headerfile inclusion


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/sys/arch/evbarm/odroid/odroid_machdep.c

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



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

2014-04-13 Thread Reinoud Zandijk
Module Name:src
Committed By:   reinoud
Date:   Sun Apr 13 20:49:36 UTC 2014

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

Log Message:
Remove old trustzone headerfile inclusion


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/sys/arch/arm/samsung/exynos_soc.c

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



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

2014-04-13 Thread Reinoud Zandijk
Module Name:src
Committed By:   reinoud
Date:   Sun Apr 13 20:52:29 UTC 2014

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

Log Message:
Remove unused code snippet


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/sys/arch/arm/samsung/exynos_soc.c

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



CVS commit: src/sys/arch/evbarm/odroid

2014-04-14 Thread Reinoud Zandijk
Module Name:src
Committed By:   reinoud
Date:   Mon Apr 14 19:45:40 UTC 2014

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

Log Message:
For Exynos4 platforms, re-implement PoP detection so we can detect 1Gb
systems.


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 src/sys/arch/evbarm/odroid/odroid_machdep.c
cvs rdiff -u -r1.1 -r1.2 src/sys/arch/evbarm/odroid/odroid_start.S

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



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

2014-04-14 Thread Reinoud Zandijk
Module Name:src
Committed By:   reinoud
Date:   Mon Apr 14 21:16:15 UTC 2014

Modified Files:
src/sys/arch/arm/samsung: exynos_sscom.c sscom.c sscom_reg.h
sscom_var.h

Log Message:
Implement sscom interrupt masking and acknowledgement routines


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/sys/arch/arm/samsung/exynos_sscom.c \
src/sys/arch/arm/samsung/sscom.c src/sys/arch/arm/samsung/sscom_reg.h \
src/sys/arch/arm/samsung/sscom_var.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/evbarm/odroid

2014-04-15 Thread Reinoud Zandijk
Module Name:src
Committed By:   reinoud
Date:   Tue Apr 15 20:36:07 UTC 2014

Modified Files:
src/sys/arch/evbarm/odroid: odroid_machdep.c

Log Message:
Make the PoP detection both EXYNOS4 defined and when running on a generic
kernel, check if we're on a EXYNOS4 architecture to prevent mishaps.


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

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



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

2014-04-16 Thread Reinoud Zandijk
Module Name:src
Committed By:   reinoud
Date:   Wed Apr 16 21:28:51 UTC 2014

Modified Files:
src/sys/arch/arm/samsung: exynos_soc.c exynos_sscom.c sscom.c
sscom_var.h

Log Message:
Teach sscom attachment, also the console, to use the busspace handle of the
main register space.

While here, map in the correct amount of memory or bus_space_map() won't
return an error but will wedge the system.


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 src/sys/arch/arm/samsung/exynos_soc.c
cvs rdiff -u -r1.2 -r1.3 src/sys/arch/arm/samsung/exynos_sscom.c \
src/sys/arch/arm/samsung/sscom.c src/sys/arch/arm/samsung/sscom_var.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/samsung

2014-04-18 Thread Reinoud Zandijk
Module Name:src
Committed By:   reinoud
Date:   Fri Apr 18 11:37:17 UTC 2014

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

Log Message:
Second handle to bus_space_read_* is the bus_space_handle, not a repeat of the
bus_space_tag


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/sys/arch/arm/samsung/sscom.c

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



CVS commit: src/sys/arch/evbarm/odroid

2014-04-18 Thread Reinoud Zandijk
Module Name:src
Committed By:   reinoud
Date:   Fri Apr 18 14:17:12 UTC 2014

Modified Files:
src/sys/arch/evbarm/odroid: odroid_machdep.c

Log Message:
Oops, i forgot to commit this patch on the `teaching sscom to use attach with
bus_space_handle_t'


To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 src/sys/arch/evbarm/odroid/odroid_machdep.c

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



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

2014-04-18 Thread Reinoud Zandijk
Module Name:src
Committed By:   reinoud
Date:   Fri Apr 18 14:18:33 UTC 2014

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

Log Message:
Fix interrupt enable/disable and clearning bits

what was i thinking...


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/sys/arch/arm/samsung/exynos_sscom.c

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



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

2014-04-18 Thread Reinoud Zandijk
Module Name:src
Committed By:   reinoud
Date:   Fri Apr 18 14:32:49 UTC 2014

Modified Files:
src/sys/arch/arm/samsung: exynos_reg.h exynos_wdt.c
Added Files:
src/sys/arch/arm/samsung: exynos_wdt_reg.h

Log Message:
Fix attachment of wdt to also use the bus_space_handle

While here, move the registers outside the global register file to a separate
wdt_reg.h file.


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/sys/arch/arm/samsung/exynos_reg.h \
src/sys/arch/arm/samsung/exynos_wdt.c
cvs rdiff -u -r0 -r1.1 src/sys/arch/arm/samsung/exynos_wdt_reg.h

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



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

2014-04-19 Thread Reinoud Zandijk
Module Name:src
Committed By:   reinoud
Date:   Sat Apr 19 15:30:41 UTC 2014

Modified Files:
src/sys/arch/arm/samsung: exynos_wdt.c
Removed Files:
src/sys/arch/arm/samsung: exynos_wdt_reg.h

Log Message:
Move the WDT register definitions to the C source to unclutter the directory


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/sys/arch/arm/samsung/exynos_wdt.c
cvs rdiff -u -r1.1 -r0 src/sys/arch/arm/samsung/exynos_wdt_reg.h

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



CVS commit: src/sys/arch/evbarm/conf

2014-04-19 Thread Reinoud Zandijk
Module Name:src
Committed By:   reinoud
Date:   Sat Apr 19 15:32:18 UTC 2014

Modified Files:
src/sys/arch/evbarm/conf: ODROID-U

Log Message:
Enable the exywdt watchdog since its now implemented and remove the
VERBOSE_INIT_ARM; its debugging is not needed normally.


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/sys/arch/evbarm/conf/ODROID-U

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



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

2014-04-19 Thread Reinoud Zandijk
Module Name:src
Committed By:   reinoud
Date:   Sat Apr 19 16:43:08 UTC 2014

Modified Files:
src/sys/arch/arm/samsung: exynos_reg.h exynos_wdt.c

Log Message:
Move the watchdog registers back to the exynos_reg.h


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/sys/arch/arm/samsung/exynos_reg.h
cvs rdiff -u -r1.3 -r1.4 src/sys/arch/arm/samsung/exynos_wdt.c

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



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

2014-04-22 Thread Reinoud Zandijk
Module Name:src
Committed By:   reinoud
Date:   Tue Apr 22 16:06:27 UTC 2014

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

Log Message:
Adjust the GIC offset to match the linux dts


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/sys/arch/arm/samsung/exynos5_reg.h

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



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

2014-04-22 Thread Reinoud Zandijk
Module Name:src
Committed By:   reinoud
Date:   Tue Apr 22 16:08:24 UTC 2014

Modified Files:
src/sys/arch/arm/samsung: files.exynos

Log Message:
Missing EOL at end of file


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/sys/arch/arm/samsung/files.exynos

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



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

2014-04-22 Thread Reinoud Zandijk
Module Name:src
Committed By:   reinoud
Date:   Tue Apr 22 16:10:48 UTC 2014

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

Log Message:
Add the missing mpcaa_memh to reflect the correct offset.

The offsets are not actually used now on matt's request.


To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 src/sys/arch/arm/samsung/exynos_soc.c

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



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

2014-04-27 Thread Reinoud Zandijk
Module Name:src
Committed By:   reinoud
Date:   Sun Apr 27 20:22:46 UTC 2014

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

Log Message:
We can't use IPL_SERIAL here, since it would mean its the same as IPL_HIGH
which panics the armgic's assertion.

In practice i dont think this will hurt since even the small queues are
relatively big.


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 src/sys/arch/arm/samsung/exynos_sscom.c

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



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

2014-04-27 Thread Reinoud Zandijk
Module Name:src
Committed By:   reinoud
Date:   Sun Apr 27 20:43:19 UTC 2014

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

Log Message:
Exynos4's MCT doesn't interrupt on the MCT_LTIMER interrupt but on the
IRQ_G0_IRQ and/or the IRQ_MCT_G{0,1,2,3}. The later are not chosen yet since
they are behind the interrupt combiner.

Confirmed that it indeed calls hardclock() at the specified intervals.


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

2014-04-29 Thread Reinoud Zandijk
Module Name:src
Committed By:   reinoud
Date:   Tue Apr 29 16:47:10 UTC 2014

Modified Files:
src/sys/arch/arm/samsung: exynos4_loc.c exynos4_reg.h exynos5_loc.c
exynos_io.c exynos_soc.c exynos_var.h files.exynos
src/sys/arch/evbarm/conf: ODROID-U
Added Files:
src/sys/arch/arm/samsung: exynos_dma.c exynos_usb.c

Log Message:
Commit initial USB adapter support and associated DMA tags


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/sys/arch/arm/samsung/exynos4_loc.c
cvs rdiff -u -r1.1 -r1.2 src/sys/arch/arm/samsung/exynos4_reg.h \
src/sys/arch/arm/samsung/exynos5_loc.c \
src/sys/arch/arm/samsung/exynos_io.c
cvs rdiff -u -r0 -r1.1 src/sys/arch/arm/samsung/exynos_dma.c \
src/sys/arch/arm/samsung/exynos_usb.c
cvs rdiff -u -r1.6 -r1.7 src/sys/arch/arm/samsung/exynos_soc.c
cvs rdiff -u -r1.3 -r1.4 src/sys/arch/arm/samsung/exynos_var.h \
src/sys/arch/arm/samsung/files.exynos
cvs rdiff -u -r1.2 -r1.3 src/sys/arch/evbarm/conf/ODROID-U

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



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

2014-05-05 Thread Reinoud Zandijk
Module Name:src
Committed By:   reinoud
Date:   Mon May  5 20:24:35 UTC 2014

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

Log Message:
Add TDB lines


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

2014-05-05 Thread Reinoud Zandijk
Module Name:src
Committed By:   reinoud
Date:   Mon May  5 20:31:03 UTC 2014

Modified Files:
src/sys/arch/arm/samsung: exynos4_loc.c exynos5_loc.c files.exynos
src/sys/arch/evbarm/conf: ODROID ODROID-U

Log Message:
exywdt -> exyowdt


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/sys/arch/arm/samsung/exynos4_loc.c
cvs rdiff -u -r1.2 -r1.3 src/sys/arch/arm/samsung/exynos5_loc.c
cvs rdiff -u -r1.4 -r1.5 src/sys/arch/arm/samsung/files.exynos
cvs rdiff -u -r1.1 -r1.2 src/sys/arch/evbarm/conf/ODROID
cvs rdiff -u -r1.3 -r1.4 src/sys/arch/evbarm/conf/ODROID-U

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



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

2014-05-09 Thread Reinoud Zandijk
Module Name:src
Committed By:   reinoud
Date:   Fri May  9 19:44:06 UTC 2014

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

Log Message:
The EXYNOS4_I2C0_OFFSET is actually reffered to as additional GPIO space.


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/sys/arch/arm/samsung/exynos4_reg.h

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



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

2014-05-09 Thread Reinoud Zandijk
Module Name:src
Committed By:   reinoud
Date:   Fri May  9 19:47:09 UTC 2014

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

Log Message:
Add GPIO register definitions

Also add the frequency for the USB system; its also used for various other
clocksources


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/sys/arch/arm/samsung/exynos_reg.h

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



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

2014-05-09 Thread Reinoud Zandijk
Module Name:src
Committed By:   reinoud
Date:   Fri May  9 19:51:43 UTC 2014

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

Log Message:
Use the constant for default interrupt provided by autoconf


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

2014-05-09 Thread Reinoud Zandijk
Module Name:src
Committed By:   reinoud
Date:   Fri May  9 21:49:43 UTC 2014

Modified Files:
src/sys/arch/arm/samsung: exynos4_loc.c exynos_soc.c exynos_var.h
files.exynos
src/sys/arch/evbarm/conf: ODROID-U
src/sys/arch/evbarm/odroid: odroid_machdep.c
Added Files:
src/sys/arch/arm/samsung: exynos_gpio.c

Log Message:
Implement gpio framework for the Samsung Exynos series.

Note that only the Exynos4 gpio registers are defined now and provision is
taken to allow for seamlessness adding of Exynos5 values.


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 src/sys/arch/arm/samsung/exynos4_loc.c \
src/sys/arch/arm/samsung/exynos_var.h
cvs rdiff -u -r0 -r1.1 src/sys/arch/arm/samsung/exynos_gpio.c
cvs rdiff -u -r1.7 -r1.8 src/sys/arch/arm/samsung/exynos_soc.c
cvs rdiff -u -r1.5 -r1.6 src/sys/arch/arm/samsung/files.exynos
cvs rdiff -u -r1.4 -r1.5 src/sys/arch/evbarm/conf/ODROID-U
cvs rdiff -u -r1.8 -r1.9 src/sys/arch/evbarm/odroid/odroid_machdep.c

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



CVS commit: src/sys/arch/evbarm/odroid

2014-05-09 Thread Reinoud Zandijk
Module Name:src
Committed By:   reinoud
Date:   Fri May  9 22:02:10 UTC 2014

Modified Files:
src/sys/arch/evbarm/odroid: odroid_machdep.c

Log Message:
Rename led0 to led1 to be consistent with the linux distro


To generate a diff of this commit:
cvs rdiff -u -r1.9 -r1.10 src/sys/arch/evbarm/odroid/odroid_machdep.c

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



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

2014-05-09 Thread Reinoud Zandijk
Module Name:src
Committed By:   reinoud
Date:   Fri May  9 22:16:56 UTC 2014

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

Log Message:
Both Exynos4 and Exynos5 have a 24 Mhz external crystal that gets pumped up to
the required frequencies by PLL circuits.

USB freq. seems to be tied directly to this freq.


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 src/sys/arch/arm/samsung/exynos_reg.h

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



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

2014-05-09 Thread Reinoud Zandijk
Module Name:src
Committed By:   reinoud
Date:   Fri May  9 22:19:22 UTC 2014

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

Log Message:
The mct runs at F_IN / XUSBXTI of 24 Mhz


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

2014-05-09 Thread Reinoud Zandijk
Module Name:src
Committed By:   reinoud
Date:   Fri May  9 22:20:41 UTC 2014

Modified Files:
src/sys/arch/evbarm/odroid: odroid_machdep.c

Log Message:
Rename blinkled to heartbeat since that is its function


To generate a diff of this commit:
cvs rdiff -u -r1.10 -r1.11 src/sys/arch/evbarm/odroid/odroid_machdep.c

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



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

2014-05-09 Thread Reinoud Zandijk
Module Name:src
Committed By:   reinoud
Date:   Fri May  9 22:21:46 UTC 2014

Modified Files:
src/sys/arch/arm/samsung: mct.c mct_var.h

Log Message:
Implement heartbeat LED using the new gpio subsystem


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/sys/arch/arm/samsung/mct.c \
src/sys/arch/arm/samsung/mct_var.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/samsung

2014-05-10 Thread Reinoud Zandijk
Module Name:src
Committed By:   reinoud
Date:   Sat May 10 10:46:25 UTC 2014

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

Log Message:
Add exynos_gpio_pindata_ctl() analog to _pindata__read() and _pindata_write()


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

2014-05-10 Thread Reinoud Zandijk
Module Name:src
Committed By:   reinoud
Date:   Sat May 10 10:47:17 UTC 2014

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

Log Message:
Change int->void
sorry about the noise


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

2014-05-10 Thread Reinoud Zandijk
Module Name:src
Committed By:   reinoud
Date:   Sat May 10 11:03:45 UTC 2014

Modified Files:
src/sys/arch/evbarm/odroid: odroid_machdep.c

Log Message:
refactor pin setting in odroid_device_register() to remove an indent
preventing potentional lots of line breaks due to the 80 char line limit.


To generate a diff of this commit:
cvs rdiff -u -r1.11 -r1.12 src/sys/arch/evbarm/odroid/odroid_machdep.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

2014-05-10 Thread Reinoud Zandijk
Module Name:src
Committed By:   reinoud
Date:   Sat May 10 19:31:00 UTC 2014

Modified Files:
src/sys/arch/arm/samsung: exynos_gpio.c
src/sys/arch/evbarm/odroid: odroid_machdep.c

Log Message:
Add the missing ETC0, ETC6, ETC7, ETC8 `gpio' registers. They are special in
that they can't be set/unset nor configured. The only changeable parameters
are the pullups PUD and the DRV driving strength. They however fit the same
structure as the rest of the GPIOs and are used as such.


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/sys/arch/arm/samsung/exynos_gpio.c
cvs rdiff -u -r1.12 -r1.13 src/sys/arch/evbarm/odroid/odroid_machdep.c

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



CVS commit: src/sys/arch/evbarm

2014-05-10 Thread Reinoud Zandijk
Module Name:src
Committed By:   reinoud
Date:   Sat May 10 20:12:16 UTC 2014

Modified Files:
src/sys/arch/evbarm/evbarm: autoconf.c
src/sys/arch/evbarm/include: autoconf.h

Log Message:
Define and implement device_register_post_config() hook analog to the
device_register() hook.

Already found on sparc64 and librump. Tested compilation and running of
machines with and without the hook defined.


To generate a diff of this commit:
cvs rdiff -u -r1.16 -r1.17 src/sys/arch/evbarm/evbarm/autoconf.c
cvs rdiff -u -r1.7 -r1.8 src/sys/arch/evbarm/include/autoconf.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

2014-05-10 Thread Reinoud Zandijk
Module Name:src
Committed By:   reinoud
Date:   Sat May 10 20:24:06 UTC 2014

Modified Files:
src/sys/arch/arm/samsung: exynos_io.c exynos_soc.c exynos_var.h
src/sys/arch/evbarm/odroid: odroid_machdep.c

Log Message:
Implement evbarm_device_register_post_config() hook for odroid and its
decendents. This allows post attach actions on every level of the machine
support.


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/sys/arch/arm/samsung/exynos_io.c
cvs rdiff -u -r1.8 -r1.9 src/sys/arch/arm/samsung/exynos_soc.c
cvs rdiff -u -r1.7 -r1.8 src/sys/arch/arm/samsung/exynos_var.h
cvs rdiff -u -r1.13 -r1.14 src/sys/arch/evbarm/odroid/odroid_machdep.c

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



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

2014-05-10 Thread Reinoud Zandijk
Module Name:src
Committed By:   reinoud
Date:   Sat May 10 20:38:15 UTC 2014

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

Log Message:
No use in duplicating the frequency settings of mct and gtmr at two different
places.


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 src/sys/arch/arm/samsung/exynos_io.c
cvs rdiff -u -r1.9 -r1.10 src/sys/arch/arm/samsung/exynos_soc.c

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



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

2014-05-10 Thread Reinoud Zandijk
Module Name:src
Committed By:   reinoud
Date:   Sat May 10 21:10:27 UTC 2014

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

Log Message:
The Odroids USB hub and Ethernet init are not to be done at the SoC level.


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/sys/arch/arm/samsung/exynos_usb.c

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



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

2014-05-10 Thread Reinoud Zandijk
Module Name:src
Committed By:   reinoud
Date:   Sat May 10 21:46:15 UTC 2014

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

Log Message:
Fix typo


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/sys/arch/arm/samsung/exynos_gpio.c

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



CVS commit: src/sys/arch/evbarm/odroid

2014-05-10 Thread Reinoud Zandijk
Module Name:src
Committed By:   reinoud
Date:   Sat May 10 22:24:32 UTC 2014

Modified Files:
src/sys/arch/evbarm/odroid: odroid_machdep.c

Log Message:
Get the Odroid-U3 USB hub working! It now attaches and /lists all its children
like mouse etc.


To generate a diff of this commit:
cvs rdiff -u -r1.14 -r1.15 src/sys/arch/evbarm/odroid/odroid_machdep.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

2014-05-14 Thread Reinoud Zandijk
Module Name:src
Committed By:   reinoud
Date:   Wed May 14 09:03:10 UTC 2014

Modified Files:
src/sys/arch/arm/samsung: exynos4_reg.h exynos5_reg.h exynos_gpio.c
exynos_io.c exynos_soc.c
src/sys/arch/evbarm/odroid: odroid_machdep.c

Log Message:
Revisit gpio and revisit register file mapping. The additional register files
are now mapped behind the origional register file.

The gpio channel GPZ is mapped over I2S0 in the separate audio register file
and were both abusively mapped over I2C0 in the main register file!

While here, delay the gpio bootstrap till on attachment. We could hasten it in
the odroid_machdep.c if needed. Also make the gpio code more resilliant and
allow booting correctly without any GPIO bits defined/available.


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/sys/arch/arm/samsung/exynos4_reg.h \
src/sys/arch/arm/samsung/exynos_gpio.c
cvs rdiff -u -r1.2 -r1.3 src/sys/arch/arm/samsung/exynos5_reg.h
cvs rdiff -u -r1.5 -r1.6 src/sys/arch/arm/samsung/exynos_io.c
cvs rdiff -u -r1.10 -r1.11 src/sys/arch/arm/samsung/exynos_soc.c
cvs rdiff -u -r1.15 -r1.16 src/sys/arch/evbarm/odroid/odroid_machdep.c

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



CVS commit: src/sys/arch/evbarm/odroid

2014-05-15 Thread Reinoud Zandijk
Module Name:src
Committed By:   reinoud
Date:   Thu May 15 15:28:26 UTC 2014

Modified Files:
src/sys/arch/evbarm/odroid: odroid_machdep.c

Log Message:
This can't be right; must be a c&p bug


To generate a diff of this commit:
cvs rdiff -u -r1.16 -r1.17 src/sys/arch/evbarm/odroid/odroid_machdep.c

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



CVS commit: src/sys/arch/evbarm/odroid

2014-05-15 Thread Reinoud Zandijk
Module Name:src
Committed By:   reinoud
Date:   Thu May 15 15:31:10 UTC 2014

Modified Files:
src/sys/arch/evbarm/odroid: odroid_machdep.c

Log Message:
DMA is initialized later in the bootstrap. No need for this comment


To generate a diff of this commit:
cvs rdiff -u -r1.17 -r1.18 src/sys/arch/evbarm/odroid/odroid_machdep.c

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



CVS commit: src/sys/arch/evbarm/odroid

2014-05-15 Thread Reinoud Zandijk
Module Name:src
Committed By:   reinoud
Date:   Thu May 15 15:35:38 UTC 2014

Modified Files:
src/sys/arch/evbarm/odroid: odroid_machdep.c

Log Message:
Change hexidecimal bit notation into binary for easier modifying


To generate a diff of this commit:
cvs rdiff -u -r1.18 -r1.19 src/sys/arch/evbarm/odroid/odroid_machdep.c

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



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

2014-05-16 Thread Reinoud Zandijk
Module Name:src
Committed By:   reinoud
Date:   Fri May 16 10:02:24 UTC 2014

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

Log Message:
Fix issues with the gpio controller:
* the func get/put shift is 4 bits, not 16!
* redo available and inuse bits
* create a function to get a pindata from a pinset


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 src/sys/arch/arm/samsung/exynos_gpio.c

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



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

2014-05-16 Thread Reinoud Zandijk
Module Name:src
Committed By:   reinoud
Date:   Fri May 16 10:04:58 UTC 2014

Modified Files:
src/sys/arch/arm/samsung: exynos4_loc.c exynos5_loc.c exynos_io.h
exynos_var.h

Log Message:
Add i2c locators, add a i2c bus indexer and provide function prototype for the
pinset to pindata function.


To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 src/sys/arch/arm/samsung/exynos4_loc.c
cvs rdiff -u -r1.3 -r1.4 src/sys/arch/arm/samsung/exynos5_loc.c
cvs rdiff -u -r1.2 -r1.3 src/sys/arch/arm/samsung/exynos_io.h
cvs rdiff -u -r1.8 -r1.9 src/sys/arch/arm/samsung/exynos_var.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/samsung

2014-05-21 Thread Reinoud Zandijk
Module Name:src
Committed By:   reinoud
Date:   Wed May 21 12:16:17 UTC 2014

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

Log Message:
Make ODROID (-XU) compile again


To generate a diff of this commit:
cvs rdiff -u -r1.11 -r1.12 src/sys/arch/arm/samsung/exynos_soc.c

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



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

2014-05-21 Thread Reinoud Zandijk
Module Name:src
Committed By:   reinoud
Date:   Wed May 21 12:18:24 UTC 2014

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

Log Message:
Don't panic if the pin is not available in pin_reserve() but return false
instead.


To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 src/sys/arch/arm/samsung/exynos_gpio.c

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



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

2014-05-21 Thread Reinoud Zandijk
Module Name:src
Committed By:   reinoud
Date:   Wed May 21 12:19:59 UTC 2014

Modified Files:
src/sys/arch/arm/samsung: files.exynos
Added Files:
src/sys/arch/arm/samsung: exynos_i2c.c

Log Message:
Provide bitbanging IIC for Samsung's Exynos


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 src/sys/arch/arm/samsung/exynos_i2c.c
cvs rdiff -u -r1.6 -r1.7 src/sys/arch/arm/samsung/files.exynos

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



CVS commit: src/sys/arch/evbarm/odroid

2014-05-21 Thread Reinoud Zandijk
Module Name:src
Committed By:   reinoud
Date:   Wed May 21 12:24:11 UTC 2014

Modified Files:
src/sys/arch/evbarm/odroid: odroid_machdep.c

Log Message:
Provide iic logic and bits for Odroid-U's exynos i2c interfaces


To generate a diff of this commit:
cvs rdiff -u -r1.19 -r1.20 src/sys/arch/evbarm/odroid/odroid_machdep.c

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



CVS commit: src/sys/arch/evbarm/conf

2014-05-21 Thread Reinoud Zandijk
Module Name:src
Committed By:   reinoud
Date:   Wed May 21 12:24:52 UTC 2014

Modified Files:
src/sys/arch/evbarm/conf: ODROID-U

Log Message:
Add i2c as standard for ODROID-U


To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 src/sys/arch/evbarm/conf/ODROID-U

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



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

2014-05-21 Thread Reinoud Zandijk
Module Name:src
Committed By:   reinoud
Date:   Wed May 21 13:02:46 UTC 2014

Modified Files:
src/sys/arch/arm/samsung: exynos4_loc.c exynos5_loc.c exynos5_reg.h
exynos_io.h exynos_usb.c exynos_var.h

Log Message:
Rework USB2 attachment using a dedicated usb devices locator. This allows for
the more tightly coupled Exynos{4,5} usb2/usb2otg/usb3 controllers to share
memory spaces and IRQs

Note, currently only USB2 host is implemented.


To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 src/sys/arch/arm/samsung/exynos4_loc.c
cvs rdiff -u -r1.4 -r1.5 src/sys/arch/arm/samsung/exynos5_loc.c
cvs rdiff -u -r1.3 -r1.4 src/sys/arch/arm/samsung/exynos5_reg.h \
src/sys/arch/arm/samsung/exynos_io.h \
src/sys/arch/arm/samsung/exynos_usb.c
cvs rdiff -u -r1.9 -r1.10 src/sys/arch/arm/samsung/exynos_var.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/samsung

2014-06-03 Thread Reinoud Zandijk
Module Name:src
Committed By:   reinoud
Date:   Tue Jun  3 15:51:59 UTC 2014

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

Log Message:
Explicitly mark MCUCTL_ISP_OFFSET as an unknown module to prevent confusion


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 src/sys/arch/arm/samsung/exynos4_reg.h \
src/sys/arch/arm/samsung/exynos5_reg.h

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



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

2014-06-03 Thread Reinoud Zandijk
Module Name:src
Committed By:   reinoud
Date:   Tue Jun  3 15:56:14 UTC 2014

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

Log Message:
Add used pmu registers, sysreg registers and usb phy registers for USB2. More
are added when used.


To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 src/sys/arch/arm/samsung/exynos_reg.h

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



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

2014-06-04 Thread Reinoud Zandijk
Module Name:src
Committed By:   reinoud
Date:   Wed Jun  4 10:27:26 UTC 2014

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

Log Message:
Remove comment about possible identification of the MCUCTL


To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 src/sys/arch/arm/samsung/exynos4_reg.h

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



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

2014-06-06 Thread Reinoud Zandijk
Module Name:src
Committed By:   reinoud
Date:   Fri Jun  6 14:25:19 UTC 2014

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

Log Message:
Add constants for USB3 XHCI{0,1} and their PHYs. Taken from the relevant
Exynos5 dti from linux


To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 src/sys/arch/arm/samsung/exynos5_reg.h

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



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

2014-06-06 Thread Reinoud Zandijk
Module Name:src
Committed By:   reinoud
Date:   Fri Jun  6 14:28:58 UTC 2014

Modified Files:
src/sys/arch/arm/samsung: exynos4_loc.c exynos5_loc.c exynos_usb.c
exynos_var.h

Log Message:
Revisit Exynos USB system implementing usb2phy support for Exynos4.


To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.8 src/sys/arch/arm/samsung/exynos4_loc.c
cvs rdiff -u -r1.5 -r1.6 src/sys/arch/arm/samsung/exynos5_loc.c
cvs rdiff -u -r1.4 -r1.5 src/sys/arch/arm/samsung/exynos_usb.c
cvs rdiff -u -r1.10 -r1.11 src/sys/arch/arm/samsung/exynos_var.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/samsung

2014-06-06 Thread Reinoud Zandijk
Module Name:src
Committed By:   reinoud
Date:   Fri Jun  6 14:37:04 UTC 2014

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

Log Message:
Correct c&p error on XHCI* registers and remove old cruft copied from the
datasheet that apparently is not used.


To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 src/sys/arch/arm/samsung/exynos5_reg.h

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



CVS commit: src/sys/arch/evbarm/odroid

2014-06-06 Thread Reinoud Zandijk
Module Name:src
Committed By:   reinoud
Date:   Fri Jun  6 14:42:26 UTC 2014

Modified Files:
src/sys/arch/evbarm/odroid: odroid_machdep.c

Log Message:
Implement Lan9730 powerycle for Exynos4 to make it attach; its not that
trivial though as it relies on talking iic to the pmu and enabling lan_power
pin.

Some pins for the Odroid-XU boards have been added too.


To generate a diff of this commit:
cvs rdiff -u -r1.20 -r1.21 src/sys/arch/evbarm/odroid/odroid_machdep.c

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



CVS commit: src/sys/arch/evbarm/conf

2014-06-06 Thread Reinoud Zandijk
Module Name:src
Committed By:   reinoud
Date:   Fri Jun  6 15:00:20 UTC 2014

Modified Files:
src/sys/arch/evbarm/conf: ODROID ODROID-U std.odroid

Log Message:
Add gpio, i2c and USB devices to ODROID and clean it up a bit too.

Since its a SoC, some devices might just as well move to std.odroid but are
kept here for now.

I got confirmation from Hardkernel, the company that creates the Odroid's that
*all* Samsung SoC's that are used in products other than Samsungs own have the
trustzone firmware mandatory. Its also part of the bootloading step and
Hardkernel has to digitally sign part of the bootloaders to be allowed to have
it boot at all.


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/sys/arch/evbarm/conf/ODROID
cvs rdiff -u -r1.6 -r1.7 src/sys/arch/evbarm/conf/ODROID-U
cvs rdiff -u -r1.1 -r1.2 src/sys/arch/evbarm/conf/std.odroid

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



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

2014-06-11 Thread Reinoud Zandijk
Module Name:src
Committed By:   reinoud
Date:   Wed Jun 11 14:49:50 UTC 2014

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

Log Message:
Add USB2HOST aliases for exynos4 and exynos5 from where the ehci/ohci/phy are
referenced from


To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 src/sys/arch/arm/samsung/exynos4_reg.h
cvs rdiff -u -r1.9 -r1.10 src/sys/arch/arm/samsung/exynos5_reg.h

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



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

2014-06-11 Thread Reinoud Zandijk
Module Name:src
Committed By:   reinoud
Date:   Wed Jun 11 14:54:32 UTC 2014

Modified Files:
src/sys/arch/arm/samsung: exynos4_loc.c exynos5_loc.c exynos_usb.c
exynos_var.h

Log Message:
Remove the exyo_usb_locinfo structure as exyousb becomes usb2 only


To generate a diff of this commit:
cvs rdiff -u -r1.8 -r1.9 src/sys/arch/arm/samsung/exynos4_loc.c
cvs rdiff -u -r1.6 -r1.7 src/sys/arch/arm/samsung/exynos5_loc.c
cvs rdiff -u -r1.5 -r1.6 src/sys/arch/arm/samsung/exynos_usb.c
cvs rdiff -u -r1.11 -r1.12 src/sys/arch/arm/samsung/exynos_var.h

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



CVS commit: src/sys/fs/udf

2014-07-29 Thread Reinoud Zandijk
Module Name:src
Committed By:   reinoud
Date:   Tue Jul 29 11:10:12 UTC 2014

Modified Files:
src/sys/fs/udf: udf_vnops.c

Log Message:
Access time should only be set on accessing the data or messing with the
contents, not on inode access rights and ownership changes. Should address
PR kern/49033 for UDF.

Test results now come clean for bugs related to this issue in the ATF.


To generate a diff of this commit:
cvs rdiff -u -r1.92 -r1.93 src/sys/fs/udf/udf_vnops.c

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



CVS commit: src/sys/fs/udf

2014-07-29 Thread Reinoud Zandijk
Module Name:src
Committed By:   reinoud
Date:   Tue Jul 29 15:36:43 UTC 2014

Modified Files:
src/sys/fs/udf: udf_subr.c

Log Message:
Fix debug printout of udf_write_metadata_partition_spacetable(), it referred
to an old variable.


To generate a diff of this commit:
cvs rdiff -u -r1.124 -r1.125 src/sys/fs/udf/udf_subr.c

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



CVS commit: src/sys/fs/udf

2014-07-29 Thread Reinoud Zandijk
Module Name:src
Committed By:   reinoud
Date:   Tue Jul 29 15:48:22 UTC 2014

Modified Files:
src/sys/fs/udf: udf_vnops.c

Log Message:
Posix requires the va_size of a symlink to be pathlength for symbolic links.
This fixes yet another atf case.


To generate a diff of this commit:
cvs rdiff -u -r1.93 -r1.94 src/sys/fs/udf/udf_vnops.c

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



CVS commit: src/sys/arch/evbarm/odroid

2014-08-04 Thread Reinoud Zandijk
Module Name:src
Committed By:   reinoud
Date:   Mon Aug  4 11:30:10 UTC 2014

Modified Files:
src/sys/arch/evbarm/odroid: odroid_machdep.c

Log Message:
Remove old bootargs hack; now just rely on the common `BOOT_ARGS' config
variable if defined.


To generate a diff of this commit:
cvs rdiff -u -r1.21 -r1.22 src/sys/arch/evbarm/odroid/odroid_machdep.c

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



CVS commit: src/sys/arch/evbarm/odroid

2014-08-04 Thread Reinoud Zandijk
Module Name:src
Committed By:   reinoud
Date:   Mon Aug  4 11:32:27 UTC 2014

Modified Files:
src/sys/arch/evbarm/odroid: odroid_machdep.c

Log Message:
Reorder code so bootconfig is initialized at one place


To generate a diff of this commit:
cvs rdiff -u -r1.22 -r1.23 src/sys/arch/evbarm/odroid/odroid_machdep.c

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



CVS commit: src/sys/arch/evbarm/odroid

2014-08-04 Thread Reinoud Zandijk
Module Name:src
Committed By:   reinoud
Date:   Mon Aug  4 18:14:43 UTC 2014

Modified Files:
src/sys/arch/evbarm/odroid: genassym.cf odroid_machdep.c odroid_start.S

Log Message:
Save arguments from uboot at the very beginning in odroid_start.S supporting
both the `bootm' as the `go' method. While here, also implement the mac
address passing and parsing for the usmsc0 device.


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/sys/arch/evbarm/odroid/genassym.cf
cvs rdiff -u -r1.23 -r1.24 src/sys/arch/evbarm/odroid/odroid_machdep.c
cvs rdiff -u -r1.2 -r1.3 src/sys/arch/evbarm/odroid/odroid_start.S

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



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

2014-08-08 Thread Reinoud Zandijk
Module Name:src
Committed By:   reinoud
Date:   Fri Aug  8 14:43:14 UTC 2014

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

Log Message:
Fix missed clock interrupts calculation


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/sys/arch/arm/samsung/mct.c

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



CVS commit: src/sys/arch/evbarm/conf

2014-08-14 Thread Reinoud Zandijk
Module Name:src
Committed By:   reinoud
Date:   Thu Aug 14 12:48:52 UTC 2014

Modified Files:
src/sys/arch/evbarm/conf: std.odroid

Log Message:
Set __NO_FIQ for the Exynos processors are shipped with SecureCore enabled
gics and FIQs are for the secure part only.


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/sys/arch/evbarm/conf/std.odroid

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



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

2014-08-14 Thread Reinoud Zandijk
Module Name:src
Committed By:   reinoud
Date:   Thu Aug 14 15:39:31 UTC 2014

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

Log Message:
Adjust AUDIOCORE mapping for exynos4 to map in entire piece.


To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.8 src/sys/arch/arm/samsung/exynos4_reg.h

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



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

2014-08-14 Thread Reinoud Zandijk
Module Name:src
Committed By:   reinoud
Date:   Thu Aug 14 15:41:07 UTC 2014

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

Log Message:
Rename C2C gpio to match the naming scheme
Add I2S gpio offset


To generate a diff of this commit:
cvs rdiff -u -r1.10 -r1.11 src/sys/arch/arm/samsung/exynos5_reg.h

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



  1   2   3   4   5   6   7   >