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