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