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

2015-11-10 Thread Marty Fouts
Module Name:src
Committed By:   marty
Date:   Tue Nov 10 23:47:08 UTC 2015

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

Log Message:
small cleanup of odroid_start.S

removed attempt to 'rescue bootargs' that was causing a hang and isn't needed
anyway.

changed calls to XPUTC to use text constants rather than ascii decimal
equivalents.

adopted some of the techniques used in awin_start.s for reducing code and
improving performance.

polluted the namespace with _XPUTC so that xputc can be used from C code
before early console is enabled.  (Due to tracking a bug in early console
initialization.)

replaced a hardwired constant with the proper mannifest in the definition
of TEMP_L1_TABLE

This still needs MP support added but it should continue to work for XU3
while starting to work for XU4


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

2015-11-10 Thread Marty Fouts
Module Name:src
Committed By:   marty
Date:   Wed Nov 11 00:58:21 UTC 2015

Modified Files:
src/sys/arch/evbarm/odroid: platform.h

Log Message:
Fix typo that prevented CONADDR from being defined for XU4


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

2015-11-13 Thread Marty Fouts
Module Name:src
Committed By:   marty
Date:   Sat Nov 14 07:15:58 UTC 2015

Added Files:
src/sys/arch/evbarm/conf: ODROID-XU4 ODROID-XU4_INSTALL

Log Message:
SNAPSHOT: DOES NOT BOOT

First crack at configuration files for the Hardkernel ODROID XU4.

This kernel hangs attempting to write to the console early in boot.


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

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

2015-11-18 Thread Marty Fouts
Module Name:src
Committed By:   marty
Date:   Thu Nov 19 05:44:41 UTC 2015

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

Log Message:
add 5422 gic handling to attach code


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

2015-11-24 Thread Marty Fouts
Module Name:src
Committed By:   marty
Date:   Wed Nov 25 04:03:34 UTC 2015

Added Files:
src/sys/arch/arm/cortex: cortex_init.S

Log Message:
something temporary that will go away once odroid xu4 works


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

2015-11-24 Thread Marty Fouts
Module Name:src
Committed By:   marty
Date:   Wed Nov 25 04:04:13 UTC 2015

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

Log Message:
snapshot: Does NOT boot


To generate a diff of this commit:
cvs rdiff -u -r1.39 -r1.40 src/sys/arch/evbarm/odroid/odroid_machdep.c
cvs rdiff -u -r1.7 -r1.8 src/sys/arch/evbarm/odroid/odroid_start.S
cvs rdiff -u -r1.3 -r1.4 src/sys/arch/evbarm/odroid/platform.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

2015-11-26 Thread Marty Fouts
Module Name:src
Committed By:   marty
Date:   Thu Nov 26 21:27:31 UTC 2015

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

Log Message:
Revert my previous change -- it breaks other odroid devices


To generate a diff of this commit:
cvs rdiff -u -r1.40 -r1.41 src/sys/arch/evbarm/odroid/odroid_machdep.c
cvs rdiff -u -r1.8 -r1.9 src/sys/arch/evbarm/odroid/odroid_start.S
cvs rdiff -u -r1.4 -r1.5 src/sys/arch/evbarm/odroid/platform.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

2015-11-26 Thread Marty Fouts
Module Name:src
Committed By:   marty
Date:   Thu Nov 26 21:42:19 UTC 2015

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

Log Message:
repair conflicts from previous commit

stupid marty checked in version with conflicts. bad marty no donut.


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

2015-11-26 Thread Marty Fouts
Module Name:src
Committed By:   marty
Date:   Thu Nov 26 22:22:44 UTC 2015

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

Log Message:
remove *all* of my changes to odroid_start.S


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

2015-11-28 Thread Marty Fouts
Module Name:src
Committed By:   marty
Date:   Sat Nov 28 20:51:36 UTC 2015

Modified Files:
src/sys/arch/evbarm/conf: mk.odroid
src/sys/arch/evbarm/odroid: odroid_start.S

Log Message:
Exit hypervisor mode before entering supervisor

The Odroid XU4 is booted in hypervisor mode, probably because it is trust
zone enabled.  Before we can put it in supervisor we must explicitly remove
it from hypervisor.

This change is from Nick, who figured it out and adapted code from FreeBSD
to make the necessary change.


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/sys/arch/evbarm/conf/mk.odroid
cvs rdiff -u -r1.17 -r1.18 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/evbarm/exynos

2015-12-06 Thread Marty Fouts
Module Name:src
Committed By:   marty
Date:   Sun Dec  6 00:33:44 UTC 2015

