summaryrefslogtreecommitdiffstats
path: root/sys/arch/arm/cortex/cortex.c
diff options
context:
space:
mode:
authorpatrick <patrick@openbsd.org>2016-05-02 08:15:55 +0000
committerpatrick <patrick@openbsd.org>2016-05-02 08:15:55 +0000
commit79645871eb1e6339dad244f36daa1838753bfcfb (patch)
treed788ccb8fdcdc0fb05bd9b37090844a6b6bbac9b /sys/arch/arm/cortex/cortex.c
parentIEEE 802.11 sequence numbers wrap at 12 bit. (diff)
downloadwireguard-openbsd-79645871eb1e6339dad244f36daa1838753bfcfb.tar.xz
wireguard-openbsd-79645871eb1e6339dad244f36daa1838753bfcfb.zip
Rework mainbus and implement simplebus to be able to span a tree-like
topology based on device tree information. Introduce a common attach args structure to be used for all fdt-capable bus devices. ok jsg@ kettenis@
Diffstat (limited to 'sys/arch/arm/cortex/cortex.c')
-rw-r--r--sys/arch/arm/cortex/cortex.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/arm/cortex/cortex.c b/sys/arch/arm/cortex/cortex.c
index 913feb7963c..d2d6aa508b6 100644
--- a/sys/arch/arm/cortex/cortex.c
+++ b/sys/arch/arm/cortex/cortex.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: cortex.c,v 1.4 2016/04/08 12:08:54 patrick Exp $ */
+/* $OpenBSD: cortex.c,v 1.5 2016/05/02 08:15:55 patrick Exp $ */
/* $NetBSD: mainbus.c,v 1.3 2001/06/13 17:52:43 nathanw Exp $ */
/*
@@ -97,7 +97,7 @@ struct cfdriver cortex_cd = {
int
cortexmatch(struct device *parent, void *cfdata, void *aux)
{
- struct mainbus_attach_args *ma = aux;
+ union mainbus_attach_args *ma = aux;
struct cfdata *cf = (struct cfdata *)cfdata;
int cputype = cpufunc_id();