summaryrefslogtreecommitdiff
path: root/sys/arch/arc/conf/files.arc
blob: 328e71ec28d10d902eeb29188b07965faa3f7f47 (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
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
#	$OpenBSD: files.arc,v 1.8 1996/09/24 21:30:00 niklas Exp $
#
# maxpartitions must be first item in files.${ARCH}
#
maxpartitions 16

maxusers 2 8 64

#	Required files

file	arch/arc/arc/autoconf.c
file	arch/arc/arc/conf.c
file	arch/arc/arc/cpu_exec.c
file	arch/arc/arc/disksubr.c
file	arch/arc/dev/dma.c
file	arch/arc/arc/machdep.c
file	arch/arc/arc/minidebug.c
file	arch/arc/arc/mem.c
file	arch/arc/arc/pmap.c
file	arch/arc/arc/process_machdep.c
file	arch/arc/arc/sys_machdep.c
file	arch/arc/arc/trap.c
file	arch/arc/arc/vm_machdep.c

file	arch/arc/arc/arcbios.c

#
#	Machine-independent ATAPI drivers 
#
include "../../../dev/atapi/files.atapi"
major	{ acd = 5 }

#
#	System BUS types
#
define	mainbus {}
device	mainbus
attach	mainbus at root
file	arch/arc/arc/mainbus.c	mainbus

#	Our CPU configurator
device	cpu
attach	cpu at mainbus			# not optional
file arch/arc/arc/cpu.c			cpu

#
#	PICA bus autoconfiguration devices
#
device	pica {}
attach	pica at mainbus			# 
file	arch/arc/pica/picabus.c		pica

#
#	ISA Bus bridge
#
device	isabr {} : isabus
attach	isabr at mainbus
file	arch/arc/isa/isabus.c		isabr
file    arch/arc/isa/isadma.c		isadma needs-flag

#	Ethernet chip
device	sn
attach	sn at pica: ifnet, ether
file	arch/arc/dev/if_sn.c		sn	needs-count

#	Use machine independent SCSI driver routines
include	"../../../scsi/files.scsi"
major	{sd = 0}
major	{cd = 3}

#	Machine dependent SCSI interface driver
device	asc: scsi
attach	asc at pica
file	arch/arc/dev/asc.c		asc	needs-count

#	Floppy disk controller
device	fdc {drive = -1}
attach	fdc at pica
device	fd: disk
attach	fd at fdc
file	arch/arc/dev/fd.c		fdc	needs-flag
major	{fd = 7}

#
#	Stock ISA bus support
#
define  pcmcia {}			# XXX dummy decl...
define  pci {}				# XXX dummy decl...

include	"../../../dev/isa/files.isa"
major	{ wd = 4 }

#	Real time clock, must have one..
device	clock
attach	clock at pica with clock_pica
attach	clock at isa with clock_isa
file	arch/arc/arc/clock.c	clock & (clock_isa | clock_pica) needs-flag
file	arch/arc/arc/clock_mc.c	clock & (clock_isa | clock_pica) needs-flag

#	Console driver on PC-style graphics
device	pc: tty
attach	pc at pica with pc_pica
attach	pc at isa with pc_isa
device	pms: tty
attach	pms at pica
file	arch/arc/dev/pccons.c		pc & (pc_pica | pc_isa)	needs-flag

#	Serial driver for both ISA and LOCAL bus.
device  ace: tty
attach  ace at isa with ace_isa
attach  ace at commulti with ace_commulti
attach  ace at pica with ace_pica
file    arch/arc/dev/ace.c		ace & (ace_isa | ace_commulti | ace_pica) needs-flag 

# 	Parallel ports (XXX what chip?)
device  lpr
attach  lpr at isa with lpr_isa
attach	lpr at pica with lpr_pica
file	arch/arc/dev/lpr.c		lpr & (lpr_isa | lpr_pica) needs-flag

# BusLogic BT-445C VLB SCSI Controller. Special on TYNE local bus.
device  btl: scsi
attach  btl at isa
file    arch/arc/dti/btl.c                    btl needs-count

# National Semiconductor DS8390/WD83C690-based boards
# (WD/SMC 80x3 family, SMC Ultra [8216], 3Com 3C503, NE[12]000, and clones)
# XXX conflicts with other ports; can't be in files.isa
device  ed: ether, ifnet
attach  ed at isa with ed_isa
attach  ed at pcmcia with ed_pcmcia
file    dev/isa/if_ed.c                 ed & (ed_isa | ed_pcmcia) needs-flag

#

file	dev/cons.c
file	dev/cninit.c
file	netinet/in_cksum.c
file	netns/ns_cksum.c			ns

file	compat/ultrix/ultrix_misc.c		compat_ultrix
file	compat/ultrix/ultrix_syscalls.c		compat_ultrix
file	compat/ultrix/ultrix_sysent.c		compat_ultrix