Added Files:
src/sys/arch/evbarm/exynos: exynos_machdep.c exynos_start.S platform.h

Log Message:
try 2


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 src/sys/arch/evbarm/exynos/exynos_machdep.c \
src/sys/arch/evbarm/exynos/exynos_start.S \
src/sys/arch/evbarm/exynos/platform.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

2015-12-10 Thread Marty Fouts
Module Name:src
Committed By:   marty
Date:   Thu Dec 10 21:56:04 UTC 2015

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

Log Message:
Fix a typo


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

2015-12-10 Thread Marty Fouts
Module Name:src
Committed By:   marty
Date:   Fri Dec 11 03:55:18 UTC 2015

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

Log Message:
Move everything back into files.exynos


To generate a diff of this commit:
cvs rdiff -u -r1.8 -r1.9 src/sys/arch/arm/samsung/files.exynos
cvs rdiff -u -r1.1 -r0 src/sys/arch/arm/samsung/files.exynos5422

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

2015-12-10 Thread Marty Fouts
Module Name:src
Committed By:   marty
Date:   Fri Dec 11 04:03:44 UTC 2015

Modified Files:
src/sys/arch/arm/samsung: exynos5_reg.h exynos_gpio.c exynos_i2c.c
exynos_soc.c exynos_var.h mct.c

Log Message:
EXYNOS Rewrite step 2 of N: New exynos_gpio.c

I can't bring  myself to fully nuke from orbit, so there are really two
things in this checkin:

1) A major rewrite of exynos_gpio.c, based mostly on the Nvidia
   tegra_gpio.c file.  This is missing a major function that will be
   added the first time a customer for it is integrated, which is meant to
   select pins based on aliases, rather than pin bank names.

2) A small number of changes to other files that keep the tree compiling
   and progressing as far as ever; except it is now 5422 specific and
   will not boot on the other exynos socs, which I don't have hardware to
   test.

The choice to remove functionality is always controversial, but since
we are doing a significant rewrite and I don't have either
documentation or hardware *and* none of the code really works now
anyway, I'm taking the stance that only tested functionality should be
added, and that we'll layer the other exynos socs on this once it
fully boots.


To generate a diff of this commit:
cvs rdiff -u -r1.20 -r1.21 src/sys/arch/arm/samsung/exynos5_reg.h
cvs rdiff -u -r1.12 -r1.13 src/sys/arch/arm/samsung/exynos_gpio.c
cvs rdiff -u -r1.3 -r1.4 src/sys/arch/arm/samsung/exynos_i2c.c
cvs rdiff -u -r1.28 -r1.29 src/sys/arch/arm/samsung/exynos_soc.c
cvs rdiff -u -r1.18 -r1.19 src/sys/arch/arm/samsung/exynos_var.h
cvs rdiff -u -r1.5 -r1.6 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/arm/samsung

2015-12-10 Thread Marty Fouts
Module Name:src
Committed By:   marty
Date:   Fri Dec 11 04:05:54 UTC 2015

Added Files:
src/sys/arch/arm/samsung: exynos5422_dma.c

Log Message:
add a dma file to the EXYNOS rewrite


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

2015-12-10 Thread Marty Fouts
Module Name:src
Committed By:   marty
Date:   Fri Dec 11 04:12:21 UTC 2015

Modified Files:
src/sys/arch/evbarm/exynos: exynos_machdep.c

Log Message:
EXYNOS rewrite step 3 of N: Add aliases for gpio pins

This adds the GPIO aliases that will be used for board-independent driver
lookup until we have FDT.

The idea here is that each pin used by any driver is given a name that
the driver knows that is independent of the gpio bank name.  The mapping
from the alias to the actual gpio bank + pin number is done in this file
and a lookup function is added to exynos_gpio.c that allows a driver to
ask for a gpio pin by the alias name, blisssfully unaware that there is
an underlying GPIO bank name.

Once set up with all the drivers, it should then be possible to move to a
different vendor's board simply by modifying exynos_machdep.c


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

2015-12-11 Thread Marty Fouts
Module Name:src
Committed By:   marty
Date:   Sat Dec 12 00:42:42 UTC 2015

Removed Files:
src/sys/arch/evbarm/odroid: genassym.cf odroid_machdep.c odroid_start.S
platform.h

Log Message:
Remove ev that's no longer valid

development of the odroid boards has moved to evbarm/exynos and this
directory is now out of date with respect to new development.


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r0 src/sys/arch/evbarm/odroid/genassym.cf
cvs rdiff -u -r1.42 -r0 src/sys/arch/evbarm/odroid/odroid_machdep.c
cvs rdiff -u -r1.21 -r0 src/sys/arch/evbarm/odroid/odroid_start.S
cvs rdiff -u -r1.5 -r0 src/sys/arch/evbarm/odroid/platform.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

