xref: /netbsd/sys/arch/hp300/conf/files.hp300 (revision 8657dbc0)
1#	$NetBSD: files.hp300,v 1.71 2004/08/28 17:45:24 thorpej Exp $
2#
3# hp300-specific configuration info
4
5# maxpartitions must be the first item in files.${ARCH}
6maxpartitions 8
7
8maxusers 2 8 64
9
10# SPU configuration options.
11defflag	opt_spuconf.h	HP320 HP330 HP340 HP345 HP350 HP360 HP370
12			HP375 HP380 HP385 HP400 HP425 HP433
13
14# Misc. options.
15defflag			USELEDS		# make the lights twinkle
16defflag			PANICBUTTON	# enable panic on ctl+shift+reset ...
17					# ... unless we're doing DDB
18
19# NOTE!  The order of these lines is significant!  Don't change them
20# unless you absolutely know what you're doing!
21
22#
23# Mainbus
24#
25
26device	mainbus { }
27attach	mainbus at root
28
29#
30# Internal i/o space
31#
32
33device	intio { }
34attach	intio at mainbus
35file	arch/hp300/dev/intio.c		intio
36
37#
38# DIO bus
39#
40
41device	dio { scode = -1 }
42attach	dio at mainbus
43file	arch/hp300/dev/dio.c		dio
44
45#
46# Devices in Internal i/o space
47#
48
49# Real-time clock (not optional)
50device	rtc
51attach	rtc at intio
52file	arch/hp300/dev/rtc.c			rtc
53
54# Human (Hilarious) Interface Loop
55device	hil { }
56attach	hil at intio
57file	arch/hp300/dev/hil.c			hil	needs-flag
58file	arch/hp300/dev/hil_keymaps.c		hil
59
60# 98620 DMA controller
61device	dma
62attach	dma at intio
63file	arch/hp300/dev/dma.c			dma
64
65# Apollo Utilility Chip (a.k.a. "Frodo") found on 4xx workstations
66device	frodo { offset = -1 }
67attach	frodo at intio
68file	arch/hp300/dev/frodo.c		frodo
69
70# Apollo APCI 8250-like UARTs
71attach	com at frodo with com_frodo
72file	arch/hp300/dev/com_frodo.c	com_frodo needs-flag
73
74# Frame buffer attribute
75define	grfdev { }
76
77# Frame buffer devices
78device	dvbox: grfdev
79file	arch/hp300/dev/grf_dv.c		dvbox needs-flag
80
81device	gbox: grfdev
82file	arch/hp300/dev/grf_gb.c		gbox needs-flag
83
84device	hyper: grfdev
85file	arch/hp300/dev/grf_hy.c		hyper needs-flag
86
87device	rbox: grfdev
88file	arch/hp300/dev/grf_rb.c		rbox needs-flag
89
90device	topcat: grfdev
91file	arch/hp300/dev/grf_tc.c		topcat needs-flag
92
93# `grf' framebuffer abstraction
94device	grf { }
95attach	grf at grfdev
96file	arch/hp300/dev/grf.c		grf needs-flag
97file	arch/hp300/dev/grf_subr.c	grf
98
99# Internal Terminal Emulator
100device	ite: tty
101attach	ite at grf
102file	arch/hp300/dev/ite.c		ite needs-flag
103file	arch/hp300/dev/ite_subr.c	ite
104
105# Internal i/o framebuffer attachments
106attach	dvbox at intio with dvbox_intio
107attach	gbox at intio with gbox_intio
108attach	rbox at intio with rbox_intio
109attach	topcat at intio with topcat_intio
110
111#
112# Devices on the DIO bus
113#
114
115# DIO framebuffer attachments
116attach	dvbox at dio with dvbox_dio
117attach	gbox at dio with gbox_dio
118attach	hyper at dio with hyper_dio
119attach	rbox at dio with rbox_dio
120attach	topcat at dio with topcat_dio
121
122# DCA serial interface
123attach	com at dio with com_dio
124file	arch/hp300/dev/com_dio.c	com_dio needs-flag
125
126# DCM serial interface
127device	dcm: tty
128attach	dcm at dio
129file	arch/hp300/dev/dcm.c		dcm needs-flag
130
131# LANCE ethernet
132attach	le at dio: le24
133file	arch/hp300/dev/if_le.c		le
134
135# HP-IB interfaces
136define	hpibdev { }
137
138device	nhpib: hpibdev
139attach	nhpib at intio with nhpib_intio
140attach	nhpib at dio with nhpib_dio
141file	arch/hp300/dev/nhpib.c		nhpib
142
143device	fhpib: hpibdev
144attach	fhpib at dio
145file	arch/hp300/dev/fhpib.c		fhpib
146
147# HP-IB bus layer
148device	hpibbus { slave = -1, punit = -1 }
149attach	hpibbus at hpibdev
150file	arch/hp300/dev/hpib.c		hpibbus
151
152# HP-IB devices
153device	ct: tape
154attach	ct at hpibbus
155file	arch/hp300/dev/ct.c		ct needs-flag
156
157device	mt: tape
158attach	mt at hpibbus
159file	arch/hp300/dev/mt.c		mt needs-flag
160
161device	rd: disk
162attach	rd at hpibbus
163file	arch/hp300/dev/rd.c		rd needs-flag
164
165device	ppi
166attach	ppi at hpibbus
167file	arch/hp300/dev/ppi.c		ppi needs-flag
168
169# MI SCSI
170include "dev/scsipi/files.scsipi"
171
172attach	spc at dio
173file	arch/hp300/dev/spc.c		spc needs-flag
174
175# Memory Disk for ramdisk
176file	dev/md_root.c			memory_disk_hooks
177
178#
179# Non-device files
180#
181
182file	arch/hp300/hp300/autoconf.c
183file	arch/hp300/hp300/bus_space.c
184file	arch/hp300/hp300/clock.c
185file	arch/hp300/hp300/dkbad.c
186file	arch/hp300/hp300/machdep.c
187file	arch/hp300/hp300/intr.c
188file	arch/hp300/hp300/leds.c			useleds
189file	arch/hp300/hp300/mem.c
190file	arch/hp300/hp300/pmap_bootstrap.c	compile-with "${NOPROF_C}"
191file	arch/hp300/hp300/procfs_machdep.c	procfs
192file	arch/hp300/hp300/softintr.c
193file	arch/hp300/hp300/trap.c
194file	arch/hp300/hp300/disksubr.c
195file	arch/m68k/m68k/cacheops.c
196file	arch/m68k/m68k/db_memrw.c		ddb | kgdb
197file	arch/m68k/m68k/kgdb_machdep.c		kgdb
198file	arch/m68k/m68k/pmap_motorola.c
199file	arch/m68k/m68k/sys_machdep.c
200file	arch/m68k/m68k/vm_machdep.c
201
202file	dev/cons.c
203
204#
205# HP-UX binary compatibility
206#
207include "compat/hpux/files.hpux"
208file	arch/hp300/hp300/hpux_machdep.c		compat_hpux
209
210# NetBSD m68k a.out Binary Compatibility (COMPAT_AOUT_M68K)
211include	"compat/aoutm68k/files.aoutm68k"
212
213# SVR4 Binary Compatibility (COMPAT_SVR4)
214include	"compat/svr4/files.svr4"
215
216# SunOS Binary Compatibility (COMPAT_SUNOS)
217include	"compat/sunos/files.sunos"
218file	arch/m68k/m68k/sunos_machdep.c	compat_sunos
219
220# Linux binary compatibility (COMPAT_LINUX)
221include "compat/linux/files.linux"
222include "compat/linux/arch/m68k/files.linux_m68k"
223file arch/m68k/m68k/linux_trap.c		compat_linux
224
225# a.out binary compatibility (COMPAT_AOUT)
226include "compat/aout/files.aout"
227
228# OSS audio driver compatibility
229include "compat/ossaudio/files.ossaudio"
230
231include	"arch/hp300/conf/majors.hp300"
232