files.loongson revision 1.7
1#	$OpenBSD: files.loongson,v 1.7 2010/02/26 14:53:11 miod 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/loongson2_machdep.c
22file	arch/loongson/loongson/machdep.c
23file	arch/loongson/loongson/mutex.c
24file	arch/loongson/loongson/pciide_machdep.c		pciide
25file	arch/loongson/loongson/pmon.c
26file	arch/loongson/loongson/pmon32.S
27file	arch/loongson/loongson/wscons_machdep.c		wsdisplay
28file	arch/loongson/loongson/yeeloong_machdep.c
29
30include "dev/ata/files.ata"
31include "dev/atapiscsi/files.atapiscsi"
32include	"dev/i2c/files.i2c"
33include	"dev/gpio/files.gpio"
34include	"dev/i2o/files.i2o"
35include	"dev/isa/files.isa"
36include	"dev/isa/files.isapnp"
37include	"dev/mii/files.mii"
38include	"dev/pci/files.pci"
39include	"dev/pckbc/files.pckbc"
40include	"dev/usb/files.usb"
41include "dev/rasops/files.rasops"
42include "dev/wscons/files.wscons"
43include "dev/wsfont/files.wsfont"
44include	"scsi/files.scsi"
45
46define	mainbus {}
47device	mainbus
48attach	mainbus at root
49file	arch/loongson/dev/mainbus.c			mainbus
50
51device	cpu
52attach	cpu at mainbus
53
54device	clock
55attach	clock at mainbus
56
57device	bonito {}: pcibus
58attach	bonito at mainbus
59file	arch/loongson/dev/bonito.c			bonito
60
61# AMD Geode CS5536 companion chip
62file	arch/loongson/dev/glx.c				bonito & pci
63
64# AMD Geode CS5536 PCI-ISA bridge
65device	glxpcib: isabus, gpiobus
66attach	glxpcib at pci
67file	arch/loongson/dev/glxpcib.c			glxpcib
68file	arch/loongson/dev/pcib.c			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
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