blob: 69ef8423323164a9dec2dd8de057dffac2d6f801 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
|
# $NetBSD: files.prep,v 1.63 2019/05/08 13:40:15 isaki Exp $
#
# prep-specific configuration info
#
maxpartitions 8
maxusers 2 8 64
include "arch/powerpc/pic/files.pic"
include "arch/powerpc/pic/files.ipi"
defflag opt_residual.h RESIDUAL_DATA_DUMP
defflag opt_nvram.h NVRAM_DUMP
# IBM quirk functions
file arch/prep/prep/ibm_machdep.c
file arch/prep/prep/platform.c
file arch/prep/prep/autoconf.c
file arch/powerpc/powerpc/clock.c
file arch/prep/prep/consinit.c
file kern/subr_disk_mbr.c disk
file arch/powerpc/oea/prep_machdep.c
file arch/prep/prep/machdep.c
file arch/prep/prep/residual.c
file arch/powerpc/powerpc/bus_dma.c
file arch/powerpc/powerpc/bus_space.c
file arch/powerpc/powerpc/procfs_machdep.c procfs
# General files
file dev/cons.c
#
# Machine-independent I2O drivers
#
include "dev/i2o/files.i2o"
#
# Machine-independent SCSI drivers
#
include "dev/scsipi/files.scsipi"
#
# Machine-independent ATA drivers
#
include "dev/ata/files.ata"
#
# Memory Disk for install floppy
#
file dev/md_root.c memory_disk_hooks
#
# System bus types
#
define mainbus {}
device mainbus: pcibus, mainbus
attach mainbus at root
file arch/prep/prep/mainbus.c mainbus
device cpu
attach cpu at mainbus
file arch/prep/prep/cpu.c cpu
#
# PCI-only drivers
# XXX MUST BE INCLUDED BEFORE files.isa, as long as files.isa attaches
# XXX devices to 'pci'.
#
include "dev/pci/files.pci"
include "dev/pci/files.agp"
file arch/prep/pci/pci_machdep.c pci
file arch/prep/pci/prep_pciconf_direct.c pci
file arch/powerpc/pci/pci_machdep_common.c pci
file arch/powerpc/pci/pci_module.c pci & modular
file arch/powerpc/pci/pciconf_indirect.c pci
# PCI-Host bridge chipsets
device pchb: pcibus
attach pchb at pci
file arch/powerpc/pci/pchb.c pchb
# PCI-ISA bridges
device pcib: isabus
attach pcib at pci
file arch/powerpc/pci/pcib.c pcib
# PCI-EISA bridges
device pceb: eisabus, isabus
attach pceb at pci
file arch/prep/pci/pceb.c pceb
# IBM G10 display on ThinkPad 820
device gten: wsemuldisplaydev, rasops8
attach gten at pci
file arch/prep/pci/gten.c gten needs-flag
#
# ISA and mixed ISA+PCI drivers
#
include "dev/isa/files.isa"
file arch/powerpc/isa/isa_machdep_common.c isa
file arch/powerpc/isa/isadma_machdep.c isa
# ISA Plug 'n Play devices
file arch/powerpc/isa/isapnp_machdep.c isapnp
include "dev/pckbport/files.pckbport"
# ISA speaker generates keyboard beep
device isabeep
attach isabeep at pcppi
file arch/prep/isa/isabeep.c
# Floppy disk controller
device fdc { drive = -1 }: isadma
file dev/isa/fd.c fdc needs-flag
attach fdc at isa with fdc_isa
file dev/isa/fdc_isa.c fdc_isa
# Floppy disk controller
device fd: disk
attach fd at fdc
device paud { }: audiobus, isadma, ad1848
attach paud at isa with paud_isa
file arch/prep/isa/paud_isa.c paud_isa
#
# EISA-only drivers
#
include "dev/eisa/files.eisa"
file arch/prep/eisa/eisa_machdep.c eisa
# USB drivers
include "dev/usb/files.usb"
# PCMCIA drivers/support
defparam PCIC_ISA_ALLOC_IOBASE
defparam PCIC_ISA_ALLOC_IOSIZE
defparam PCIC_ISA_INTR_ALLOC_MASK
device pcic: pcmciabus
file dev/ic/i82365.c pcic
attach pcic at isa with pcic_isa
file dev/isa/i82365_isa.c pcic_isa
file dev/isa/i82365_isasubr.c pcic_isa
include "dev/pcmcia/files.pcmcia"
# on-board I/O
define pnpbus { [index = -1] }
device pnpbus : pnpbus
attach pnpbus at mainbus
file arch/prep/pnpbus/pnpbus.c pnpbus needs-flag
#
# clock
#
# mc146818 and compat.
device mcclock: mc146818
attach mcclock at pnpbus with mcclock_pnpbus
file arch/prep/pnpbus/mcclock_pnpbus.c mcclock & mcclock_pnpbus needs-flag
# mk48t18 stub probe XXX MUST OCCUR BEFORE NVRAM
device mkclock: mk48txx
attach mkclock at pnpbus with mkclock_pnpbus
file arch/prep/pnpbus/mkclock_pnpbus.c mkclock & mkclock_pnpbus needs-flag
attach wdc at pnpbus with wdc_pnpbus
file arch/prep/pnpbus/wdc_pnpbus.c wdc_pnpbus needs-flag
attach fdc at pnpbus with fdc_pnpbus: isadma
file arch/prep/pnpbus/fdc_pnpbus.c fdc_pnpbus
device nvram: mk48txx
attach nvram at pnpbus with nvram_pnpbus
file arch/prep/pnpbus/nvram_pnpbus.c nvram_pnpbus
attach we at pnpbus with we_pnpbus
file arch/prep/pnpbus/if_we_pnpbus.c we_pnpbus
include "arch/prep/conf/majors.prep"
|