Module Name: src
Committed By: jmcneill
Date: Sun May 28 00:32:46 UTC 2017
Modified Files:
src/sys/arch/arm/cortex: files.cortex
Log Message:
Move children of armperiph to the "mpcorebus" interface attribute and have
armperiph declare support for it.
To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 src/sys/arch/arm/cortex/files.cortex
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/arch/arm/cortex/files.cortex
diff -u src/sys/arch/arm/cortex/files.cortex:1.5 src/sys/arch/arm/cortex/files.cortex:1.6
--- src/sys/arch/arm/cortex/files.cortex:1.5 Wed Feb 19 22:20:03 2014
+++ src/sys/arch/arm/cortex/files.cortex Sun May 28 00:32:46 2017
@@ -1,35 +1,37 @@
-# $NetBSD: files.cortex,v 1.5 2014/02/19 22:20:03 matt Exp $
+# $NetBSD: files.cortex,v 1.6 2017/05/28 00:32:46 jmcneill Exp $
defflag opt_cpu_in_cksum.h NEON_IN_CKSUM
file arch/arm/cortex/cpu_in_cksum_neon.c (inet | inet6) & neon_in_cksum
file arch/arm/cortex/cpu_in_cksum_asm_neon.S (inet | inet6) & neon_in_cksum
-device armperiph {}
+define mpcorebus {}
+
+device armperiph: mpcorebus
attach armperiph at mainbus
file arch/arm/cortex/armperiph.c armperiph
# ARM Generic Interrupt Controller (initially on Cortex-A9)
device armgic: pic, pic_splfuncs
-attach armgic at armperiph
+attach armgic at mpcorebus
file arch/arm/cortex/gic.c armgic
# ARM PL310 L2 Cache Controller(initially on Cortex-A9)
device arml2cc
-attach arml2cc at armperiph
+attach arml2cc at mpcorebus
file arch/arm/cortex/pl310.c arml2cc needs-flag
# ARMv7 Generic Timer
device armgtmr
-attach armgtmr at armperiph
+attach armgtmr at mpcorebus
file arch/arm/cortex/gtmr.c armgtmr
# A9 MPCore Global Timer
device a9tmr
-attach a9tmr at armperiph
+attach a9tmr at mpcorebus
file arch/arm/cortex/a9tmr.c a9tmr
# A9 MPcore Watchdog Timer
device a9wdt: sysmon_wdog
-attach a9wdt at armperiph
+attach a9wdt at mpcorebus
file arch/arm/cortex/a9wdt.c a9wdt