2015-12-12 Thread Marty Fouts
Module Name:src
Committed By:   marty
Date:   Sat Dec 12 21:56:54 UTC 2015

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

Log Message:
XU4: re-enable gpio

c'n'p error left gpio disabled.  fixed.


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

2015-12-12 Thread Marty Fouts
Module Name:src
Committed By:   marty
Date:   Sat Dec 12 21:57:40 UTC 2015

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

Log Message:
XU4: Fix build

missed a dependency on evbarm/odroid that should have been evbarm/exynos.


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

2015-12-13 Thread Marty Fouts
Module Name:src
Committed By:   marty
Date:   Sun Dec 13 22:28:10 UTC 2015

Modified Files:
src/sys/arch/arm/samsung: exynos_wdt.c
src/sys/arch/evbarm/exynos: exynos_machdep.c

Log Message:
undo 'typo' fix and restore 'frequency' to dictionary

Oops.  The 'typo' was elsewhere and I accidently removed setting
the frequency.  Fix that.


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

2015-12-13 Thread Marty Fouts
Module Name:src
Committed By:   marty
Date:   Mon Dec 14 00:00:22 UTC 2015

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

Log Message:
enable the watch dog

This will work only if the patch to sysmon_wdog.c to convert it to
MODULE_CLASS_DRIVER is installed.  Symptom of failure is a crash in
lockdebug because of an uninitialized mutex.


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/sys/arch/evbarm/conf/ODROID-XU4

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

2015-12-13 Thread Marty Fouts
Module Name:src
Committed By:   marty
Date:   Mon Dec 14 05:13:01 UTC 2015

Modified Files:
src/sys/arch/evbarm/exynos: exynos_start.S

Log Message:
FDT XU4 fix uboot support

remove some code I thought I'd previously removed which causes data
aborts if uboot is invoked with 'bootm ADDR - ADDR'.


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

2015-12-14 Thread Marty Fouts
Module Name:src
Committed By:   marty
Date:   Mon Dec 14 22:06:57 UTC 2015

Modified Files:
src/sys/arch/arm/samsung: files.exynos
src/sys/arch/evbarm/conf: ODROID-XU4 files.exynos
src/sys/arch/evbarm/exynos: exynos_machdep.c

Log Message:
XU4 FDT Enable the minimum device tree

This enables the use of FDT on the XU4 but doesn't add any drivers.  However,
with this check in, XU4 becomes useless without a device tree blob from the
Linux tree, which isn't checked in anywhere.


To generate a diff of this commit:
cvs rdiff -u -r1.10 -r1.11 src/sys/arch/arm/samsung/files.exynos
cvs rdiff -u -r1.4 -r1.5 src/sys/arch/evbarm/conf/ODROID-XU4
cvs rdiff -u -r1.1 -r1.2 src/sys/arch/evbarm/conf/files.exynos
cvs rdiff -u -r1.3 -r1.4 src/sys/arch/evbarm/exynos/exynos_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

2015-12-14 Thread Marty Fouts
Module Name:src
Committed By:   marty
Date:   Mon Dec 14 22:51:42 UTC 2015

Added Files:
src/sys/arch/arm/samsung: exynos_fdt.c

Log Message:
XU4 FDT Missing file

maybe it'll compile now.


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

2015-12-14 Thread Marty Fouts
Module Name:src
Committed By:   marty
Date:   Tue Dec 15 04:38:30 UTC 2015

Added Files:
src/sys/arch/evbarm/conf: EXYNOS EXYNOS_INSTALL
Removed Files:
src/sys/arch/evbarm/conf: ODROID-XU4 ODROID-XU4_INSTALL files.odroid
mk.odroid std.odroid

Log Message:
EXYNOS - change ODROID-XU4 to EXYNOS

EXYNOS will be a generic fdt kernel, so signify that with the name change,
as requested by Nick.


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 src/sys/arch/evbarm/conf/EXYNOS \
src/sys/arch/evbarm/conf/EXYNOS_INSTALL
cvs rdiff -u -r1.5 -r0 src/sys/arch/evbarm/conf/ODROID-XU4 \
src/sys/arch/evbarm/conf/std.odroid
cvs rdiff -u -r1.1 -r0 src/sys/arch/evbarm/conf/ODROID-XU4_INSTALL \
src/sys/arch/evbarm/conf/files.odroid
cvs rdiff -u -r1.3 -r0 src/sys/arch/evbarm/conf/mk.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/evbarm/exynos

