files.octeon revision 1.21
1#	$OpenBSD: files.octeon,v 1.21 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 }
12major	{ octcf = 15 }
13
14file	dev/cninit.c
15file	arch/octeon/octeon/autoconf.c
16file	arch/octeon/octeon/bus_dma.c
17file	arch/octeon/octeon/conf.c
18file	arch/octeon/octeon/disksubr.c		disk
19file	arch/octeon/octeon/lock_machdep.c	multiprocessor
20file	arch/octeon/octeon/machdep.c
21file	arch/mips64/mips64/mips64r2.S
22
23include "dev/ata/files.ata"
24include "dev/atapiscsi/files.atapiscsi"
25include	"dev/i2c/files.i2c"
26include	"dev/gpio/files.gpio"
27include	"dev/isa/files.isa"
28include	"dev/isa/files.isapnp"
29include	"dev/mii/files.mii"
30include	"dev/pci/files.pci"
31include	"dev/pckbc/files.pckbc"
32include	"dev/usb/files.usb"
33include	"dev/usb/dwc2/files.dwc2"
34include "dev/rasops/files.rasops"
35include "dev/wscons/files.wscons"
36include "dev/wsfont/files.wsfont"
37include	"scsi/files.scsi"
38
39define	mainbus {}
40device	mainbus
41attach	mainbus at root
42file	arch/octeon/dev/mainbus.c			mainbus
43
44device	cpu
45attach	cpu at mainbus
46
47device	clock
48attach	clock at mainbus
49
50# TOD clock
51device	octrtc
52attach	octrtc at mainbus
53file	arch/octeon/dev/octrtc.c			octrtc
54
55define	iobus {[base = -1]}
56device	iobus
57attach	iobus at mainbus
58file	arch/octeon/dev/octeon_iobus.c			iobus
59file	arch/octeon/dev/octeon_intr.c			iobus
60file	arch/octeon/dev/cn30xxfpa.c			iobus
61file	arch/octeon/dev/cn30xxpow.c			iobus
62file	arch/octeon/dev/cn30xxfau.c			iobus
63file	arch/octeon/dev/cn30xxpip.c			iobus
64file	arch/octeon/dev/cn30xxipd.c			iobus
65file	arch/octeon/dev/cn30xxpko.c			iobus
66file	arch/octeon/dev/cn30xxasx.c			iobus
67file	arch/octeon/dev/cn30xxsmi.c			iobus
68 
69attach	dwctwo at iobus with octdwctwo
70file	arch/octeon/dev/octdwctwo.c			octdwctwo	needs-flag
71
72# On-board CF
73device	octcf: disk
74attach	octcf at iobus
75file	arch/octeon/dev/octcf.c				octcf
76
77# On-board RNG
78device	octrng
79attach	octrng at iobus
80file	arch/octeon/dev/octrng.c			octrng
81
82device	cn30xxgmx {}
83attach	cn30xxgmx at iobus
84file	arch/octeon/dev/cn30xxgmx.c			cn30xxgmx
85
86device	cnmac: ether, ifnet, mii, ifmedia
87attach	cnmac at cn30xxgmx
88file	arch/octeon/dev/if_cnmac.c			cnmac
89
90define	uartbus {[base = -1]}
91device	uartbus
92attach	uartbus at mainbus
93file	arch/octeon/dev/octeon_uartbus.c		uartbus
94
95attach	com at uartbus with cn30xxuart
96file	arch/octeon/dev/cn30xxuart.c			cn30xxuart
97
98device	pcibus
99attach	pcibus at iobus
100file	arch/octeon/dev/octeon_pcibus.c			pcibus
101file	arch/octeon/dev/octeon_bus_space.c
102
103file	arch/octeon/octeon/pciide_machdep.c		pciide
104
105# On-board USB
106device	octhci: usbus
107attach	octhci at iobus
108file	arch/octeon/dev/octhci.c			octhci
109