files.shark revision 1.2
1#	$NetBSD: files.shark,v 1.2 2002/02/12 00:50:12 thorpej Exp $
2#
3# First try for arm-specific configuration info
4#
5
6maxpartitions	8
7maxusers 2 8 64
8
9# COMPAT_OLD_OFW for SHARKs
10defflag	COMPAT_OLD_OFW
11
12# Maintain Interrupt statistics
13defflag	IRQSTATS
14
15# X server support in console drivers
16defflag	XSERVER
17
18# Bootloader options (COMPAT... to be dropped ASAP)
19defflag	COMPAT_OLD_BOOTLOADER
20
21# Architectures and core logic
22defflag	NETWINDER
23
24define todservice {}
25
26#
27# ISA and mixed ISA+EISA or ISA+PCI drivers
28#
29include "dev/isa/files.isa"
30
31# Include WSCONS stuff
32include "dev/wscons/files.wscons"
33include "dev/rasops/files.rasops"
34include "dev/wsfont/files.wsfont"
35
36#
37# Machine-independent ATA drivers
38#
39include "dev/ata/files.ata"
40major	{wd = 16}
41
42# Common OFW files
43include "dev/ofw/files.ofw"
44include "arch/arm/ofw/files.ofw"
45attach	ofbus at root with ofbus_root
46file	arch/shark/ofw/ofw.c
47file	arch/shark/ofw/oftodclock.c
48
49# OFW console initialization
50file	arch/shark/ofw/consinit.c
51file	dev/cninit.c
52
53# ISA DMA glue
54file	arch/shark/isa/isadma_machdep.c		isadma
55
56# Game adapter (joystick)
57file	arch/shark/isa/joy_timer.c		joy
58
59# OFW ISA bus driver.
60include "dev/ofisa/files.ofisa"
61file	arch/shark/ofw/ofisa_machdep.c		ofisa
62file	arch/shark/ofw/com_ofisa_machdep.c	com_ofisa
63file	arch/shark/ofw/com_ofisa_consolehack.c	com_ofisa	# XXX
64file	arch/shark/ofw/if_cs_ofisa_machdep.c	cs_ofisa
65file	arch/shark/ofw/lpt_ofisa_machdep.c	lpt_ofisa
66file	arch/shark/ofw/wdc_ofisa_machdep.c	wdc_ofisa
67
68# Glue for OFW ISA device attachment
69device	ofisapc {}
70attach	ofisapc at ofbus
71file	arch/shark/ofw/ofisapc.c		pc
72device	ofisascr {}
73attach	ofisascr at ofisa
74file	arch/shark/ofw/ofisascr.c		scr
75
76device	ofrom
77attach	ofrom at ofbus
78file	arch/shark/ofw/ofrom.c			ofrom	needs-flag
79
80# Memory disk driver
81file	dev/md_root.c				md & memory_disk_hooks
82major	{md = 18}
83
84# RAIDframe
85major	{raid = 71}
86
87# attribute used to represent the "keyboard controller" on the shark
88# XXX should be a real device
89define	spckbd { [irq = -1], [port = -1] }
90
91# PS/2 mouse device
92device	opms: tty
93file	arch/shark/shark/pms.c			opms needs-flag
94
95attach	opms at spckbd with opms
96
97device	todclock
98attach	todclock at todservice
99file	arch/shark/dev/todclock.c		todclock	needs-count
100
101#
102# Machine-independent SCSI drivers
103#
104
105include "dev/scsipi/files.scsipi"
106major	{sd = 24}
107major	{cd = 26}
108
109# Generic MD files
110file	arch/shark/shark/autoconf.c
111file	arch/shark/shark/conf.c
112
113file	arch/arm/arm/disksubr.c			disk
114file	arch/arm/arm/disksubr_acorn.c		disk
115file	arch/arm/arm/disksubr_mbr.c		disk
116
117file	arch/arm/arm32/intr.c
118file	arch/arm/arm32/spl.S
119
120# Shark specific files
121file	arch/shark/shark/shark_machdep.c	shark
122file	arch/shark/shark/sequoia.c		shark
123file	arch/shark/shark/shark_fiq.S		shark
124file	arch/shark/shark/hat.c			shark
125file	arch/shark/isa/isa_irqhandler.c		shark
126file	arch/shark/isa/clock.c			shark
127file	arch/shark/isa/isa_irq.S		shark
128file	arch/shark/isa/isa_shark_machdep.c	shark
129file	arch/shark/isa/isa_io.c			shark | isa
130file	arch/shark/isa/isa_io_asm.S		shark | isa
131
132# National Semiconductor PC97307VUL SuperIO chip configuration routines
133define	nsio
134file	arch/shark/shark/ns87307.c		nsio & shark
135
136# 8042 microcontroller routines for keyboard and mouse
137define	i8042
138file	arch/shark/shark/i8042.c		i8042
139
140defpseudo profiler: disk
141file	arch/shark/shark/profile.c		profiler needs-flag
142
143# SHARK pc console
144device	pc: tty, spckbd, i8042
145attach	pc at ofisapc
146file	arch/shark/shark/pccons.c		pc needs-flag
147
148# Smart Card Reader
149device	scr: tty
150file	arch/shark/shark/scr.c			scr needs-flag
151attach	scr at ofisascr
152