summaryrefslogtreecommitdiff
path: root/sys/arch/loongson/conf
diff options
context:
space:
mode:
authorVisa Hankala <visa@cvs.openbsd.org>2016-11-17 14:41:22 +0000
committerVisa Hankala <visa@cvs.openbsd.org>2016-11-17 14:41:22 +0000
commit57e5d4c118b16705a380446009d65f0b39f9a495 (patch)
treee5a40fda2477afbd78a714099714b45308399bac /sys/arch/loongson/conf
parent47227fa5812f4aa501f90b47a9ae06b1f67c2504 (diff)
Add drivers for PCI host bridge and built-in UARTs on Loongson 3A,
and put the pieces together by platform glue. Feedback from miod@
Diffstat (limited to 'sys/arch/loongson/conf')
-rw-r--r--sys/arch/loongson/conf/files.loongson17
1 files changed, 15 insertions, 2 deletions
diff --git a/sys/arch/loongson/conf/files.loongson b/sys/arch/loongson/conf/files.loongson
index 52d579e36f6..f647efbd38c 100644
--- a/sys/arch/loongson/conf/files.loongson
+++ b/sys/arch/loongson/conf/files.loongson
@@ -1,4 +1,4 @@
-# $OpenBSD: files.loongson,v 1.23 2016/11/06 10:20:33 visa Exp $
+# $OpenBSD: files.loongson,v 1.24 2016/11/17 14:41:21 visa Exp $
# Standard stanzas config(8) can't run without
maxpartitions 16
@@ -19,8 +19,8 @@ file arch/loongson/loongson/conf.c
file arch/loongson/loongson/disksubr.c disk
file arch/loongson/loongson/gdium_machdep.c cpu_loongson2
file arch/loongson/loongson/generic2e_machdep.c cpu_loongson2
+file arch/loongson/loongson/generic3a_machdep.c cpu_loongson3
file arch/loongson/loongson/isa_machdep.c isa
-file arch/loongson/loongson/lemote3a_machdep.c cpu_loongson3
file arch/loongson/loongson/loongson2_machdep.c
file arch/loongson/loongson/loongson3_intr.c cpu_loongson3
file arch/loongson/loongson/loongson3_machdep.c cpu_loongson3
@@ -63,6 +63,10 @@ device bonito {}: pcibus
attach bonito at mainbus
file arch/loongson/dev/bonito.c bonito
+device htb {}: pcibus
+attach htb at mainbus
+file arch/loongson/dev/htb.c htb
+
# AMD Geode CS5536 companion chip
file arch/loongson/dev/glx.c bonito & pci
@@ -129,3 +133,12 @@ file arch/loongson/dev/apm.c apm needs-flag
device glxclk
attach glxclk at glxpcib
file arch/loongson/dev/glxclk.c glxclk
+
+define leiobus {}
+
+device leioc: leiobus
+attach leioc at mainbus
+file arch/loongson/dev/leioc.c leioc
+
+attach com at leiobus with com_leioc
+file arch/loongson/dev/com_leioc.c com_leioc