2015-12-14 Thread Marty Fouts
Module Name:src
Committed By:   marty
Date:   Tue Dec 15 04:53:56 UTC 2015

Added Files:
src/sys/arch/evbarm/exynos: genassym.cf

Log Message:
XU$ genassym.cf

adding previously missed file.


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 src/sys/arch/evbarm/exynos/genassym.cf

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

2015-12-15 Thread Marty Fouts
Module Name:src
Committed By:   marty
Date:   Tue Dec 15 23:13:51 UTC 2015

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

Log Message:
XU4 FDT -- fix bus tags

I got away with not having the generic bus tags for getting minimum fdt to
work; but for real drivers have to actually have them.  Make necessary
corrections.


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

2015-12-15 Thread Marty Fouts
Module Name:src
Committed By:   marty
Date:   Tue Dec 15 23:15:53 UTC 2015

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

Log Message:
XU4 FDT WDT - convert driver to FDT

The watchdog timer is the most trivial driver in exynos, from the POV of
converting to FDT, so go ahead and do it first.  NOTE: There's a hack in
the driver that needs to eventually be fixed -- the clock frequency is
hardwired when it should be gotten from the clock in the device tree.  I'll
come back and fix this when I'm more comfortable with the api.


To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.8 src/sys/arch/arm/samsung/exynos_wdt.c
cvs rdiff -u -r1.11 -r1.12 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

2015-12-17 Thread Marty Fouts
Module Name:src
Committed By:   marty
Date:   Thu Dec 17 22:39:38 UTC 2015

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

Log Message:
EXYNOS FDT sscom


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

2015-12-17 Thread Marty Fouts
Module Name:src
Committed By:   marty
Date:   Thu Dec 17 22:40:49 UTC 2015

Modified Files:
src/sys/arch/evbarm/conf: EXYNOS

Log Message:
XU4 FDT sscon

This is a mess and I don't understand why part of it works, but it passes
the basic test.

There has to be some better way to get the info that I'm grabbing from the
exynos_uarts[] array.

I'm not sure how to deal with VA != PA when the DTB contains physical rather
than virtual addresses. This is going to be an issue for all of the drivers.


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

2015-12-19 Thread Marty Fouts
Module Name:src
Committed By:   marty
Date:   Sat Dec 19 21:42:31 UTC 2015

Modified Files:
src/sys/arch/arm/samsung: exynos_gpio.c exynos_var.h files.exynos
src/sys/arch/evbarm/conf: EXYNOS
Added Files:
src/sys/arch/arm/samsung: exynos_pinctrl.c

Log Message:
XU4 GPIO FDT broken snapshot

This is broken. exynos_gpio_bank_config and the call to it are wrong, and
the acquire function doesn't work.

But I'm in over my head and I need to discuss this:

There is a problem with the dtd: it doesn't have addresses for the individual
gpios.  Do I add the addresses to it, or go back to the old version where I
have them hard coded in the driver.

