xref: /netbsd-src/sys/arch/prep/conf/files.prep (revision e622eac459adf11c2e710d7a4de0f05510bbbe61)
1*e622eac4Sisaki#	$NetBSD: files.prep,v 1.63 2019/05/08 13:40:15 isaki Exp $
237eb9eebSnonaka#
337eb9eebSnonaka# prep-specific configuration info
437eb9eebSnonaka#
50e182113Snonakamaxpartitions 8
637eb9eebSnonaka
737eb9eebSnonakamaxusers 2 8 64
837eb9eebSnonaka
9d974db0aSgarbledinclude	"arch/powerpc/pic/files.pic"
10d974db0aSgarbledinclude	"arch/powerpc/pic/files.ipi"
11d974db0aSgarbled
12c79479acSnonakadefflag	opt_residual.h	RESIDUAL_DATA_DUMP
13d736b3d5Sgarbleddefflag opt_nvram.h	NVRAM_DUMP
14c79479acSnonaka
151dd8b987Sgarbled# IBM quirk functions
16992a1d0bSnonakafile	arch/prep/prep/ibm_machdep.c
179fcf8c7eSkleink
18992a1d0bSnonakafile	arch/prep/prep/platform.c
19992a1d0bSnonaka
2037eb9eebSnonakafile	arch/prep/prep/autoconf.c
21d974db0aSgarbledfile	arch/powerpc/powerpc/clock.c
2293dfb931Snonakafile	arch/prep/prep/consinit.c
23a6d48d19Sgarbledfile	kern/subr_disk_mbr.c			disk
24d974db0aSgarbledfile	arch/powerpc/oea/prep_machdep.c
2537eb9eebSnonakafile	arch/prep/prep/machdep.c
261dd8b987Sgarbledfile	arch/prep/prep/residual.c
2703e1e2dcSnonaka
2803e1e2dcSnonakafile	arch/powerpc/powerpc/bus_dma.c
298a5a3a48Smattfile	arch/powerpc/powerpc/bus_space.c
3092d0498cSmattfile	arch/powerpc/powerpc/procfs_machdep.c	procfs
3103e1e2dcSnonaka
3203e1e2dcSnonaka# General files
3337eb9eebSnonakafile	dev/cons.c
3437eb9eebSnonaka
3537eb9eebSnonaka#
36e6be92adSad# Machine-independent I2O drivers
37e6be92adSad#
38e6be92adSadinclude "dev/i2o/files.i2o"
39e6be92adSad
40e6be92adSad#
4137eb9eebSnonaka# Machine-independent SCSI drivers
4237eb9eebSnonaka#
4337eb9eebSnonakainclude "dev/scsipi/files.scsipi"
4437eb9eebSnonaka
4537eb9eebSnonaka#
4637eb9eebSnonaka# Machine-independent ATA drivers
4737eb9eebSnonaka#
4837eb9eebSnonaka
4937eb9eebSnonakainclude "dev/ata/files.ata"
5037eb9eebSnonaka
5137eb9eebSnonaka#
5237eb9eebSnonaka# Memory Disk for install floppy
5337eb9eebSnonaka#
54a23d3495Smattfile	dev/md_root.c		memory_disk_hooks
5536b9d602Soster
5636b9d602Soster#
5737eb9eebSnonaka# System bus types
5837eb9eebSnonaka#
5937eb9eebSnonakadefine	mainbus {}
6037eb9eebSnonakadevice	mainbus: pcibus, mainbus
6137eb9eebSnonakaattach	mainbus at root
6237eb9eebSnonakafile	arch/prep/prep/mainbus.c	mainbus
6337eb9eebSnonaka
6437eb9eebSnonakadevice	cpu
6537eb9eebSnonakaattach	cpu at mainbus
6637eb9eebSnonakafile	arch/prep/prep/cpu.c		cpu
6737eb9eebSnonaka
6837eb9eebSnonaka#
6937eb9eebSnonaka# PCI-only drivers
7037eb9eebSnonaka# XXX MUST BE INCLUDED BEFORE files.isa, as long as files.isa attaches
7137eb9eebSnonaka# XXX devices to 'pci'.
7237eb9eebSnonaka#
7337eb9eebSnonakainclude "dev/pci/files.pci"
74d974db0aSgarbledinclude "dev/pci/files.agp"
7537eb9eebSnonakafile	arch/prep/pci/pci_machdep.c		pci
765410bbdbSkleinkfile	arch/prep/pci/prep_pciconf_direct.c	pci
77d974db0aSgarbledfile	arch/powerpc/pci/pci_machdep_common.c	pci
78dd2488a8Smattfile    arch/powerpc/pci/pci_module.c		pci & modular
79d974db0aSgarbledfile	arch/powerpc/pci/pciconf_indirect.c	pci
8037eb9eebSnonaka
8137eb9eebSnonaka# PCI-Host bridge chipsets
8237eb9eebSnonakadevice	pchb: pcibus
8337eb9eebSnonakaattach	pchb at pci
84d974db0aSgarbledfile	arch/powerpc/pci/pchb.c		pchb
8537eb9eebSnonaka
8637eb9eebSnonaka# PCI-ISA bridges
8737eb9eebSnonakadevice	pcib: isabus
8837eb9eebSnonakaattach	pcib at pci
89d974db0aSgarbledfile	arch/powerpc/pci/pcib.c		pcib
9037eb9eebSnonaka
91b19f0d31Sgarbled# PCI-EISA bridges
92b19f0d31Sgarbleddevice	pceb: eisabus, isabus
93b19f0d31Sgarbledattach	pceb at pci
94b19f0d31Sgarbledfile	arch/prep/pci/pceb.c		pceb
95b19f0d31Sgarbled
960b76f4efSmatt# IBM G10 display on ThinkPad 820
970b76f4efSmattdevice	gten: wsemuldisplaydev, rasops8
980b76f4efSmattattach	gten at pci
990b76f4efSmattfile	arch/prep/pci/gten.c		gten needs-flag
1000b76f4efSmatt
10137eb9eebSnonaka#
10237eb9eebSnonaka# ISA and mixed ISA+PCI drivers
10337eb9eebSnonaka#
10437eb9eebSnonaka
10537eb9eebSnonakainclude "dev/isa/files.isa"
106d974db0aSgarbledfile	arch/powerpc/isa/isa_machdep_common.c	isa
107d974db0aSgarbledfile	arch/powerpc/isa/isadma_machdep.c	isa
10837eb9eebSnonaka
109d78ca7c5Stsutsui# ISA Plug 'n Play devices
110d974db0aSgarbledfile	arch/powerpc/isa/isapnp_machdep.c	isapnp
111d78ca7c5Stsutsui
112dff5222dSbjh21include "dev/pckbport/files.pckbport"
11337eb9eebSnonaka
11437eb9eebSnonaka# ISA speaker generates keyboard beep
11537eb9eebSnonakadevice	isabeep
11637eb9eebSnonakaattach	isabeep at pcppi
11737eb9eebSnonakafile	arch/prep/isa/isabeep.c
11837eb9eebSnonaka
11937eb9eebSnonaka# Floppy disk controller
12037ca010eSmattdevice	fdc { drive = -1 }: isadma
12137ca010eSmattfile	dev/isa/fd.c			fdc needs-flag
12237ca010eSmatt
12337ca010eSmattattach	fdc at isa with fdc_isa
12437ca010eSmattfile	dev/isa/fdc_isa.c		fdc_isa
12537ca010eSmatt# Floppy disk controller
12637ca010eSmattdevice	fd: disk
12737eb9eebSnonakaattach	fd at fdc
12837eb9eebSnonaka
129*e622eac4Sisakidevice	paud { }: audiobus, isadma, ad1848
130a8ea1009Smattattach	paud at isa with paud_isa
131a8ea1009Smattfile	arch/prep/isa/paud_isa.c	paud_isa
132a8ea1009Smatt
133b19f0d31Sgarbled#
134b19f0d31Sgarbled# EISA-only drivers
135b19f0d31Sgarbled#
136b19f0d31Sgarbled
137b19f0d31Sgarbledinclude	"dev/eisa/files.eisa"
138b19f0d31Sgarbledfile	arch/prep/eisa/eisa_machdep.c	eisa
139b19f0d31Sgarbled
14048966cc6Snonaka# USB drivers
14148966cc6Snonakainclude "dev/usb/files.usb"
14248966cc6Snonaka
14303b44427Smatt# PCMCIA drivers/support
1440fa23113Slukemdefparam	PCIC_ISA_ALLOC_IOBASE
1450fa23113Slukemdefparam	PCIC_ISA_ALLOC_IOSIZE
1460fa23113Slukemdefparam	PCIC_ISA_INTR_ALLOC_MASK
14703b44427Smatt
14803b44427Smattdevice	pcic: pcmciabus
14903b44427Smattfile	dev/ic/i82365.c			pcic
15003b44427Smattattach	pcic at isa with pcic_isa
15103b44427Smattfile	dev/isa/i82365_isa.c		pcic_isa
15203b44427Smattfile	dev/isa/i82365_isasubr.c	pcic_isa
15303b44427Smatt
15403b44427Smattinclude "dev/pcmcia/files.pcmcia"
155ed9081deSnonaka
156ed9081deSnonaka# on-board I/O
1571dd8b987Sgarbleddefine pnpbus { [index = -1] }
1581dd8b987Sgarbleddevice pnpbus : pnpbus
1591dd8b987Sgarbledattach pnpbus at mainbus
1601dd8b987Sgarbledfile arch/prep/pnpbus/pnpbus.c		pnpbus needs-flag
161ed9081deSnonaka
162aa0bc147Sgarbled#
163aa0bc147Sgarbled# clock
164aa0bc147Sgarbled#
165aa0bc147Sgarbled# mc146818 and compat.
166aa0bc147Sgarbleddevice	mcclock: mc146818
167aa0bc147Sgarbledattach	mcclock at pnpbus with mcclock_pnpbus
168d974db0aSgarbledfile	arch/prep/pnpbus/mcclock_pnpbus.c	mcclock & mcclock_pnpbus needs-flag
169aa0bc147Sgarbled
170aa0bc147Sgarbled# mk48t18 stub probe  XXX MUST OCCUR BEFORE NVRAM
171aa0bc147Sgarbleddevice	mkclock: mk48txx
172aa0bc147Sgarbledattach	mkclock at pnpbus with mkclock_pnpbus
173d974db0aSgarbledfile	arch/prep/pnpbus/mkclock_pnpbus.c	mkclock & mkclock_pnpbus needs-flag
174aa0bc147Sgarbled
1751dd8b987Sgarbledattach wdc at pnpbus with wdc_pnpbus
1761dd8b987Sgarbledfile arch/prep/pnpbus/wdc_pnpbus.c	wdc_pnpbus needs-flag
17717ca05a7Sgarbled
1781dd8b987Sgarbledattach fdc at pnpbus with fdc_pnpbus: isadma
1791dd8b987Sgarbledfile arch/prep/pnpbus/fdc_pnpbus.c	fdc_pnpbus
18017ca05a7Sgarbled
181c458dc35Skiyoharadevice nvram: mk48txx
182d736b3d5Sgarbledattach nvram at pnpbus with nvram_pnpbus
183d736b3d5Sgarbledfile arch/prep/pnpbus/nvram_pnpbus.c	nvram_pnpbus
18477a6b82bSgehenna
18517ca05a7Sgarbledattach we at pnpbus with we_pnpbus
18617ca05a7Sgarbledfile arch/prep/pnpbus/if_we_pnpbus.c	we_pnpbus
18717ca05a7Sgarbled
18877a6b82bSgehennainclude "arch/prep/conf/majors.prep"
189