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