There is a problem with creating the gpio device entries:  I suspect I really
need to treat the pinctrl devices as busses and create the gpios as attached
to those busses, but I'm not familiar with how to do that in NetBSD. At the
minimum, a pointer to a similar situation would give me code to follow.
This is different than the usual bus attachment in that the gpios aren't
devices in the dtd (they don't have "compatible" properties) so they don't
get an attach routine called.  An alternative to generating the bus
attachments might be to add "compatible" properties to the GPIO entries
in the dtd. so that they do get attached in the normal way.

If I'm going to modify the DTD, then it should be checked in, so a decision
on where to check them in would be nice, even if it does mean spreading them
all over because of license issues.  (This DTD is GPL v2)


To generate a diff of this commit:
cvs rdiff -u -r1.13 -r1.14 src/sys/arch/arm/samsung/exynos_gpio.c \
src/sys/arch/arm/samsung/files.exynos
cvs rdiff -u -r0 -r1.1 src/sys/arch/arm/samsung/exynos_pinctrl.c
cvs rdiff -u -r1.20 -r1.21 src/sys/arch/arm/samsung/exynos_var.h
cvs rdiff -u -r1.2 -r1.3 src/sys/arch/evbarm/conf/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

2015-12-19 Thread Marty Fouts
Module Name:src
Committed By:   marty
Date:   Sat Dec 19 21:43:36 UTC 2015

Added Files:
src/sys/arch/arm/samsung: exynos_pinctrl.h

Log Message:
XU4 GPIO FDT  missing file.


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

2015-12-19 Thread Marty Fouts
Module Name:src
Committed By:   marty
Date:   Sun Dec 20 05:25:01 UTC 2015

Modified Files:
src/sys/arch/evbarm/exynos: exynos_machdep.c

Log Message:
XU4 debug cleanup

get rid of some unneeded debug chatter in machdep


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

2015-12-20 Thread Marty Fouts
Module Name:src
Committed By:   marty
Date:   Mon Dec 21 00:52:51 UTC 2015

Modified Files:
src/sys/arch/arm/samsung: exynos_i2c.c files.exynos
src/sys/arch/evbarm/conf: EXYNOS
Added Files:
src/sys/arch/arm/samsung: exynos_chipid.c exynos_combiner.c
exynos_rtc.c

Log Message:
XU4 FDT checkpoint

It is rather amazing that XU4 gets as far as it does, given how much of this
code simply doesn't work.  Focusing now on getting everything converted to
FDT. Next up USB and clocks.  After that nuke everything that's not needed
and start the port in earnest.


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 src/sys/arch/arm/samsung/exynos_chipid.c \
src/sys/arch/arm/samsung/exynos_combiner.c \
src/sys/arch/arm/samsung/exynos_rtc.c
cvs rdiff -u -r1.4 -r1.5 src/sys/arch/arm/samsung/exynos_i2c.c
cvs rdiff -u -r1.14 -r1.15 src/sys/arch/arm/samsung/files.exynos
cvs rdiff -u -r1.3 -r1.4 src/sys/arch/evbarm/conf/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

2015-12-20 Thread Marty Fouts
Module Name:src
Committed By:   marty
Date:   Mon Dec 21 00:54:35 UTC 2015

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

Log Message:
XU4 FDT missed files


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

2015-12-20 Thread Marty Fouts
Module Name:src
Committed By:   marty
Date:   Mon Dec 21 03:34:34 UTC 2015

Modified Files:
src/sys/arch/arm/samsung: exynos5422_clock.c exynos_usb.c files.exynos
src/sys/arch/evbarm/conf: EXYNOS

Log Message:
XU4 FDT Last drivers converted

There is a minimum conversion on the clock driver.

The USB driver needs reordering and is broken, but it was broken before.

Next up: tactical nuclear weapons


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/sys/arch/arm/samsung/exynos5422_clock.c
cvs rdiff -u -r1.13 -r1.14 src/sys/arch/arm/samsung/exynos_usb.c
cvs rdiff -u -r1.15 -r1.16 src/sys/arch/arm/samsung/files.exynos
cvs rdiff -u -r1.4 -r1.5 src/sys/arch/evbarm/conf/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

2015-12-20 Thread Marty Fouts
Module Name:src
Committed By:   marty
Date:   Mon Dec 21 04:58:50 UTC 2015

Modified Files:
src/sys/arch/arm/samsung: exynos_chipid.c exynos_combiner.c
exynos_gpio.c exynos_i2c.c exynos_pinctrl.c exynos_rtc.c
exynos_soc.c exynos_usb.c exynos_wdt.c files.exynos
src/sys/arch/evbarm/conf: EXYNOS
src/sys/arch/evbarm/exynos: exynos_machdep.c
Removed Files:
src/sys/arch/arm/samsung: exynos4_loc.c exynos4_reg.h exynos5_loc.c
exynos_dma.c exynos_io.c exynos_io.h exynos_space.c

Log Message:
XU4 FDT final checkpoint

step N of N: get rid of baggage by removing whole files.  What's left is in
approximately the same shape as when the FDT update started, that is mostly
broken. What's missing is most of the 76 devices recognized in the dtd. In
other words, This is barely the start of a port.

Next up, gpio then i2c, followed either by straightening out usb or getting
the sdhc driver to work -- both probably require getting the interrupt
combiner to work first. A large chunk of work is left to do on the clocks.
I barely got them attaching to fdt and didn't do anything to take advantage
of the information in the dtd.

None of the other existing drivers, such as they are, properly request gpios,
i2c or clocks, and, of course power domains are off the table.


To generate a diff of this commit:
cvs rdiff -u -r1.11 -r0 src/sys/arch/arm/samsung/exynos4_loc.c
cvs rdiff -u -r1.13 -r0 src/sys/arch/arm/samsung/exynos4_reg.h \
src/sys/arch/arm/samsung/exynos5_loc.c
cvs rdiff -u -r1.1 -r1.2 src/sys/arch/arm/samsung/exynos_chipid.c \
src/sys/arch/arm/samsung/exynos_combiner.c \
src/sys/arch/arm/samsung/exynos_rtc.c
cvs rdiff -u -r1.1 -r0 src/sys/arch/arm/samsung/exynos_dma.c
cvs rdiff -u -r1.14 -r1.15 src/sys/arch/arm/samsung/exynos_gpio.c \
src/sys/arch/arm/samsung/exynos_usb.c
cvs rdiff -u -r1.5 -r1.6 src/sys/arch/arm/samsung/exynos_i2c.c
cvs rdiff -u -r1.8 -r0 src/sys/arch/arm/samsung/exynos_io.c
cvs rdiff -u -r1.6 -r0 src/sys/arch/arm/samsung/exynos_io.h
cvs rdiff -u -r1.2 -r1.3 src/sys/arch/arm/samsung/exynos_pinctrl.c
cvs rdiff -u -r1.30 -r1.31 src/sys/arch/arm/samsung/exynos_soc.c
cvs rdiff -u -r1.2 -r0 src/sys/arch/arm/samsung/exynos_space.c
cvs rdiff -u -r1.8 -r1.9 src/sys/arch/arm/samsung/exynos_wdt.c
cvs rdiff -u -r1.16 -r1.17 src/sys/arch/arm/samsung/files.exynos
cvs rdiff -u -r1.5 -r1.6 src/sys/arch/evbarm/conf/EXYNOS
cvs rdiff -u -r1.6 -r1.7 src/sys/arch/evbarm/exynos/exynos_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

2015-12-21 Thread Marty Fouts
Module Name:src
Committed By:   marty
Date:   Tue Dec 22 03:36:01 UTC 2015

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

Log Message:
XU4 GPIO Driver

This is a moderately tested working gpio driver for the Exynos based ODROID
XU4.  To use this you have to edit the dtd file exynos54422-pinctrl.dtsi
and change the two occurances of 'gpz' to 'gpz0'.  Otherewise it will crash
on a lookup failure.

It certainly could use a code review.


To generate a diff of this commit:
cvs rdiff -u -r1.15 -r1.16 src/sys/arch/arm/samsung/exynos_gpio.c
cvs rdiff -u -r1.3 -r1.4 src/sys/arch/arm/samsung/exynos_pinctrl.c
cvs rdiff -u -r1.1 -r1.2 src/sys/arch/arm/samsung/exynos_pinctrl.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

2015-12-23 Thread Marty Fouts
Module Name:src
Committed By:   marty
Date:   Thu Dec 24 01:10:51 UTC 2015

Modified Files:
src/sys/arch/arm/samsung: exynos_gpio.c exynos_pinctrl.c exynos_var.h
files.exynos

Log Message:
XU4 GPIO Review Changes

Implement suggestions from Jared.


To generate a diff of this commit:
cvs rdiff -u -r1.17 -r1.18 src/sys/arch/arm/samsung/exynos_gpio.c \
src/sys/arch/arm/samsung/files.exynos
cvs rdiff -u -r1.5 -r1.6 src/sys/arch/arm/samsung/exynos_pinctrl.c
cvs rdiff -u -r1.21 -r1.22 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

2015-12-24 Thread Marty Fouts
Module Name:src
Committed By:   marty
Date:   Thu Dec 24 21:20:17 UTC 2015

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

Log Message:
XU4 interrupt combiner

Written but untested.  I'm still confused about how to handle two things:

1) at interrupt disestablishment, where do I get an interrupt number so
   that I can disable the interrupt on the combiner?

