| @@ -1,424 +1,424 @@ | | | @@ -1,424 +1,424 @@ |
1 | # $NetBSD: files.i386,v 1.407 2020/10/21 13:31:51 christos Exp $ | | 1 | # $NetBSD: files.i386,v 1.408 2024/02/23 22:10:39 andvar Exp $ |
2 | # | | 2 | # |
3 | # new style config file for i386 architecture | | 3 | # new style config file for i386 architecture |
4 | # | | 4 | # |
5 | | | 5 | |
6 | # maxpartitions must be first item in files.${ARCH}.newconf | | 6 | # maxpartitions must be first item in files.${ARCH}.newconf |
7 | maxpartitions 8 | | 7 | maxpartitions 8 |
8 | | | 8 | |
9 | maxusers 2 16 128 | | 9 | maxusers 2 16 128 |
10 | | | 10 | |
11 | defparam opt_kernbase.h KERNBASE | | 11 | defparam opt_kernbase.h KERNBASE |
12 | | | 12 | |
13 | # delay before cpu_reset() for reboot. | | 13 | # delay before cpu_reset() for reboot. |
14 | defparam CPURESET_DELAY | | 14 | defparam CPURESET_DELAY |
15 | | | 15 | |
16 | # Obsolete Xbox support | | 16 | # Obsolete Xbox support |
17 | obsolete defflag XBOX | | 17 | obsolete defflag XBOX |
18 | | | 18 | |
19 | # User-settable LDT (used by WINE) | | 19 | # User-settable LDT (used by WINE) |
20 | defflag USER_LDT | | 20 | defflag USER_LDT |
21 | | | 21 | |
22 | # X server support in console drivers | | 22 | # X server support in console drivers |
23 | defflag opt_xserver.h XSERVER XSERVER_DDB | | 23 | defflag opt_xserver.h XSERVER XSERVER_DDB |
24 | | | 24 | |
25 | # The REAL{BASE,EXT}MEM options | | 25 | # The REAL{BASE,EXT}MEM options |
26 | defparam opt_realmem.h REALBASEMEM REALEXTMEM | | 26 | defparam opt_realmem.h REALBASEMEM REALEXTMEM |
27 | | | 27 | |
28 | # The PHYSMEM_MAX_{SIZE,ADDR} optionms | | 28 | # The PHYSMEM_MAX_{SIZE,ADDR} options |
29 | defparam opt_physmem.h PHYSMEM_MAX_ADDR PHYSMEM_MAX_SIZE | | 29 | defparam opt_physmem.h PHYSMEM_MAX_ADDR PHYSMEM_MAX_SIZE |
30 | | | 30 | |
31 | # PCI BIOS options | | 31 | # PCI BIOS options |
32 | defflag opt_pcibios.h PCIBIOS PCIBIOSVERBOSE | | 32 | defflag opt_pcibios.h PCIBIOS PCIBIOSVERBOSE |
33 | PCIBIOS_INTR_GUESS PCIINTR_DEBUG | | 33 | PCIBIOS_INTR_GUESS PCIINTR_DEBUG |
34 | defparam opt_pcibios.h PCIBIOS_IRQS_HINT | | 34 | defparam opt_pcibios.h PCIBIOS_IRQS_HINT |
35 | | | 35 | |
36 | # splraise()/spllower() debug | | 36 | # splraise()/spllower() debug |
37 | defflag opt_spldebug.h SPLDEBUG | | 37 | defflag opt_spldebug.h SPLDEBUG |
38 | | | 38 | |
39 | # Enable GCC spectre V2 mitigation options | | 39 | # Enable GCC spectre V2 mitigation options |
40 | defflag opt_spectre.h SPECTRE_V2_GCC_MITIGATION | | 40 | defflag opt_spectre.h SPECTRE_V2_GCC_MITIGATION |
41 | | | 41 | |
42 | # Beep on halt | | 42 | # Beep on halt |
43 | defflag opt_beep.h BEEP_ONHALT | | 43 | defflag opt_beep.h BEEP_ONHALT |
44 | defparam opt_beep.h BEEP_ONHALT_COUNT=3 | | 44 | defparam opt_beep.h BEEP_ONHALT_COUNT=3 |
45 | defparam opt_beep.h BEEP_ONHALT_PITCH=1500 | | 45 | defparam opt_beep.h BEEP_ONHALT_PITCH=1500 |
46 | defparam opt_beep.h BEEP_ONHALT_PERIOD=250 | | 46 | defparam opt_beep.h BEEP_ONHALT_PERIOD=250 |
47 | | | 47 | |
48 | # Multiboot support | | 48 | # Multiboot support |
49 | defflag opt_multiboot.h MULTIBOOT | | 49 | defflag opt_multiboot.h MULTIBOOT |
50 | obsolete defparam MULTIBOOT_SYMTAB_SPACE | | 50 | obsolete defparam MULTIBOOT_SYMTAB_SPACE |
51 | file arch/i386/i386/multiboot.c multiboot | | 51 | file arch/i386/i386/multiboot.c multiboot |
52 | file arch/x86/x86/multiboot2.c multiboot | | 52 | file arch/x86/x86/multiboot2.c multiboot |
53 | | | 53 | |
54 | file arch/i386/i386/autoconf.c !xenpv | | 54 | file arch/i386/i386/autoconf.c !xenpv |
55 | file arch/i386/i386/aout_machdep.c exec_aout | | 55 | file arch/i386/i386/aout_machdep.c exec_aout |
56 | file arch/i386/i386/busfunc.S | | 56 | file arch/i386/i386/busfunc.S |
57 | file arch/i386/i386/cpufunc.S | | 57 | file arch/i386/i386/cpufunc.S |
58 | file arch/i386/i386/cpu_in_cksum.S (inet | inet6) & cpu_in_cksum | | 58 | file arch/i386/i386/cpu_in_cksum.S (inet | inet6) & cpu_in_cksum |
59 | file arch/i386/i386/db_disasm.c ddb | | 59 | file arch/i386/i386/db_disasm.c ddb |
60 | file arch/i386/i386/db_interface.c ddb | | 60 | file arch/i386/i386/db_interface.c ddb |
61 | file arch/i386/i386/db_machdep.c ddb | | 61 | file arch/i386/i386/db_machdep.c ddb |
62 | file arch/i386/i386/dumpsys.c | | 62 | file arch/i386/i386/dumpsys.c |
63 | file kern/subr_disk_mbr.c disk | | 63 | file kern/subr_disk_mbr.c disk |
64 | file kern/subr_spldebug.c spldebug | | 64 | file kern/subr_spldebug.c spldebug |
65 | file arch/i386/i386/gdt.c | | 65 | file arch/i386/i386/gdt.c |
66 | file arch/i386/i386/i386func.S !xenpv | | 66 | file arch/i386/i386/i386func.S !xenpv |
67 | file arch/i386/i386/kobj_machdep.c modular | | 67 | file arch/i386/i386/kobj_machdep.c modular |
68 | file arch/i386/i386/machdep.c | | 68 | file arch/i386/i386/machdep.c |
69 | file arch/i386/i386/longrun.c | | 69 | file arch/i386/i386/longrun.c |
70 | file arch/i386/i386/mtrr_k6.c mtrr | | 70 | file arch/i386/i386/mtrr_k6.c mtrr |
71 | file arch/i386/i386/process_machdep.c | | 71 | file arch/i386/i386/process_machdep.c |
72 | file arch/x86/x86/convert_xmm_s87.c | | 72 | file arch/x86/x86/convert_xmm_s87.c |
73 | file arch/i386/i386/trap.c | | 73 | file arch/i386/i386/trap.c |
74 | file dev/cons.c | | 74 | file dev/cons.c |
75 | file arch/x86/x86/fpu.c | | 75 | file arch/x86/x86/fpu.c |
76 | file arch/x86/x86/dbregs.c | | 76 | file arch/x86/x86/dbregs.c |
77 | file arch/x86/x86/spectre.c | | 77 | file arch/x86/x86/spectre.c |
78 | | | 78 | |
79 | file arch/i386/i386/mptramp.S multiprocessor & ! xenpv | | 79 | file arch/i386/i386/mptramp.S multiprocessor & ! xenpv |
80 | | | 80 | |
81 | file crypto/des/arch/i386/des_enc.S des | | 81 | file crypto/des/arch/i386/des_enc.S des |
82 | file crypto/des/arch/i386/des_cbc.S des | | 82 | file crypto/des/arch/i386/des_cbc.S des |
83 | | | 83 | |
84 | file crypto/blowfish/arch/i386/bf_enc.S blowfish | | 84 | file crypto/blowfish/arch/i386/bf_enc.S blowfish |
85 | file crypto/blowfish/arch/i386/bf_cbc.S blowfish & !i386_cpu | | 85 | file crypto/blowfish/arch/i386/bf_cbc.S blowfish & !i386_cpu |
86 | | | 86 | |
87 | # | | 87 | # |
88 | # Stack-less Just-In-Time compiler | | 88 | # Stack-less Just-In-Time compiler |
89 | # | | 89 | # |
90 | | | 90 | |
91 | include "external/bsd/sljit/conf/files.sljit" | | 91 | include "external/bsd/sljit/conf/files.sljit" |
92 | | | 92 | |
93 | # | | 93 | # |
94 | # Machine-independent SCSI drivers | | 94 | # Machine-independent SCSI drivers |
95 | # | | 95 | # |
96 | | | 96 | |
97 | include "dev/scsipi/files.scsipi" | | 97 | include "dev/scsipi/files.scsipi" |
98 | | | 98 | |
99 | # | | 99 | # |
100 | # Machine-independent ATA drivers | | 100 | # Machine-independent ATA drivers |
101 | # | | 101 | # |
102 | | | 102 | |
103 | include "dev/ata/files.ata" | | 103 | include "dev/ata/files.ata" |
104 | | | 104 | |
105 | # Memory Disk for install floppy | | 105 | # Memory Disk for install floppy |
106 | file dev/md_root.c memory_disk_hooks & md | | 106 | file dev/md_root.c memory_disk_hooks & md |
107 | | | 107 | |
108 | # | | 108 | # |
109 | # Machine-independent I2O drivers | | 109 | # Machine-independent I2O drivers |
110 | # | | 110 | # |
111 | | | 111 | |
112 | include "dev/i2o/files.i2o" | | 112 | include "dev/i2o/files.i2o" |
113 | | | 113 | |
114 | # attribute used to bring in BIOS trampoline code for real-mode probing | | 114 | # attribute used to bring in BIOS trampoline code for real-mode probing |
115 | # of certain devices/BIOS features | | 115 | # of certain devices/BIOS features |
116 | define bioscall | | 116 | define bioscall |
117 | file arch/i386/i386/bioscall.S bioscall needs-flag | | 117 | file arch/i386/i386/bioscall.S bioscall needs-flag |
118 | | | 118 | |
119 | # i386 specific mainbus attributes | | 119 | # i386 specific mainbus attributes |
120 | define apmbus {} | | 120 | define apmbus {} |
121 | define pnpbiosbus {} | | 121 | define pnpbiosbus {} |
122 | | | 122 | |
123 | # | | 123 | # |
124 | # System bus types | | 124 | # System bus types |
125 | # | | 125 | # |
126 | | | 126 | |
127 | # XXX BIOS32 only if something that uses it is configured! | | 127 | # XXX BIOS32 only if something that uses it is configured! |
128 | device mainbus: isabus, eisabus, mcabus, pcibus, bios32, acpibus, | | 128 | device mainbus: isabus, eisabus, mcabus, pcibus, bios32, acpibus, |
129 | cpubus, ioapicbus, apmbus, pnpbiosbus, ipmibus, | | 129 | cpubus, ioapicbus, apmbus, pnpbiosbus, ipmibus, |
130 | bioscall, hypervisorbus | | 130 | bioscall, hypervisorbus |
131 | attach mainbus at root | | 131 | attach mainbus at root |
132 | file arch/i386/i386/i386_mainbus.c mainbus & !xenpv | | 132 | file arch/i386/i386/i386_mainbus.c mainbus & !xenpv |
133 | file arch/x86/x86/mainbus.c mainbus | | 133 | file arch/x86/x86/mainbus.c mainbus |
134 | | | 134 | |
135 | # | | 135 | # |
136 | # PCI-only drivers | | 136 | # PCI-only drivers |
137 | # XXX MUST BE INCLUDED BEFORE files.isa, as long as files.isa attaches | | 137 | # XXX MUST BE INCLUDED BEFORE files.isa, as long as files.isa attaches |
138 | # XXX devices to 'pci'. | | 138 | # XXX devices to 'pci'. |
139 | # | | 139 | # |
140 | include "dev/pci/files.pci" | | 140 | include "dev/pci/files.pci" |
141 | include "dev/pci/files.agp" | | 141 | include "dev/pci/files.agp" |
142 | file arch/i386/pci/pcibios.c pcibios | | 142 | file arch/i386/pci/pcibios.c pcibios |
143 | file arch/i386/pci/pci_intr_fixup.c pcibios & pci_intr_fixup | | 143 | file arch/i386/pci/pci_intr_fixup.c pcibios & pci_intr_fixup |
144 | file arch/i386/pci/piix.c pcibios & pci_intr_fixup | | 144 | file arch/i386/pci/piix.c pcibios & pci_intr_fixup |
145 | file arch/i386/pci/opti82c558.c pcibios & pci_intr_fixup | | 145 | file arch/i386/pci/opti82c558.c pcibios & pci_intr_fixup |
146 | file arch/i386/pci/opti82c700.c pcibios & pci_intr_fixup | | 146 | file arch/i386/pci/opti82c700.c pcibios & pci_intr_fixup |
147 | file arch/i386/pci/sis85c503.c pcibios & pci_intr_fixup | | 147 | file arch/i386/pci/sis85c503.c pcibios & pci_intr_fixup |
148 | file arch/i386/pci/via82c586.c pcibios & pci_intr_fixup | | 148 | file arch/i386/pci/via82c586.c pcibios & pci_intr_fixup |
149 | file arch/i386/pci/via8231.c pcibios & pci_intr_fixup | | 149 | file arch/i386/pci/via8231.c pcibios & pci_intr_fixup |
150 | file arch/i386/pci/amd756.c pcibios & pci_intr_fixup | | 150 | file arch/i386/pci/amd756.c pcibios & pci_intr_fixup |
151 | file arch/i386/pci/ali1543.c pcibios & pci_intr_fixup | | 151 | file arch/i386/pci/ali1543.c pcibios & pci_intr_fixup |
152 | defparam PCI_CONF_MODE | | 152 | defparam PCI_CONF_MODE |
153 | file arch/i386/pci/pcic_pci_machdep.c pcic_pci | | 153 | file arch/i386/pci/pcic_pci_machdep.c pcic_pci |
154 | | | 154 | |
155 | # x86 specific PCI hardware | | 155 | # x86 specific PCI hardware |
156 | include "arch/x86/pci/files.pci" | | 156 | include "arch/x86/pci/files.pci" |
157 | | | 157 | |
158 | # AMD Elan SC520 System Controller (PCI-Host bridge) | | 158 | # AMD Elan SC520 System Controller (PCI-Host bridge) |
159 | define elanparbus { } | | 159 | define elanparbus { } |
160 | define elanpexbus { } | | 160 | define elanpexbus { } |
161 | device elansc: sysmon_wdog, gpiobus, elanparbus, elanpexbus, pcibus | | 161 | device elansc: sysmon_wdog, gpiobus, elanparbus, elanpexbus, pcibus |
162 | attach elansc at pcibus | | 162 | attach elansc at pcibus |
163 | | | 163 | |
164 | file arch/i386/pci/elan520.c elansc | | 164 | file arch/i386/pci/elan520.c elansc |
165 | | | 165 | |
166 | device elanpar | | 166 | device elanpar |
167 | attach elanpar at elanparbus | | 167 | attach elanpar at elanparbus |
168 | | | 168 | |
169 | device elanpex | | 169 | device elanpex |
170 | attach elanpex at elanpexbus | | 170 | attach elanpex at elanpexbus |
171 | | | 171 | |
172 | # AMD Geode CS5535 Companion IDE controller | | 172 | # AMD Geode CS5535 Companion IDE controller |
173 | device gcscide: ata, ata_dma, ata_udma, pciide_common, wdc_common | | 173 | device gcscide: ata, ata_dma, ata_udma, pciide_common, wdc_common |
174 | attach gcscide at pci | | 174 | attach gcscide at pci |
175 | file arch/i386/pci/gcscide.c gcscide | | 175 | file arch/i386/pci/gcscide.c gcscide |
176 | | | 176 | |
177 | # AMD Geode CS5536 Companion EHCI | | 177 | # AMD Geode CS5536 Companion EHCI |
178 | device gcscehci: usbus | | 178 | device gcscehci: usbus |
179 | attach gcscehci at pci | | 179 | attach gcscehci at pci |
180 | file arch/i386/pci/gcscehci.c gcscehci | | 180 | file arch/i386/pci/gcscehci.c gcscehci |
181 | | | 181 | |
182 | # AMD Geode SC1100 GCB area | | 182 | # AMD Geode SC1100 GCB area |
183 | device geodegcb {} | | 183 | device geodegcb {} |
184 | attach geodegcb at pci | | 184 | attach geodegcb at pci |
185 | file arch/i386/pci/geode.c geodegcb | | 185 | file arch/i386/pci/geode.c geodegcb |
186 | | | 186 | |
187 | # AMD Geode SC1100 Watchdog Timer | | 187 | # AMD Geode SC1100 Watchdog Timer |
188 | device geodewdog: sysmon_wdog, geodegcb | | 188 | device geodewdog: sysmon_wdog, geodegcb |
189 | attach geodewdog at geodegcb | | 189 | attach geodewdog at geodegcb |
190 | file arch/i386/pci/geodewdg.c geodewdog | | 190 | file arch/i386/pci/geodewdg.c geodewdog |
191 | | | 191 | |
192 | # AMD Geode SC1100 high resolution counter | | 192 | # AMD Geode SC1100 high resolution counter |
193 | device geodecntr: geodegcb | | 193 | device geodecntr: geodegcb |
194 | attach geodecntr at geodegcb | | 194 | attach geodecntr at geodegcb |
195 | file arch/i386/pci/geodecntr.c geodecntr | | 195 | file arch/i386/pci/geodecntr.c geodecntr |
196 | | | 196 | |
197 | # PCI-EISA bridges | | 197 | # PCI-EISA bridges |
198 | device pceb: eisabus, isabus | | 198 | device pceb: eisabus, isabus |
199 | attach pceb at pci | | 199 | attach pceb at pci |
200 | file arch/i386/pci/pceb.c pceb | | 200 | file arch/i386/pci/pceb.c pceb |
201 | | | 201 | |
202 | # PCI-ISA bridges | | 202 | # PCI-ISA bridges |
203 | device gscpcib: isabus, gpiobus | | 203 | device gscpcib: isabus, gpiobus |
204 | attach gscpcib at pci | | 204 | attach gscpcib at pci |
205 | file arch/i386/pci/gscpcib.c gscpcib | | 205 | file arch/i386/pci/gscpcib.c gscpcib |
206 | | | 206 | |
207 | # AMD Geode CS5535/CS5536 PCI-ISA bridge | | 207 | # AMD Geode CS5535/CS5536 PCI-ISA bridge |
208 | device gcscpcib: isabus, sysmon_wdog, gpiobus | | 208 | device gcscpcib: isabus, sysmon_wdog, gpiobus |
209 | attach gcscpcib at pci with gcscpcib_pci | | 209 | attach gcscpcib at pci with gcscpcib_pci |
210 | file arch/i386/pci/gcscpcib_pci.c gcscpcib_pci | | 210 | file arch/i386/pci/gcscpcib_pci.c gcscpcib_pci |
211 | file dev/ic/gcscpcib.c gcscpcib | | 211 | file dev/ic/gcscpcib.c gcscpcib |
212 | | | 212 | |
213 | device piixpcib: isabus, bioscall | | 213 | device piixpcib: isabus, bioscall |
214 | attach piixpcib at pci | | 214 | attach piixpcib at pci |
215 | file arch/i386/pci/piixpcib.c piixpcib | | 215 | file arch/i386/pci/piixpcib.c piixpcib |
216 | | | 216 | |
217 | device viapcib: isabus, i2cbus | | 217 | device viapcib: isabus, i2cbus |
218 | attach viapcib at pci | | 218 | attach viapcib at pci |
219 | file arch/i386/pci/viapcib.c viapcib | | 219 | file arch/i386/pci/viapcib.c viapcib |
220 | | | 220 | |
221 | # PCI-MCA bridges | | 221 | # PCI-MCA bridges |
222 | device pcmb: mcabus | | 222 | device pcmb: mcabus |
223 | attach pcmb at pci | | 223 | attach pcmb at pci |
224 | file arch/i386/pci/pcmb.c pcmb | | 224 | file arch/i386/pci/pcmb.c pcmb |
225 | | | 225 | |
226 | device p64h2apic | | 226 | device p64h2apic |
227 | attach p64h2apic at pci | | 227 | attach p64h2apic at pci |
228 | file arch/i386/pci/p64h2apic.c p64h2apic | | 228 | file arch/i386/pci/p64h2apic.c p64h2apic |
229 | | | 229 | |
230 | | | 230 | |
231 | # | | 231 | # |
232 | # ISA and mixed ISA+EISA or ISA+PCI drivers | | 232 | # ISA and mixed ISA+EISA or ISA+PCI drivers |
233 | # | | 233 | # |
234 | | | 234 | |
235 | include "dev/isa/files.isa" | | 235 | include "dev/isa/files.isa" |
236 | | | 236 | |
237 | # Protech PS3100 cash drawer | | 237 | # Protech PS3100 cash drawer |
238 | device ptcd: gpiobus | | 238 | device ptcd: gpiobus |
239 | attach ptcd at isa | | 239 | attach ptcd at isa |
240 | file dev/isa/ptcd.c ptcd | | 240 | file dev/isa/ptcd.c ptcd |
241 | | | 241 | |
242 | # PC Mice: Logitech-style and Microsoft-style | | 242 | # PC Mice: Logitech-style and Microsoft-style |
243 | device lms: wsmousedev | | 243 | device lms: wsmousedev |
244 | attach lms at isa | | 244 | attach lms at isa |
245 | file arch/i386/isa/lms.c lms | | 245 | file arch/i386/isa/lms.c lms |
246 | device mms: wsmousedev | | 246 | device mms: wsmousedev |
247 | attach mms at isa | | 247 | attach mms at isa |
248 | file arch/i386/isa/mms.c mms | | 248 | file arch/i386/isa/mms.c mms |
249 | | | 249 | |
250 | include "dev/pckbport/files.pckbport" | | 250 | include "dev/pckbport/files.pckbport" |
251 | | | 251 | |
252 | device sysbeep | | 252 | device sysbeep |
253 | attach sysbeep at pcppi | | 253 | attach sysbeep at pcppi |
254 | | | 254 | |
255 | # Floppy disk controller | | 255 | # Floppy disk controller |
256 | device fdc {drive = -1}: isadma | | 256 | device fdc {drive = -1}: isadma |
257 | file dev/isa/fd.c fdc needs-flag | | 257 | file dev/isa/fd.c fdc needs-flag |
258 | | | 258 | |
259 | attach fdc at isa with fdc_isa | | 259 | attach fdc at isa with fdc_isa |
260 | file dev/isa/fdc_isa.c fdc_isa | | 260 | file dev/isa/fdc_isa.c fdc_isa |
261 | | | 261 | |
262 | device fd: disk | | 262 | device fd: disk |
263 | attach fd at fdc | | 263 | attach fd at fdc |
264 | | | 264 | |
265 | # Adaptec AHA-284x VL SCSI controllers | | 265 | # Adaptec AHA-284x VL SCSI controllers |
266 | # device declaration in sys/conf/files | | 266 | # device declaration in sys/conf/files |
267 | attach ahc at isa with ahc_isa: ahc_aic77xx, smc93cx6 | | 267 | attach ahc at isa with ahc_isa: ahc_aic77xx, smc93cx6 |
268 | file arch/i386/isa/ahc_isa.c ahc_isa | | 268 | file arch/i386/isa/ahc_isa.c ahc_isa |
269 | | | 269 | |
270 | # | | 270 | # |
271 | # EISA-only drivers | | 271 | # EISA-only drivers |
272 | # | | 272 | # |
273 | | | 273 | |
274 | include "dev/eisa/files.eisa" | | 274 | include "dev/eisa/files.eisa" |
275 | file arch/i386/eisa/eisa_machdep.c eisa | | 275 | file arch/i386/eisa/eisa_machdep.c eisa |
276 | | | 276 | |
277 | # | | 277 | # |
278 | # MCA-only drivers | | 278 | # MCA-only drivers |
279 | # | | 279 | # |
280 | | | 280 | |
281 | device mca {[slot = -1]} : bioscall | | 281 | device mca {[slot = -1]} : bioscall |
282 | include "dev/mca/files.mca" | | 282 | include "dev/mca/files.mca" |
283 | file arch/i386/mca/mca_machdep.c mca | | 283 | file arch/i386/mca/mca_machdep.c mca |
284 | | | 284 | |
285 | # ISA Plug 'n Play devices | | 285 | # ISA Plug 'n Play devices |
286 | file arch/i386/isa/isapnp_machdep.c isapnp | | 286 | file arch/i386/isa/isapnp_machdep.c isapnp |
287 | | | 287 | |
288 | # | | 288 | # |
289 | # VME support | | 289 | # VME support |
290 | # | | 290 | # |
291 | include "dev/vme/files.vme" | | 291 | include "dev/vme/files.vme" |
292 | | | 292 | |
293 | # | | 293 | # |
294 | # GPIB support | | 294 | # GPIB support |
295 | # | | 295 | # |
296 | include "dev/gpib/files.gpib" | | 296 | include "dev/gpib/files.gpib" |
297 | | | 297 | |
298 | # | | 298 | # |
299 | # CMOS RAM | | 299 | # CMOS RAM |
300 | # | | 300 | # |
301 | defpseudo cmos | | 301 | defpseudo cmos |
302 | file arch/i386/isa/cmos.c cmos needs-flag | | 302 | file arch/i386/isa/cmos.c cmos needs-flag |
303 | | | 303 | |
304 | # | | 304 | # |
305 | # Other mainbus-attached devices | | 305 | # Other mainbus-attached devices |
306 | # | | 306 | # |
307 | | | 307 | |
308 | include "dev/apm/files.apm" | | 308 | include "dev/apm/files.apm" |
309 | | | 309 | |
310 | # | | 310 | # |
311 | # Compatibility modules | | 311 | # Compatibility modules |
312 | # | | 312 | # |
313 | | | 313 | |
314 | # Binary compatibility with previous NetBSD releases (COMPAT_XX) | | 314 | # Binary compatibility with previous NetBSD releases (COMPAT_XX) |
315 | file arch/i386/i386/compat_13_machdep.c compat_13 | | 315 | file arch/i386/i386/compat_13_machdep.c compat_13 |
316 | file arch/i386/i386/compat_16_machdep.c compat_16 | | 316 | file arch/i386/i386/compat_16_machdep.c compat_16 |
317 | | | 317 | |
318 | # Linux binary compatibility (COMPAT_LINUX) | | 318 | # Linux binary compatibility (COMPAT_LINUX) |
319 | include "compat/linux/files.linux" | | 319 | include "compat/linux/files.linux" |
320 | include "compat/linux/arch/i386/files.linux_i386" | | 320 | include "compat/linux/arch/i386/files.linux_i386" |
321 | file arch/i386/i386/linux_sigcode.S compat_linux | | 321 | file arch/i386/i386/linux_sigcode.S compat_linux |
322 | file arch/i386/i386/linux_syscall.c compat_linux | | 322 | file arch/i386/i386/linux_syscall.c compat_linux |
323 | file arch/x86/x86/linux_trap.c compat_linux | | 323 | file arch/x86/x86/linux_trap.c compat_linux |
324 | | | 324 | |
325 | # FreeBSD binary compatibility (COMPAT_FREEBSD) | | 325 | # FreeBSD binary compatibility (COMPAT_FREEBSD) |
326 | include "compat/freebsd/files.freebsd" | | 326 | include "compat/freebsd/files.freebsd" |
327 | | | 327 | |
328 | # OSS audio driver compatibility | | 328 | # OSS audio driver compatibility |
329 | include "compat/ossaudio/files.ossaudio" | | 329 | include "compat/ossaudio/files.ossaudio" |
330 | | | 330 | |
331 | # | | 331 | # |
332 | # CARDBUS | | 332 | # CARDBUS |
333 | # | | 333 | # |
334 | include "dev/cardbus/files.cardbus" | | 334 | include "dev/cardbus/files.cardbus" |
335 | file arch/i386/i386/rbus_machdep.c cardbus | | 335 | file arch/i386/i386/rbus_machdep.c cardbus |
336 | | | 336 | |
337 | # XXXX pcic here because it needs to be late. The catch: pcic needs | | 337 | # XXXX pcic here because it needs to be late. The catch: pcic needs |
338 | # to be late, so devices which attach to it are attached late. But it | | 338 | # to be late, so devices which attach to it are attached late. But it |
339 | # needs to be before its isa and pci attachments. This answer is | | 339 | # needs to be before its isa and pci attachments. This answer is |
340 | # non-optimal, but I don't have a better answer right now. | | 340 | # non-optimal, but I don't have a better answer right now. |
341 | | | 341 | |
342 | # PCIC pcmcia controller | | 342 | # PCIC pcmcia controller |
343 | # XXX this needs to be done very late, so it's done here. This feels | | 343 | # XXX this needs to be done very late, so it's done here. This feels |
344 | # like a kludge, but it might be for the best. | | 344 | # like a kludge, but it might be for the best. |
345 | | | 345 | |
346 | defparam PCIC_ISA_ALLOC_IOBASE | | 346 | defparam PCIC_ISA_ALLOC_IOBASE |
347 | defparam PCIC_ISA_ALLOC_IOSIZE | | 347 | defparam PCIC_ISA_ALLOC_IOSIZE |
348 | defparam PCIC_ISA_INTR_ALLOC_MASK | | 348 | defparam PCIC_ISA_INTR_ALLOC_MASK |
349 | | | 349 | |
350 | device pcic: pcmciabus | | 350 | device pcic: pcmciabus |
351 | file dev/ic/i82365.c pcic | | 351 | file dev/ic/i82365.c pcic |
352 | | | 352 | |
353 | # PCIC pcmcia controller on ISA bus. | | 353 | # PCIC pcmcia controller on ISA bus. |
354 | attach pcic at isa with pcic_isa | | 354 | attach pcic at isa with pcic_isa |
355 | file dev/isa/i82365_isa.c pcic_isa | | 355 | file dev/isa/i82365_isa.c pcic_isa |
356 | | | 356 | |
357 | # PCIC pcmcia controller on PCI bus. | | 357 | # PCIC pcmcia controller on PCI bus. |
358 | attach pcic at pci with pcic_pci | | 358 | attach pcic at pci with pcic_pci |
359 | file dev/pci/i82365_pci.c pcic_pci | | 359 | file dev/pci/i82365_pci.c pcic_pci |
360 | | | 360 | |
361 | # PCIC pcmcia controller on PnP board | | 361 | # PCIC pcmcia controller on PnP board |
362 | attach pcic at isapnp with pcic_isapnp | | 362 | attach pcic at isapnp with pcic_isapnp |
363 | file dev/isapnp/i82365_isapnp.c pcic_isapnp | | 363 | file dev/isapnp/i82365_isapnp.c pcic_isapnp |
364 | | | 364 | |
365 | # Code common to ISA and ISAPnP attachments | | 365 | # Code common to ISA and ISAPnP attachments |
366 | file dev/isa/i82365_isasubr.c pcic_isa | pcic_isapnp | pcic_pci | | 366 | file dev/isa/i82365_isasubr.c pcic_isa | pcic_isapnp | pcic_pci |
367 | | | 367 | |
368 | # XXXX tcic here because it needs to be late. The catch: tcic needs | | 368 | # XXXX tcic here because it needs to be late. The catch: tcic needs |
369 | # to be late, so devices which attach to it are attached late. But it | | 369 | # to be late, so devices which attach to it are attached late. But it |
370 | # needs to be before its isa and pci attachments. This answer is | | 370 | # needs to be before its isa and pci attachments. This answer is |
371 | # non-optimal, but I don't have a better answer right now. | | 371 | # non-optimal, but I don't have a better answer right now. |
372 | | | 372 | |
373 | # TCIC pcmcia controller | | 373 | # TCIC pcmcia controller |
374 | # XXX this needs to be done very late, so it's done here. This feels | | 374 | # XXX this needs to be done very late, so it's done here. This feels |
375 | # like a kludge, but it might be for the best. | | 375 | # like a kludge, but it might be for the best. |
376 | | | 376 | |
377 | defparam TCIC_ISA_ALLOC_IOBASE | | 377 | defparam TCIC_ISA_ALLOC_IOBASE |
378 | defparam TCIC_ISA_ALLOC_IOSIZE | | 378 | defparam TCIC_ISA_ALLOC_IOSIZE |
379 | defparam TCIC_ISA_INTR_ALLOC_MASK | | 379 | defparam TCIC_ISA_INTR_ALLOC_MASK |
380 | | | 380 | |
381 | device tcic: pcmciabus | | 381 | device tcic: pcmciabus |
382 | file dev/ic/tcic2.c tcic | | 382 | file dev/ic/tcic2.c tcic |
383 | | | 383 | |
384 | # TCIC pcmcia controller | | 384 | # TCIC pcmcia controller |
385 | attach tcic at isa with tcic_isa | | 385 | attach tcic at isa with tcic_isa |
386 | file dev/isa/tcic2_isa.c tcic_isa | | 386 | file dev/isa/tcic2_isa.c tcic_isa |
387 | | | 387 | |
388 | # this wants to be probed as late as possible. | | 388 | # this wants to be probed as late as possible. |
389 | # | | 389 | # |
390 | # Machine-independent PCMCIA drivers | | 390 | # Machine-independent PCMCIA drivers |
391 | # | | 391 | # |
392 | include "dev/pcmcia/files.pcmcia" | | 392 | include "dev/pcmcia/files.pcmcia" |
393 | | | 393 | |
394 | | | 394 | |
395 | include "dev/usb/files.usb" | | 395 | include "dev/usb/files.usb" |
396 | | | 396 | |
397 | include "dev/bluetooth/files.bluetooth" | | 397 | include "dev/bluetooth/files.bluetooth" |
398 | | | 398 | |
399 | include "dev/sdmmc/files.sdmmc" | | 399 | include "dev/sdmmc/files.sdmmc" |
400 | | | 400 | |
401 | include "dev/ieee1394/files.ieee1394" | | 401 | include "dev/ieee1394/files.ieee1394" |
402 | | | 402 | |
403 | include "arch/i386/pnpbios/files.pnpbios" | | 403 | include "arch/i386/pnpbios/files.pnpbios" |
404 | | | 404 | |
405 | include "dev/acpi/files.acpi" | | 405 | include "dev/acpi/files.acpi" |
406 | file arch/i386/acpi/acpi_wakeup_low.S acpi & !xenpv | | 406 | file arch/i386/acpi/acpi_wakeup_low.S acpi & !xenpv |
407 | | | 407 | |
408 | # Microsoft Hyper-V | | 408 | # Microsoft Hyper-V |
409 | include "dev/hyperv/files.hyperv" | | 409 | include "dev/hyperv/files.hyperv" |
410 | | | 410 | |
411 | attach vmbus at acpinodebus with vmbus_acpi | | 411 | attach vmbus at acpinodebus with vmbus_acpi |
412 | file dev/acpi/vmbus_acpi.c vmbus_acpi | | 412 | file dev/acpi/vmbus_acpi.c vmbus_acpi |
413 | | | 413 | |
414 | # Obsolete vesabios/vesafb flags | | 414 | # Obsolete vesabios/vesafb flags |
415 | obsolete defflag opt_vesabios.h VESABIOSVERBOSE | | 415 | obsolete defflag opt_vesabios.h VESABIOSVERBOSE |
416 | obsolete defparam opt_vesafb.h VESAFB_WIDTH VESAFB_HEIGHT VESAFB_DEPTH | | 416 | obsolete defparam opt_vesafb.h VESAFB_WIDTH VESAFB_HEIGHT VESAFB_DEPTH |
417 | obsolete defflag opt_vesafb.h VESAFB_PM | | 417 | obsolete defflag opt_vesafb.h VESAFB_PM |
418 | | | 418 | |
419 | # AMD Geode LX Security Block | | 419 | # AMD Geode LX Security Block |
420 | device glxsb: opencrypto | | 420 | device glxsb: opencrypto |
421 | attach glxsb at pci | | 421 | attach glxsb at pci |
422 | file arch/i386/pci/glxsb.c glxsb | | 422 | file arch/i386/pci/glxsb.c glxsb |
423 | | | 423 | |
424 | include "arch/i386/conf/majors.i386" | | 424 | include "arch/i386/conf/majors.i386" |