xref: /netbsd/sys/arch/hp300/conf/files.hp300 (revision bf9ec67e)
1#	$NetBSD: files.hp300,v 1.55 2002/02/23 21:52:25 gmcgarry 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
16
17# NOTE!  The order of these lines is significant!  Don't change them
18# unless you absolutely know what you're doing!
19
20#
21# Mainbus
22#
23
24device	mainbus { }
25attach	mainbus at root
26
27#
28# Internal i/o space
29#
30
31device	intio { }
32attach	intio at mainbus
33file	arch/hp300/dev/intio.c		intio
34
35#
36# DIO bus
37#
38
39device	dio { scode = -1 }
40attach	dio at mainbus
41file	arch/hp300/dev/dio.c		dio
42
43#
44# Devices in Internal i/o space
45#
46
47# Real-time clock (not optional)
48device	rtc
49attach	rtc at intio
50file	arch/hp300/dev/rtc.c			rtc
51
52# Human (Hilarious) Interface Loop
53device	hil { }
54attach	hil at intio
55file	arch/hp300/dev/hil.c			hil	needs-flag
56file	arch/hp300/dev/hil_keymaps.c		hil
57
58# Apollo Utilility Chip (a.k.a. "Frodo") found on 4xx workstations
59device	frodo { offset = -1 }
60attach	frodo at intio
61file	arch/hp300/dev/frodo.c		frodo
62
63# Apollo APCI 8250-like UARTs
64device	apci: tty
65attach	apci at frodo
66file	arch/hp300/dev/apci.c		apci needs-flag
67
68# Frame buffer attribute
69define	grfdev { }
70
71# Frame buffer devices
72device	dvbox: grfdev
73file	arch/hp300/dev/grf_dv.c		dvbox needs-flag
74
75device	gbox: grfdev
76file	arch/hp300/dev/grf_gb.c		gbox needs-flag
77
78device	hyper: grfdev
79file	arch/hp300/dev/grf_hy.c		hyper needs-flag
80
81device	rbox: grfdev
82file	arch/hp300/dev/grf_rb.c		rbox needs-flag
83
84device	topcat: grfdev
85file	arch/hp300/dev/grf_tc.c		topcat needs-flag
86
87# `grf' framebuffer abstraction
88device	grf { }
89attach	grf at grfdev
90file	arch/hp300/dev/grf.c		grf needs-flag
91file	arch/hp300/dev/grf_subr.c	grf
92
93# Internal Terminal Emulator
94device	ite: tty
95attach	ite at grf
96file	arch/hp300/dev/ite.c		ite needs-flag
97file	arch/hp300/dev/ite_subr.c	ite
98
99# Internal i/o framebuffer attachments
100attach	dvbox at intio with dvbox_intio
101attach	gbox at intio with gbox_intio
102attach	rbox at intio with rbox_intio
103attach	topcat at intio with topcat_intio
104
105#
106# Devices on the DIO bus
107#
108
109# DIO framebuffer attachments
110attach	dvbox at dio with dvbox_dio
111attach	gbox at dio with gbox_dio
112attach	hyper at dio with hyper_dio
113attach	rbox at dio with rbox_dio
114attach	topcat at dio with topcat_dio
115
116# DCA serial interface
117device	dca: tty
118attach	dca at dio
119file	arch/hp300/dev/dca.c		dca needs-flag
120
121# DCM serial interface
122device	dcm: tty
123attach	dcm at dio
124file	arch/hp300/dev/dcm.c		dcm needs-flag
125
126# LANCE ethernet
127attach	le at dio: le24
128file	arch/hp300/dev/if_le.c		le
129
130# HP-IB interfaces
131define	hpibdev { }
132
133device	nhpib: hpibdev
134attach	nhpib at dio
135file	arch/hp300/dev/nhpib.c		nhpib
136
137device	fhpib: hpibdev
138attach	fhpib at dio
139file	arch/hp300/dev/fhpib.c		fhpib
140
141# HP-IB bus layer
142device	hpibbus { slave = -1, punit = -1 }
143attach	hpibbus at hpibdev
144file	arch/hp300/dev/hpib.c		hpibbus
145
146# HP-IB devices
147device	ct: tape
148attach	ct at hpibbus
149file	arch/hp300/dev/ct.c		ct needs-flag
150
151device	mt: tape
152attach	mt at hpibbus
153file	arch/hp300/dev/mt.c		mt needs-flag
154
155device	rd: disk
156attach	rd at hpibbus
157file	arch/hp300/dev/rd.c		rd needs-flag
158file	arch/hp300/dev/rd_compat.c	rd		# XXX
159major	{rd = 2}
160
161device	ppi
162attach	ppi at hpibbus
163file	arch/hp300/dev/ppi.c		ppi needs-flag
164
165# Old HP SCSI layer
166device	oscsi { target = -1, lun = -1 }
167attach	oscsi at dio
168file	arch/hp300/dev/scsi.c		oscsi
169
170# Old HP SCSI devices
171device	sd: disk
172attach	sd at oscsi
173file	arch/hp300/dev/sd.c		sd needs-flag
174file	arch/hp300/dev/sd_compat.c	sd		# XXX
175major	{sd = 4}
176
177device	st: tape
178attach	st at oscsi
179file	arch/hp300/dev/st.c		st needs-flag
180
181device	ac
182attach	ac at oscsi
183file	arch/hp300/dev/ac.c		ac needs-flag
184
185# RAIDframe
186major	{raid = 15}
187
188# Memory Disk for ramdisk
189file	dev/md_root.c			memory_disk_hooks
190major	{md = 14}
191
192#
193# Non-device files
194#
195
196file	arch/hp300/hp300/autoconf.c
197file	arch/hp300/hp300/bus_space.c
198file	arch/hp300/hp300/clock.c
199file	arch/hp300/hp300/conf.c
200file	arch/hp300/hp300/db_memrw.c		ddb | kgdb
201file	arch/hp300/hp300/dkbad.c
202file	arch/hp300/hp300/kgdb_machdep.c		kgdb
203file	arch/hp300/hp300/machdep.c
204file	arch/hp300/hp300/intr.c
205file	arch/hp300/hp300/leds.c			useleds
206file	arch/hp300/hp300/mem.c
207file	arch/hp300/hp300/pmap.c
208file	arch/hp300/hp300/pmap_bootstrap.c	compile-with "${NOPROF_C}"
209file	arch/hp300/hp300/procfs_machdep.c	procfs
210file	arch/hp300/hp300/softintr.c
211file	arch/hp300/hp300/sys_machdep.c
212file	arch/hp300/hp300/trap.c
213file	arch/hp300/hp300/vm_machdep.c
214file	arch/hp300/hp300/disksubr.c
215file	arch/hp300/dev/dma.c
216
217file	dev/clock_subr.c
218file	dev/cons.c
219
220#
221# HP-UX binary compatibility
222#
223include "compat/hpux/files.hpux"
224file	arch/hp300/hp300/hpux_machdep.c		compat_hpux
225
226# NetBSD m68k a.out Binary Compatibility (COMPAT_AOUT_M68K)
227include	"compat/aoutm68k/files.aoutm68k"
228
229# SVR4 Binary Compatibility (COMPAT_SVR4)
230include	"compat/svr4/files.svr4"
231
232# SunOS Binary Compatibility (COMPAT_SUNOS)
233include	"compat/sunos/files.sunos"
234file	arch/m68k/m68k/sunos_machdep.c	compat_sunos
235
236# Linux binary compatibility (COMPAT_LINUX)
237include "compat/linux/files.linux"
238include "compat/linux/arch/m68k/files.linux_m68k"
239file arch/m68k/m68k/linux_trap.c		compat_linux
240
241# a.out binary compatibility (COMPAT_AOUT)
242include "compat/aout/files.aout"
243
244# OSS audio driver compatibility
245include "compat/ossaudio/files.ossaudio"
246