2) How is interrupt multiplexing handled?  I don't seem to have any sort of
   interrupt dispatch routine that takes the 1 interrupt that reaches the
   gic and turn it into one of eight combined interrupts to call the
   established interrupt for the original uncombined interrupt source.


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

2015-12-24 Thread Marty Fouts
Module Name:src
Committed By:   marty
Date:   Thu Dec 24 21:30:05 UTC 2015

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

Log Message:
XU4 I2C snapshot

This is a complete, but untested, driver; except that it needs to be able
to configure gpios and, afaict, we don't yet have an fdtbus_gpio_* function
that will do that.


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

2015-12-26 Thread Marty Fouts
Module Name:src
Committed By:   marty
Date:   Sun Dec 27 02:43:42 UTC 2015

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

Log Message:
XU4 gpio clean up acquire code

properly locate the bank in the acquire code.  This may even work.


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

2015-12-26 Thread Marty Fouts
Module Name:src
Committed By:   marty
Date:   Sun Dec 27 02:54:13 UTC 2015

Modified Files:
src/sys/arch/arm/samsung: files.exynos
src/sys/arch/evbarm/conf: EXYNOS
Added Files:
src/sys/arch/arm/samsung: exynos_ehci.c exynos_ohci.c exynos_usb3.c
exynos_usbphy.c
Removed Files:
src/sys/arch/arm/samsung: exynos_usb.c

