files.dreamcast revision 1.29
1#	$NetBSD: files.dreamcast,v 1.29 2007/04/10 02:30:19 macallan Exp $
2
3# maxpartitions must be first item in files.${MACHINE}
4maxpartitions 16
5
6maxusers 2 16 64
7
8include "dev/wscons/files.wscons"
9include "dev/rasops/files.rasops"
10include "dev/wsfont/files.wsfont"
11include "dev/wsfb/files.wsfb"
12
13include "dev/i2o/files.i2o"
14include "dev/pci/files.pci"
15
16file	arch/dreamcast/dreamcast/conf.c
17file	arch/dreamcast/dreamcast/machdep.c
18file	arch/dreamcast/dreamcast/autoconf.c
19file	arch/dreamcast/dreamcast/clock_machdep.c
20file	arch/sh3/sh3/disksubr.c				disk
21
22file	dev/kloader.c					kloader
23file	arch/dreamcast/dreamcast/kloader_machdep.c	kloader
24defflag	opt_kloader.h	KLOADER
25defflag	debug_kloader.h	KLOADER_DEBUG
26
27defparam opt_memsize.h	IOM_ROM_BEGIN IOM_ROM_SIZE IOM_RAM_BEGIN IOM_RAM_SIZE
28
29#
30# Machine-independent SCSI drivers
31#
32
33include "dev/scsipi/files.scsipi"
34
35#
36# Machine-independent ATA drivers
37#
38
39include "dev/ata/files.ata"
40
41# Memory Disk for install floppy
42file dev/md_root.c				memory_disk_hooks
43
44#
45# System bus types
46#
47
48define mainbus { }
49device	mainbus: mainbus
50attach	mainbus at root
51file	arch/dreamcast/dreamcast/mainbus.c	mainbus
52
53device cpu
54attach cpu at mainbus
55file	arch/sh3/sh3/cpu.c			cpu
56
57include	"arch/sh3/conf/files.shb"
58
59file arch/dreamcast/dreamcast/sysasic.c		shb
60
61device maple { [port = -1], [subunit = -1] }
62attach maple at shb
63file	arch/dreamcast/dev/maple/maple.c		maple	needs-flag
64
65device	mkbd: wskbddev
66attach	mkbd at maple
67file	arch/dreamcast/dev/maple/mkbd.c			mkbd	needs-flag
68
69device	mms: wsmousedev
70attach	mms at maple
71file	arch/dreamcast/dev/maple/mms.c			mms	needs-flag
72
73device	mmem: disk
74attach	mmem at maple
75file	arch/dreamcast/dev/maple/mmemcard.c		mmem	needs-flag
76
77device	mlcd
78attach	mlcd at maple
79file	arch/dreamcast/dev/maple/mlcd.c			mlcd	needs-flag
80
81device	pvr: wsemuldisplaydev, rasops16
82attach	pvr at shb
83file	arch/dreamcast/dev/pvr.c			pvr	needs-flag
84
85device	gdrom: disk
86attach	gdrom at shb
87file	arch/dreamcast/dev/gdrom.c			gdrom	needs-flag
88
89device	g2bus { }
90attach	g2bus at shb
91file	arch/dreamcast/dev/g2/g2bus.c			g2bus
92file	arch/dreamcast/dev/g2/g2bus_bus_mem.c		g2bus
93
94device	g2rtc
95attach	g2rtc at g2bus
96file	arch/dreamcast/dev/g2/g2rtc.c			g2rtc
97
98device	gapspci: pcibus
99attach	gapspci at g2bus
100file	arch/dreamcast/dev/g2/gapspci.c			gapspci
101file	arch/dreamcast/dev/g2/gapspci_dma.c		gapspci
102file	arch/dreamcast/dev/g2/gapspci_pci.c		gapspci
103
104# LAN Adapter
105attach	mbe at g2bus with mbe_g2bus
106file	arch/dreamcast/dev/g2/if_mbe_g2.c		mbe_g2bus
107
108device	aica: audiobus, auconv, mulaw
109attach	aica at g2bus
110file	arch/dreamcast/dev/g2/aica.c			aica	needs-flag
111
112include "arch/dreamcast/conf/majors.dreamcast"
113