xref: /openbsd/sys/arch/loongson/conf/files.loongson (revision 5af055cd)
1#	$OpenBSD: files.loongson,v 1.22 2016/01/12 17:17:33 deraadt 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/isa_machdep.c		isa
23file	arch/loongson/loongson/lemote3a_machdep.c	cpu_loongson3
24file	arch/loongson/loongson/loongson2_machdep.c
25file	arch/loongson/loongson/loongson3_machdep.c	cpu_loongson3
26file	arch/loongson/loongson/machdep.c
27file	arch/loongson/loongson/hibernate_machdep.c	hibernate
28file	arch/loongson/loongson/pciide_machdep.c		pciide
29file	arch/loongson/loongson/pmon.c
30file	arch/loongson/loongson/pmon32.S
31file	arch/loongson/loongson/wscons_machdep.c		wsdisplay
32file	arch/loongson/loongson/yeeloong_machdep.c	cpu_loongson2
33
34include "dev/ata/files.ata"
35include "dev/atapiscsi/files.atapiscsi"
36include	"dev/hid/files.hid"
37include	"dev/i2c/files.i2c"
38include	"dev/gpio/files.gpio"
39include	"dev/isa/files.isa"
40include	"dev/isa/files.isapnp"
41include	"dev/mii/files.mii"
42include	"dev/pci/files.pci"
43include	"dev/pckbc/files.pckbc"
44include	"dev/usb/files.usb"
45include "dev/rasops/files.rasops"
46include "dev/wscons/files.wscons"
47include "dev/wsfont/files.wsfont"
48include	"scsi/files.scsi"
49
50define	mainbus {}
51device	mainbus
52attach	mainbus at root
53file	arch/loongson/dev/mainbus.c			mainbus
54
55device	cpu
56attach	cpu at mainbus
57
58device	clock
59attach	clock at mainbus
60
61device	bonito {}: pcibus
62attach	bonito at mainbus
63file	arch/loongson/dev/bonito.c			bonito
64
65# AMD Geode CS5536 companion chip
66file	arch/loongson/dev/glx.c				bonito & pci
67
68# Other PCI-ISA bridges
69device	pcib: isabus
70attach	pcib at pci
71file	arch/loongson/dev/pcib.c			pcib | glxpcib
72
73# Lemote Yeeloong RTC
74device	mcclock
75attach	mcclock at isa with mcclock_isa
76file	arch/loongson/dev/mcclock.c			mcclock
77file	arch/loongson/dev/mcclock_isa.c			mcclock_isa
78
79# Lemote Yeeloong KB3310B Embedded Controller
80device	ykbec
81attach	ykbec at isa
82file	arch/loongson/dev/kb3310.c			ykbec needs-flag
83
84# Silicon Motion SM502 master device
85device	voyager {}: gpiobus
86attach	voyager at pci
87file	arch/loongson/dev/voyager.c			voyager
88
89# SM502 specific I2C bus bit-banging
90device	gdiumiic: i2cbus, i2c_bitbang
91attach	gdiumiic at gpio
92file	arch/loongson/dev/gdiumiic.c			gdiumiic
93
94# Gdium ST7 controller
95device	stsec
96attach	stsec at i2c
97file	arch/loongson/dev/stsec.c			stsec
98
99# Gdium M41T8x RTC
100device	mfokclock
101attach	mfokclock at i2c
102file	arch/loongson/dev/m41t8xclock.c			mfokclock
103
104# SM502 OHCI
105attach	ohci at voyager with ohci_voyager
106file	arch/loongson/dev/ohci_voyager.c		ohci_voyager
107
108# Silicon Motion SM502/SM712 frame buffer
109device	smfb: wsemuldisplaydev, rasops16
110attach	smfb at pci with smfb_pci
111attach	smfb at voyager with smfb_voyager
112file	arch/loongson/dev/smfb.c			smfb	needs-flag
113
114# SIS 315 Pro frame buffer
115device	sisfb: wsemuldisplaydev, rasops8, rasops15, rasops16, rasops32
116attach	sisfb at pci
117file	arch/loongson/dev/sisfb.c			sisfb	needs-flag
118
119# Radeon frame buffer
120device	radeonfb: wsemuldisplaydev, rasops16
121attach	radeonfb at pci
122file	arch/loongson/dev/radeonfb.c			radeonfb needs-flag
123
124device	apm
125attach	apm at mainbus
126file	arch/loongson/dev/apm.c				apm	needs-flag
127
128device	glxclk
129attach	glxclk at glxpcib
130file	arch/loongson/dev/glxclk.c			glxclk
131