files.loongson revision 1.24
1#	$OpenBSD: files.loongson,v 1.24 2016/11/17 14:41:21 visa Exp $
2
3# Standard stanzas config(8) can't run without
4maxpartitions 16
5maxusers 2 8 64
6
7# Major number for block devices, for ``root on'' lines
8major	{ sd = 0 }
9major	{ cd = 3 }
10major	{ wd = 4 }
11major	{ rd = 8 }
12
13file	dev/cninit.c
14
15file	arch/loongson/loongson/autoconf.c
16file	arch/loongson/loongson/bus_dma.c
17file	arch/loongson/loongson/bus_space.c
18file	arch/loongson/loongson/conf.c
19file	arch/loongson/loongson/disksubr.c		disk
20file	arch/loongson/loongson/gdium_machdep.c		cpu_loongson2
21file	arch/loongson/loongson/generic2e_machdep.c	cpu_loongson2
22file	arch/loongson/loongson/generic3a_machdep.c	cpu_loongson3
23file	arch/loongson/loongson/isa_machdep.c		isa
24file	arch/loongson/loongson/loongson2_machdep.c
25file	arch/loongson/loongson/loongson3_intr.c		cpu_loongson3
26file	arch/loongson/loongson/loongson3_machdep.c	cpu_loongson3
27file	arch/loongson/loongson/machdep.c
28file	arch/loongson/loongson/hibernate_machdep.c	hibernate
29file	arch/loongson/loongson/pciide_machdep.c		pciide
30file	arch/loongson/loongson/pmon.c
31file	arch/loongson/loongson/pmon32.S
32file	arch/loongson/loongson/wscons_machdep.c		wsdisplay
33file	arch/loongson/loongson/yeeloong_machdep.c	cpu_loongson2
34
35include "dev/ata/files.ata"
36include "dev/atapiscsi/files.atapiscsi"
37include	"dev/hid/files.hid"
38include	"dev/i2c/files.i2c"
39include	"dev/gpio/files.gpio"
40include	"dev/isa/files.isa"
41include	"dev/isa/files.isapnp"
42include	"dev/mii/files.mii"
43include	"dev/pci/files.pci"
44include	"dev/pckbc/files.pckbc"
45include	"dev/usb/files.usb"
46include "dev/rasops/files.rasops"
47include "dev/wscons/files.wscons"
48include "dev/wsfont/files.wsfont"
49include	"scsi/files.scsi"
50
51define	mainbus {}
52device	mainbus
53attach	mainbus at root
54file	arch/loongson/dev/mainbus.c			mainbus
55
56device	cpu
57attach	cpu at mainbus
58
59device	clock
60attach	clock at mainbus
61
62device	bonito {}: pcibus
63attach	bonito at mainbus
64file	arch/loongson/dev/bonito.c			bonito
65
66device	htb {}: pcibus
67attach	htb at mainbus
68file	arch/loongson/dev/htb.c				htb
69
70# AMD Geode CS5536 companion chip
71file	arch/loongson/dev/glx.c				bonito & pci
72
73# Other PCI-ISA bridges
74device	pcib: isabus
75attach	pcib at pci
76file	arch/loongson/dev/pcib.c			pcib | glxpcib
77
78# Lemote Yeeloong RTC
79device	mcclock
80attach	mcclock at isa with mcclock_isa
81file	arch/loongson/dev/mcclock.c			mcclock
82file	arch/loongson/dev/mcclock_isa.c			mcclock_isa
83
84# Lemote Yeeloong KB3310B Embedded Controller
85device	ykbec
86attach	ykbec at isa
87file	arch/loongson/dev/kb3310.c			ykbec needs-flag
88
89# Silicon Motion SM502 master device
90device	voyager {}: gpiobus
91attach	voyager at pci
92file	arch/loongson/dev/voyager.c			voyager
93
94# SM502 specific I2C bus bit-banging
95device	gdiumiic: i2cbus, i2c_bitbang
96attach	gdiumiic at gpio
97file	arch/loongson/dev/gdiumiic.c			gdiumiic
98
99# Gdium ST7 controller
100device	stsec
101attach	stsec at i2c
102file	arch/loongson/dev/stsec.c			stsec
103
104# Gdium M41T8x RTC
105device	mfokclock
106attach	mfokclock at i2c
107file	arch/loongson/dev/m41t8xclock.c			mfokclock
108
109# SM502 OHCI
110attach	ohci at voyager with ohci_voyager
111file	arch/loongson/dev/ohci_voyager.c		ohci_voyager
112
113# Silicon Motion SM502/SM712 frame buffer
114device	smfb: wsemuldisplaydev, rasops16
115attach	smfb at pci with smfb_pci
116attach	smfb at voyager with smfb_voyager
117file	arch/loongson/dev/smfb.c			smfb	needs-flag
118
119# SIS 315 Pro frame buffer
120device	sisfb: wsemuldisplaydev, rasops8, rasops15, rasops16, rasops32
121attach	sisfb at pci
122file	arch/loongson/dev/sisfb.c			sisfb	needs-flag
123
124# Radeon frame buffer
125device	radeonfb: wsemuldisplaydev, rasops16
126attach	radeonfb at pci
127file	arch/loongson/dev/radeonfb.c			radeonfb needs-flag
128
129device	apm
130attach	apm at mainbus
131file	arch/loongson/dev/apm.c				apm	needs-flag
132
133device	glxclk
134attach	glxclk at glxpcib
135file	arch/loongson/dev/glxclk.c			glxclk
136
137define	leiobus {}
138
139device	leioc: leiobus
140attach	leioc at mainbus
141file	arch/loongson/dev/leioc.c			leioc
142
143attach	com at leiobus with com_leioc
144file	arch/loongson/dev/com_leioc.c			com_leioc
145