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