summaryrefslogtreecommitdiff
path: root/sys/arch/loongson/conf/files.loongson
blob: 092f5068d0c28814ad4747ce436d2bdfb835dfe7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
#	$OpenBSD: files.loongson,v 1.15 2013/06/02 21:46:04 pirofti Exp $

# Standard stanzas config(8) can't run without
maxpartitions 16
maxusers 2 8 64

# Major number for block devices, for ``root on'' lines
major	{ sd = 0 }
major	{ cd = 3 }
major	{ wd = 4 }
major	{ rd = 8 }

file	dev/cninit.c

file	arch/loongson/loongson/autoconf.c
file	arch/loongson/loongson/bus_dma.c
file	arch/loongson/loongson/bus_space.c
file	arch/loongson/loongson/conf.c
file	arch/loongson/loongson/disksubr.c		disk
file	arch/loongson/loongson/gdium_machdep.c
file	arch/loongson/loongson/generic2e_machdep.c
file	arch/loongson/loongson/isa_machdep.c		isa
file	arch/loongson/loongson/loongson2_machdep.c
file	arch/loongson/loongson/machdep.c
file	arch/loongson/loongson/hibernate_machdep.c	hibernate
file	arch/loongson/loongson/mutex.c
file	arch/loongson/loongson/pciide_machdep.c		pciide
file	arch/loongson/loongson/pmon.c
file	arch/loongson/loongson/pmon32.S
file	arch/loongson/loongson/wscons_machdep.c		wsdisplay
file	arch/loongson/loongson/yeeloong_machdep.c

include "dev/ata/files.ata"
include "dev/atapiscsi/files.atapiscsi"
include	"dev/i2c/files.i2c"
include	"dev/gpio/files.gpio"
include	"dev/i2o/files.i2o"
include	"dev/isa/files.isa"
include	"dev/isa/files.isapnp"
include	"dev/mii/files.mii"
include	"dev/pci/files.pci"
include	"dev/pci/files.agp"
include	"dev/pckbc/files.pckbc"
include	"dev/usb/files.usb"
include "dev/bluetooth/files.bluetooth"
include "dev/rasops/files.rasops"
include "dev/wscons/files.wscons"
include "dev/wsfont/files.wsfont"
include	"scsi/files.scsi"

define	mainbus {}
device	mainbus
attach	mainbus at root
file	arch/loongson/dev/mainbus.c			mainbus

device	cpu
attach	cpu at mainbus

device	clock
attach	clock at mainbus

device	bonito {}: pcibus
attach	bonito at mainbus
file	arch/loongson/dev/bonito.c			bonito

# AMD Geode CS5536 companion chip
file	arch/loongson/dev/glx.c				bonito & pci

# Other PCI-ISA bridges
device	pcib: isabus
attach	pcib at pci
file	arch/loongson/dev/pcib.c			pcib | glxpcib

# Lemote Yeeloong RTC
device	mcclock
attach	mcclock at isa with mcclock_isa
file	arch/loongson/dev/mcclock.c			mcclock
file	arch/loongson/dev/mcclock_isa.c			mcclock_isa

# Lemote Yeeloong KB3310B Embedded Controller
device	ykbec
attach	ykbec at isa
file	arch/loongson/dev/kb3310.c			ykbec needs-flag

# Silicon Motion SM502 master device
device	voyager {}: gpiobus
attach	voyager at pci
file	arch/loongson/dev/voyager.c			voyager

# SM502 specific I2C bus bit-banging
device	gdiumiic: i2cbus, i2c_bitbang
attach	gdiumiic at gpio
file	arch/loongson/dev/gdiumiic.c			gdiumiic

# Gdium ST7 controller
device	stsec
attach	stsec at i2c
file	arch/loongson/dev/stsec.c			stsec

# Gdium M41T8x RTC
device	mfokclock
attach	mfokclock at i2c
file	arch/loongson/dev/m41t8xclock.c			mfokclock

# SM502 OHCI
attach	ohci at voyager with ohci_voyager
file	arch/loongson/dev/ohci_voyager.c		ohci_voyager

# Silicon Motion SM502/SM712 frame buffer
device	smfb: wsemuldisplaydev, rasops16
attach	smfb at pci with smfb_pci
attach	smfb at voyager with smfb_voyager
file	arch/loongson/dev/smfb.c			smfb	needs-flag

# SIS 315 Pro frame buffer
device	sisfb: wsemuldisplaydev, rasops8, rasops15, rasops16, rasops32
attach	sisfb at pci
file	arch/loongson/dev/sisfb.c			sisfb	needs-flag

device	apm
attach	apm at mainbus
file	arch/loongson/dev/apm.c				apm	needs-flag

device	glxclk
attach	glxclk at glxpcib
file	arch/loongson/dev/glxclk.c			glxclk