Log Message:
XU4 USB snapshot: Reorganize source files

This is just a skeleton,  not a set of drivers, but the pieces are now
more or less in the right places.


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 src/sys/arch/arm/samsung/exynos_ehci.c \
src/sys/arch/arm/samsung/exynos_ohci.c \
src/sys/arch/arm/samsung/exynos_usb3.c \
src/sys/arch/arm/samsung/exynos_usbphy.c
cvs rdiff -u -r1.15 -r0 src/sys/arch/arm/samsung/exynos_usb.c
cvs rdiff -u -r1.19 -r1.20 src/sys/arch/arm/samsung/files.exynos
cvs rdiff -u -r1.7 -r1.8 src/sys/arch/evbarm/conf/EXYNOS

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



CVS commit: src/sys/dev/fdt

2015-12-30 Thread Marty Fouts
Module Name:src
Committed By:   marty
Date:   Wed Dec 30 04:23:39 UTC 2015

Modified Files:
src/sys/dev/fdt: fdtvar.h files.fdt
Added Files:
src/sys/dev/fdt: fdt_pinctrl.c

Log Message:
FDT pinctrl

Add a pinctrl bus to FDT.  This works against exynos, but someone(tm) needs
to think about whether it is general enough or too specific to exynos.


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 src/sys/dev/fdt/fdt_pinctrl.c
cvs rdiff -u -r1.4 -r1.5 src/sys/dev/fdt/fdtvar.h
cvs rdiff -u -r1.6 -r1.7 src/sys/dev/fdt/files.fdt

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

2015-12-30 Thread Marty Fouts
Module Name:src
Committed By:   marty
Date:   Wed Dec 30 04:30:27 UTC 2015

Modified Files:
src/sys/arch/arm/samsung: exynos_combiner.c exynos_gpio.c exynos_i2c.c
exynos_pinctrl.c exynos_var.h

Log Message:
XU4 i2c, gpio & pinctrl changes

modify exynos_gpio.c to support the new pinctrl model.
set up the new pinctrl model in exynos_pinctrl.c

Flesh out exynos_i2c.c and set it up to use the new pinctrl model.  NOTE:
exynos_i2c.c is still incomplete.  I need to figure out what to set the
prescaler and scaler to.


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/sys/arch/arm/samsung/exynos_combiner.c
cvs rdiff -u -r1.21 -r1.22 src/sys/arch/arm/samsung/exynos_gpio.c
cvs rdiff -u -r1.8 -r1.9 src/sys/arch/arm/samsung/exynos_i2c.c
cvs rdiff -u -r1.7 -r1.8 src/sys/arch/arm/samsung/exynos_pinctrl.c
cvs rdiff -u -r1.22 -r1.23 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

2015-12-30 Thread Marty Fouts
Module Name:src
Committed By:   marty
Date:   Thu Dec 31 03:50:34 UTC 2015

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

Log Message:
XU4 gpio - get rid of annoying printf


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

2016-01-01 Thread Marty Fouts
Module Name:src
Committed By:   marty
Date:   Fri Jan  1 22:35:44 UTC 2016

Modified Files:
src/sys/dev/fdt: fdt_pinctrl.c fdtvar.h

Log Message:
FDT pinctl - review from Jared

These changes reflect a redesign based on a preliminary review by Jared.
Instead of the acquire/release/set/get approach of the original, this uses
a much simpler, and cleaner register/set approach.


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/sys/dev/fdt/fdt_pinctrl.c
cvs rdiff -u -r1.5 -r1.6 src/sys/dev/fdt/fdtvar.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

2016-01-01 Thread Marty Fouts
Module Name:src
Committed By:   marty
Date:   Fri Jan  1 22:37:07 UTC 2016

Modified Files:
src/sys/arch/arm/samsung: exynos_i2c.c exynos_pinctrl.c

Log Message:
XU4 FDT pinctrl

Rewrite the use of pinctrl to reflect the new model from Jared.


To generate a diff of this commit:
cvs rdiff -u -r1.9 -r1.10 src/sys/arch/arm/samsung/exynos_i2c.c
cvs rdiff -u -r1.8 -r1.9 src/sys/arch/arm/samsung/exynos_pinctrl.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

2016-01-02 Thread Marty Fouts
Module Name:src
Committed By:   marty
Date:   Sun Jan  3 04:10:58 UTC 2016

Modified Files:
src/sys/arch/arm/samsung: exynos_combiner.c files.exynos mct.c
Added Files:
src/sys/arch/arm/samsung: exynos_sysmmu.c

