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