Log Message:
XU4 interrupt combiner / fake sysmmu

Add sysmmu to have something that calls through to the combiner's establish
routine.  Debug the combiner with it.

At this point the combiner is mostly done, but the interrupt handler has not
been tested.  This may never happen as we may never support any of the
devices that use the combiner for interrupts.  (Or maybe mct)


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 src/sys/arch/arm/samsung/exynos_combiner.c
cvs rdiff -u -r0 -r1.1 src/sys/arch/arm/samsung/exynos_sysmmu.c
cvs rdiff -u -r1.20 -r1.21 src/sys/arch/arm/samsung/files.exynos
cvs rdiff -u -r1.7 -r1.8 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

2016-01-05 Thread Marty Fouts
Module Name:src
Committed By:   marty
Date:   Tue Jan  5 21:53:48 UTC 2016

Modified Files:
src/sys/arch/arm/fdt: gic_fdt.c
src/sys/arch/arm/nvidia: tegra_lic.c
src/sys/arch/arm/samsung: exynos_combiner.c mct.c
src/sys/arch/evbarm/conf: EXYNOS
src/sys/dev/fdt: fdt_intr.c fdtvar.h

Log Message:
FDT: Interrupts -- add support for interrupt maps

The mct on exynos uses an interrupt map so we add support now.  Devices
represent their interrupts either through a combination of interrupt-parent
and interrupts properties, where the 'interrupts' property is an array of
one or more interrupt specifiers; or through a combination of an
interrupt-parent that points to an interrupt-map, where the interrupt-map
contains 2 or more entries consisting of an index, a pointer to an
interrupt-controller, and a specifier for that controller.

This code adds the ability to walk the interrupt-map and return a specifier.
Unfortunately, the addition requires changing the interface to the
interrupt-controllers' _establish and _intstr functions, so this check in
contains a rototill of the three existing fdt interrupt controllers to use
the new interface.


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/sys/arch/arm/fdt/gic_fdt.c
cvs rdiff -u -r1.2 -r1.3 src/sys/arch/arm/nvidia/tegra_lic.c
cvs rdiff -u -r1.5 -r1.6 src/sys/arch/arm/samsung/exynos_combiner.c
cvs rdiff -u -r1.8 -r1.9 src/sys/arch/arm/samsung/mct.c
cvs rdiff -u -r1.9 -r1.10 src/sys/arch/evbarm/conf/EXYNOS
cvs rdiff -u -r1.3 -r1.4 src/sys/dev/fdt/fdt_intr.c
cvs rdiff -u -r1.6 -r1.7 src/sys/dev/fdt/fdtvar.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/fdt

2016-01-05 Thread Marty Fouts
Module Name:src
Committed By:   marty
Date:   Tue Jan  5 21:57:18 UTC 2016

Modified Files:
src/sys/dev/fdt: fdt_intr.c

Log Message:
FDT interrupts -- clean up debug printfs

Ooops. forgot to delete my debug printfs before my last checkin.


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 src/sys/dev/fdt/fdt_intr.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/fdt

2016-01-06 Thread Marty Fouts
Module Name:src
Committed By:   marty
Date:   Thu Jan  7 04:26:44 UTC 2016

Modified Files:
src/sys/dev/fdt: fdt_intr.c

Log Message:
FDT interrupts - bug fixing

Fix a pair of memory leaks
Add some descriptive messaging in fail cases.
Fix that _by_index wasn't walking the tree upward to find the interrupt-parent.
Fix a pair of messages so they include the function in the text.


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

2016-01-06 Thread Marty Fouts
Module Name:src
Committed By:   marty
Date:   Thu Jan  7 04:41:46 UTC 2016

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

Log Message:
Exynos WDT - change the compatible string to match the current dts


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

2016-01-06 Thread Marty Fouts
Module Name:src
Committed By:   marty
Date:   Thu Jan  7 04:45:10 UTC 2016

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

Log Message:
exynos mct -- snapshot

This code is still a mess, but at least it uses an interrupt-map so I can
use it to test whether interrupt-map handling in fdt_intr_ is working
properly.

Need to get some real documentation and redo this so it works. :(


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

2016-01-10 Thread Marty Fouts
Module Name:src
Committed By:   marty
Date:   Sun Jan 10 23:01:29 UTC 2016

Modified Files:
src/sys/dev/fdt: fdt_intr.c

Log Message:
FDT Interrupt handling - change memory allocation

This version does dynamic allocation of the specifier array.


To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 src/sys/dev/fdt/fdt_intr.c

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