INSTALL revision 1.183 1 1.183 jmcneill # $NetBSD: INSTALL,v 1.183 2002/02/08 01:49:34 jmcneill Exp $
2 1.2 tls #
3 1.54 thorpej # INSTALL - Installation kernel.
4 1.2 tls #
5 1.54 thorpej # This kernel should be derived from GENERIC with some features
6 1.54 thorpej # commented out.
7 1.54 thorpej #
8 1.54 thorpej # This kernel does NOT support X, mice, audio devices, non-NetBSD
9 1.37 perry # emulation.
10 1.54 thorpej #
11 1.2 tls
12 1.25 fvdl include "arch/i386/conf/std.i386"
13 1.2 tls
14 1.178 lukem makeoptions COPTS="-Os" # Optimise for space. Implies -O2
15 1.153 abs
16 1.54 thorpej # Enable the hooks used for initializing the root memory-disk.
17 1.54 thorpej options MEMORY_DISK_HOOKS
18 1.54 thorpej options MEMORY_DISK_IS_ROOT # force root on memory disk
19 1.54 thorpej options MEMORY_DISK_SERVER=0 # no userspace memory disk support
20 1.148 cyber options MINIROOTSIZE=4096 # size of memory disk, in blocks
21 1.54 thorpej #options MINIROOTSIZE=2880 # 1.44M, same as a floppy
22 1.54 thorpej
23 1.54 thorpej maxusers 32 # estimated number of users
24 1.54 thorpej
25 1.54 thorpej # CPU support. At least one is REQUIRED.
26 1.54 thorpej options I386_CPU
27 1.39 mellon options I486_CPU
28 1.39 mellon options I586_CPU
29 1.86 enami options I686_CPU
30 1.54 thorpej
31 1.54 thorpej # CPU-related options.
32 1.101 rvb options MATH_EMULATE # floating point emulation
33 1.50 mycroft #options VM86 # virtual 8086 emulation
34 1.50 mycroft #options USER_LDT # user-settable LDT; used by WINE
35 1.56 perry # eliminate delay no-ops in I/O; recommended on all but very old machines
36 1.56 perry #options DUMMY_NOPS
37 1.54 thorpej
38 1.54 thorpej # Misc. i386-specific options
39 1.54 thorpej #options XSERVER # X server support in console drivers
40 1.54 thorpej
41 1.54 thorpej # This option allows you to force a serial console at the specified
42 1.54 thorpej # I/O address.
43 1.178 lukem #options CONSDEVNAME="\"com\"",CONADDR=0x3f8,CONSPEED=9600
44 1.7 thorpej
45 1.49 mycroft # The following options override the memory sizes passed in from the boot
46 1.49 mycroft # block. Use them *only* if the boot block is unable to determine the correct
47 1.55 perry # values. Note that the BIOS may *correctly* report less than 640k of base
48 1.49 mycroft # memory if the extended BIOS data area is located at the top of base memory
49 1.49 mycroft # (as is the case on most recent systems).
50 1.49 mycroft #options REALBASEMEM=... # size of base memory
51 1.49 mycroft #options REALEXTMEM=... # size of extended memory
52 1.102 marc
53 1.102 marc # Avoid irq 5 and 7, the most likely cause of problems on modern laptops.
54 1.154 abs options PCIC_ISA_INTR_ALLOC_MASK=0xff5f
55 1.2 tls
56 1.54 thorpej # Standard system options
57 1.54 thorpej
58 1.54 thorpej #options UCONSOLE # users can use TIOCCONS (for xconsole)
59 1.54 thorpej options INSECURE # disable kernel security levels
60 1.2 tls
61 1.39 mellon options RTC_OFFSET=0 # hardware clock is this many mins. west of GMT
62 1.39 mellon #options NTP # NTP phase/frequency locked loop
63 1.2 tls
64 1.47 mikel #options KTRACE # system call tracing via ktrace(1)
65 1.2 tls
66 1.39 mellon #options SYSVMSG # System V-like message queues
67 1.39 mellon #options SYSVSEM # System V-like semaphores
68 1.39 mellon #options SYSVSHM # System V-like memory sharing
69 1.39 mellon #options SHMMAXPGS=1024 # 1024 pages is the default
70 1.39 mellon
71 1.54 thorpej #options LKM # loadable kernel modules
72 1.182 jdolecek
73 1.182 jdolecek options PIPE_SOCKETPAIR # smaller, but slower pipe(2)
74 1.89 thorpej
75 1.54 thorpej # Diagnostic/debugging support options
76 1.164 fvdl #options DIAGNOSTIC # expensive kernel consistency checks
77 1.54 thorpej #options DEBUG # expensive debugging checks/support
78 1.54 thorpej #options KMEMSTATS # kernel memory statistics (vmstat -m)
79 1.108 he options DDB # in-kernel debugger
80 1.144 hubertf #options DDB_ONPANIC=1 # see also sysctl(8): `ddb.onpanic'
81 1.149 mycroft options DDB_HISTORY_SIZE=512 # enable history editing in DDB
82 1.54 thorpej #options KGDB # remote debugger
83 1.177 lukem #options KGDB_DEVNAME="\"com\"",KGDB_DEVADDR=0x3f8,KGDB_DEVRATE=9600
84 1.178 lukem #makeoptions DEBUG="-g" # compile full symbol table
85 1.54 thorpej
86 1.61 mikel # Compatibility options
87 1.39 mellon #options COMPAT_NOMID # compatibility with 386BSD, BSDI, NetBSD 0.8,
88 1.39 mellon #options COMPAT_09 # NetBSD 0.9,
89 1.101 rvb options COMPAT_10 # NetBSD 1.0,
90 1.101 rvb options COMPAT_11 # NetBSD 1.1,
91 1.101 rvb options COMPAT_12 # NetBSD 1.2,
92 1.101 rvb options COMPAT_13 # NetBSD 1.3,
93 1.121 augustss options COMPAT_14 # NetBSD 1.4,
94 1.39 mellon #options COMPAT_43 # and 4.3BSD
95 1.84 veego options COMPAT_386BSD_MBRPART # recognize old partition ID
96 1.169 abs #options TCP_COMPAT_42 # 4.2BSD TCP/IP bug compat. Not recommended.
97 1.39 mellon
98 1.39 mellon #options COMPAT_SVR4 # binary compatibility with SVR4
99 1.39 mellon #options COMPAT_IBCS2 # binary compatibility with SCO and ISC
100 1.39 mellon #options COMPAT_LINUX # binary compatibility with Linux
101 1.39 mellon #options COMPAT_FREEBSD # binary compatibility with FreeBSD
102 1.2 tls
103 1.54 thorpej # File systems
104 1.32 thorpej file-system FFS # UFS
105 1.101 rvb file-system EXT2FS # second extended file system (linux)
106 1.43 mikel #file-system LFS # log-structured file system
107 1.32 thorpej file-system MFS # memory file system
108 1.32 thorpej file-system NFS # Network File System client
109 1.116 christos file-system NTFS # Windows/NT Filesystem
110 1.101 rvb file-system CD9660 # ISO 9660 + Rock Ridge file system
111 1.101 rvb file-system MSDOSFS # MS-DOS file system
112 1.59 perry #file-system FDESC # /dev/fd
113 1.32 thorpej file-system KERNFS # /kern
114 1.43 mikel #file-system NULLFS # loopback file system
115 1.43 mikel #file-system PORTAL # portal filesystem (still experimental)
116 1.43 mikel #file-system PROCFS # /proc
117 1.43 mikel #file-system UMAPFS # NULLFS + uid and gid remapping
118 1.43 mikel #file-system UNION # union file system
119 1.2 tls
120 1.154 abs # Filesystem options
121 1.39 mellon #options QUOTA # UFS quotas
122 1.39 mellon #options NFSSERVER # Network File System server
123 1.154 abs #options NFS_V2_ONLY # Exclude NFS3 and NQNFS code to save space
124 1.154 abs options VNODE_OP_NOINLINE # Save space by not inlining vnode op calls
125 1.37 perry #options EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and
126 1.37 perry # immutable) behave as system flags.
127 1.61 mikel
128 1.54 thorpej # Networking options
129 1.39 mellon #options GATEWAY # packet forwarding
130 1.39 mellon options INET # IP + ICMP + TCP + UDP
131 1.134 itojun options INET6 # IPv6
132 1.39 mellon #options MROUTING # IP multicast routing
133 1.39 mellon #options NS # XNS
134 1.39 mellon #options NSIP # XNS tunneling over IP
135 1.39 mellon #options ISO,TPIP # OSI
136 1.39 mellon #options EON # OSI tunneling over IP
137 1.39 mellon #options CCITT,LLC,HDLC # X.25
138 1.54 thorpej #options NETATALK # AppleTalk networking protocols
139 1.54 thorpej #options PPP_BSDCOMP # BSD-Compress compression support for PPP
140 1.54 thorpej #options PPP_DEFLATE # Deflate compression support for PPP
141 1.54 thorpej #options PPP_FILTER # Active filter support for PPP (requires bpf)
142 1.43 mikel #options PFIL_HOOKS # pfil(9) packet filter hooks
143 1.169 abs #options TCP_DEBUG # Record last TCP_NDEBUG packets with SO_DEBUG
144 1.2 tls
145 1.56 perry # These options enable verbose messages for several subsystems.
146 1.56 perry # Warning, these may compile large string tables into the kernel!
147 1.56 perry #options EISAVERBOSE # verbose EISA device autoconfig messages
148 1.143 augustss #options MIIVERBOSE # verbose PHY autoconfig messages
149 1.56 perry #options PCIVERBOSE # verbose PCI device autoconfig messages
150 1.139 cgd #options PCI_CONFIG_DUMP # verbosely dump PCI config space
151 1.54 thorpej #options PCMCIAVERBOSE # verbose PCMCIA configuration messages
152 1.56 perry #options SCSIVERBOSE # human readable SCSI error messages
153 1.175 enami #options I2OVERBOSE # verbose I2O driver messages
154 1.54 thorpej
155 1.54 thorpej # Kernel root file system and dump configuration.
156 1.54 thorpej config netbsd root on ? type ?
157 1.54 thorpej #config netbsd root on sd0a type ffs
158 1.54 thorpej #config netbsd root on ? type nfs
159 1.54 thorpej
160 1.54 thorpej #
161 1.54 thorpej # Device configuration
162 1.54 thorpej #
163 1.43 mikel
164 1.6 cgd mainbus0 at root
165 1.6 cgd
166 1.54 thorpej #apm0 at mainbus0 # Advanced power management
167 1.2 tls
168 1.56 perry
169 1.56 perry # Basic Bus Support
170 1.56 perry
171 1.54 thorpej # PCI bus support
172 1.54 thorpej pci* at mainbus? bus ?
173 1.54 thorpej pci* at pchb? bus ?
174 1.5 cgd pci* at ppb? bus ?
175 1.54 thorpej
176 1.56 perry # PCI bridges
177 1.27 thorpej pchb* at pci? dev ? function ? # PCI-Host bridges
178 1.75 thorpej pceb* at pci? dev ? function ? # PCI-EISA bridges
179 1.27 thorpej pcib* at pci? dev ? function ? # PCI-ISA bridges
180 1.54 thorpej ppb* at pci? dev ? function ? # PCI-PCI bridges
181 1.88 cgd # XXX 'puc's aren't really bridges, but there's no better place for them here
182 1.88 cgd puc* at pci? dev ? function ? # PCI "universal" comm. cards
183 1.27 thorpej
184 1.54 thorpej # EISA bus support
185 1.172 nathanw eisa0 at mainbus?
186 1.172 nathanw eisa0 at pceb?
187 1.27 thorpej
188 1.54 thorpej # ISA bus support
189 1.172 nathanw isa0 at mainbus?
190 1.172 nathanw isa0 at pceb?
191 1.172 nathanw isa0 at pcib?
192 1.54 thorpej
193 1.56 perry # PCMCIA bus support
194 1.56 perry pcmcia* at pcic? controller ? socket ?
195 1.118 christos pcmcia* at tcic? controller ? socket ?
196 1.56 perry
197 1.56 perry # ISA PCMCIA controllers
198 1.159 fvdl pcic0 at isa? port 0x3e0 iomem 0xd0000 iosiz 0x10000
199 1.159 fvdl pcic1 at isa? port 0x3e2 iomem 0xe0000 iosiz 0x4000
200 1.183 jmcneill pcic2 at isa? port 0x3e4 iomem 0xe0000 iosiz 0x4000
201 1.159 fvdl tcic0 at isa? port 0x240 iomem 0xd0000 iosiz 0x10000
202 1.118 christos
203 1.118 christos # PCI PCMCIA controllers
204 1.118 christos pcic0 at pci? dev? function ?
205 1.56 perry
206 1.56 perry # ISA Plug-and-Play bus support
207 1.56 perry isapnp0 at isa?
208 1.56 perry
209 1.118 christos # ISA Plug-and-Play PCMCIA controllers
210 1.118 christos pcic* at isapnp?
211 1.56 perry
212 1.56 perry # Coprocessor Support
213 1.56 perry
214 1.56 perry # Math Coprocessor support
215 1.56 perry npx0 at isa? port 0xf0 irq 13 # x86 math coprocessor
216 1.56 perry
217 1.56 perry
218 1.56 perry # Console Devices
219 1.56 perry
220 1.147 mycroft # ISA console
221 1.56 perry pc0 at isa? port 0x60 irq 1 # pccons generic PC console driver
222 1.90 bouyer
223 1.90 bouyer # Keyboard layout configuration for pccons
224 1.92 bouyer #options FRENCH_KBD
225 1.91 bouyer #options FINNISH_KBD
226 1.92 bouyer #options GERMAN_KBD
227 1.93 perry #options NORWEGIAN_KBD
228 1.56 perry
229 1.118 christos # wscons
230 1.118 christos #pckbc0 at isa? # pc keyboard controller
231 1.118 christos #pckbd* at pckbc? # PC keyboard
232 1.118 christos # "opms" should not be enabled together with "pms" or "pmsi"
233 1.118 christos #pms* at pckbc? # PS/2 mouse for wsmouse
234 1.118 christos #pmsi* at pckbc? # PS/2 "Intelli"mouse for wsmouse
235 1.118 christos #opms* at pckbc? # backwards compatible PS/2 mouse
236 1.118 christos #vga0 at isa?
237 1.118 christos #vga* at pci?
238 1.118 christos #pcdisplay0 at isa? # CGA, MDA, EGA, HGA
239 1.118 christos #wsdisplay* at vga? console ?
240 1.118 christos #wsdisplay* at pcdisplay? console ?
241 1.118 christos #wskbd* at pckbd? console ?
242 1.118 christos #wsmouse* at pms?
243 1.118 christos #wsmouse* at pmsi?
244 1.118 christos
245 1.82 drochner #pcppi0 at isa?
246 1.82 drochner #sysbeep0 at pcppi?
247 1.56 perry
248 1.56 perry # Serial Devices
249 1.56 perry
250 1.56 perry # PCI serial interfaces
251 1.133 soren com* at puc? port ? # 16x50s on "universal" comm boards
252 1.56 perry #cy* at pci? dev ? function ? # Cyclades Cyclom-Y serial boards
253 1.54 thorpej
254 1.56 perry # ISA Plug-and-Play serial interfaces
255 1.56 perry com* at isapnp? # Modems and serial boards
256 1.56 perry
257 1.56 perry # PCMCIA serial interfaces
258 1.56 perry com* at pcmcia? function ? # Modems and serial cards
259 1.98 thorpej
260 1.98 thorpej pcmcom* at pcmcia? function ? # PCMCIA multi-port serial cards
261 1.98 thorpej com* at pcmcom? slave ? # ...and the slave devices
262 1.56 perry
263 1.56 perry # ISA serial interfaces
264 1.56 perry #options COM_HAYESP # adds Hayes ESP serial board support
265 1.56 perry com0 at isa? port 0x3f8 irq 4 # Standard PC serial ports
266 1.56 perry com1 at isa? port 0x2f8 irq 3
267 1.56 perry com2 at isa? port 0x3e8 irq 5
268 1.56 perry #com3 at isa? port 0x2e8 irq 9
269 1.56 perry #ast0 at isa? port 0x1a0 irq 5 # AST 4-port serial cards
270 1.56 perry #com* at ast? slave ?
271 1.56 perry #boca0 at isa? port 0x100 irq 5 # BOCA 8-port serial cards
272 1.56 perry #com* at boca? slave ?
273 1.118 christos #tcom0 at isa? port 0x100 irq 7 # TC-800 8-port serial cards
274 1.118 christos #com* at tcom? slave ?
275 1.56 perry #rtfps0 at isa? port 0x1230 irq 10 # RT 4-port serial cards
276 1.56 perry #com* at rtfps? slave ?
277 1.56 perry #cy0 at isa? iomem 0xd4000 irq 12 # Cyclades serial cards
278 1.56 perry
279 1.56 perry
280 1.56 perry # Parallel Printer Interfaces
281 1.88 cgd
282 1.88 cgd # PCI parallel printer interfaces
283 1.88 cgd #lpt* at puc? port ? # || ports on "universal" comm boards
284 1.56 perry
285 1.56 perry # ISA parallel printer interfaces
286 1.56 perry #lpt0 at isa? port 0x378 irq 7 # standard PC parallel ports
287 1.56 perry #lpt1 at isa? port 0x278
288 1.56 perry #lpt2 at isa? port 0x3bc
289 1.56 perry
290 1.160 ad # I2O devices
291 1.160 ad iop* at pci? dev ? function ? # I/O processor
292 1.160 ad iopsp* at iop? tid ? # SCSI/FC-AL ports
293 1.161 ad ld* at iop? tid ? # Block devices
294 1.173 ad #dpti* at iop? tid 0 # DPT/Adaptec control interface
295 1.56 perry
296 1.56 perry # SCSI Controllers and Devices
297 1.5 cgd
298 1.56 perry # PCI SCSI controllers
299 1.118 christos adv* at pci? dev ? function ? # AdvanSys 1200[A,B], 9xx[U,UA] SCSI
300 1.142 dante adw* at pci? dev ? function ? # AdvanSys 9x0UW[D], 3940U[2,3]W SCSI
301 1.56 perry ahc* at pci? dev ? function ? # Adaptec [23]94x, aic78x0 SCSI
302 1.56 perry bha* at pci? dev ? function ? # BusLogic 9xx SCSI
303 1.126 ad dpt* at pci? dev ? function ? # DPT SmartCache/SmartRAID
304 1.166 tsutsui iha* at pci? dev ? function ? # Initio INIC-940/950 SCSI
305 1.56 perry isp* at pci? dev ? function ? # Qlogic ISP [12]0x0 SCSI/FibreChannel
306 1.170 ad mly* at pci? dev ? function ? # Mylex AcceleRAID and eXtremeRAID
307 1.170 ad pcscp* at pci? dev ? function ? # AMD 53c974 PCscsi-PCI SCSI
308 1.146 fvdl siop* at pci? dev ? function ? # NCR 53c8xx SCSI (new driver)
309 1.174 tsutsui trm* at pci? dev ? function ? # Tekram DC-395U/UW/F, DC-315/U SCSI
310 1.2 tls
311 1.56 perry # EISA SCSI controllers
312 1.56 perry ahb* at eisa? slot ? # Adaptec 174[02] SCSI
313 1.56 perry ahc* at eisa? slot ? # Adaptec 274x, aic7770 SCSI
314 1.56 perry bha* at eisa? slot ? # BusLogic 7xx SCSI
315 1.135 ad dpt* at eisa? slot ? # DPT SmartCache/SmartRAID
316 1.56 perry uha* at eisa? slot ? # UltraStor 24f SCSI
317 1.2 tls
318 1.56 perry # PCMCIA SCSI controllers
319 1.56 perry aic* at pcmcia? function ? # Adaptec APA-1460 SCSI
320 1.81 enami
321 1.81 enami # ISA Plug-and-Play SCSI controllers
322 1.118 christos aha* at isapnp? # Adaptec AHA-154[02
323 1.81 enami aic* at isapnp? # Adaptec AHA-1520B
324 1.54 thorpej
325 1.54 thorpej # ISA SCSI controllers
326 1.118 christos adv0 at isa? port ? irq ? drq ? # AdvanSys APB-514[02]
327 1.54 thorpej aha0 at isa? port 0x330 irq ? drq ? # Adaptec 154[02] SCSI
328 1.54 thorpej aha1 at isa? port 0x334 irq ? drq ?
329 1.54 thorpej ahc0 at isa? port ? irq ? # Adaptec 284x SCSI
330 1.54 thorpej aic0 at isa? port 0x340 irq 11 # Adaptec 152[02] SCSI
331 1.61 mikel bha0 at isa? port 0x330 irq ? drq ? # BusLogic [457]4X SCSI
332 1.54 thorpej bha1 at isa? port 0x334 irq ? drq ?
333 1.136 ad # The "nca" and "dpt" probes might give false hits or hang your machine.
334 1.136 ad #dpt0 at isa? port 0x170 irq ? drq ? # DPT SmartCache/SmartRAID
335 1.150 itohy #nca0 at isa? port 0x360 irq 15 # Port-mapped NCR 53C80 controller
336 1.128 drochner #nca1 at isa? iomem 0xd8000 irq 5 # Memory-mapped controller (T128, etc.)
337 1.54 thorpej sea0 at isa? iomem 0xc8000 irq 5 # Seagate/Future Domain SCSI
338 1.54 thorpej uha0 at isa? port 0x330 irq ? drq ? # UltraStor [13]4f SCSI
339 1.72 drochner uha1 at isa? port 0x340 irq ? drq ?
340 1.54 thorpej wds0 at isa? port 0x350 irq 15 drq 6 # WD7000 and TMC-7000 controllers
341 1.54 thorpej wds1 at isa? port 0x358 irq 11 drq 5
342 1.54 thorpej
343 1.56 perry # SCSI bus support
344 1.95 dante scsibus* at adv?
345 1.97 dante scsibus* at adw?
346 1.56 perry scsibus* at aha?
347 1.56 perry scsibus* at ahb?
348 1.56 perry scsibus* at ahc?
349 1.56 perry scsibus* at aic?
350 1.56 perry scsibus* at bha?
351 1.126 ad scsibus* at dpt?
352 1.166 tsutsui scsibus* at iha?
353 1.160 ad scsibus* at iopsp?
354 1.56 perry scsibus* at isp?
355 1.129 drochner #scsibus* at nca?
356 1.170 ad scsibus* at mly?
357 1.170 ad scsibus* at pcscp?
358 1.174 tsutsui scsibus* at sea?
359 1.146 fvdl scsibus* at siop?
360 1.174 tsutsui scsibus* at trm?
361 1.56 perry scsibus* at uha?
362 1.56 perry scsibus* at wds?
363 1.56 perry
364 1.56 perry # SCSI devices
365 1.56 perry sd* at scsibus? target ? lun ? # SCSI disk drives
366 1.56 perry st* at scsibus? target ? lun ? # SCSI tape drives
367 1.56 perry cd* at scsibus? target ? lun ? # SCSI CD-ROM drives
368 1.56 perry #ch* at scsibus? target ? lun ? # SCSI autochangers
369 1.56 perry #ss* at scsibus? target ? lun ? # SCSI scanners
370 1.56 perry #uk* at scsibus? target ? lun ? # SCSI unknown
371 1.56 perry
372 1.155 ad
373 1.138 ad # RAID controllers and devices
374 1.165 ad cac* at eisa? slot ? # Compaq EISA array controllers
375 1.155 ad cac* at pci? dev ? function ? # Compaq PCI array controllers
376 1.163 ad mlx* at pci? dev ? function ? # Mylex DAC960 & DEC SWXCR family
377 1.165 ad mlx* at eisa? slot ? # Mylex DAC960 & DEC SWXCR family
378 1.158 ad twe* at pci? dev ? function ? # 3ware Escalade RAID controllers
379 1.155 ad
380 1.163 ad ld* at cac? unit ? # logical disk devices
381 1.163 ad ld* at twe? unit ?
382 1.163 ad ld* at mlx? unit ?
383 1.56 perry
384 1.110 abs # IDE and related devices
385 1.114 kleink # PCI IDE controllers - see pciide(4) for supported hardware.
386 1.99 bouyer # The 0x0001 flag force the driver to use DMA, even if the driver doesn't know
387 1.99 bouyer # how to set up DMA modes for this chip. This may work, or may cause
388 1.99 bouyer # a machine hang with some controllers.
389 1.99 bouyer pciide* at pci ? dev ? function ? flags 0x0000
390 1.56 perry
391 1.99 bouyer # ISA Plug-and-Play IDE controllers
392 1.118 christos wdc* at isapnp?
393 1.99 bouyer
394 1.99 bouyer # PCMCIA IDE controllers
395 1.178 lukem wdc* at pcmcia? function ?
396 1.99 bouyer
397 1.99 bouyer # ISA ST506, ESDI, and IDE controllers
398 1.117 bouyer # Use flags 0x01 if you want to try to use 32bits data I/O (the driver will
399 1.150 itohy # fall back to 16bits I/O if 32bits I/O are not functional).
400 1.117 bouyer # Some controllers pass the initial 32bit test, but will fail later.
401 1.117 bouyer wdc0 at isa? port 0x1f0 irq 14 flags 0x00
402 1.117 bouyer wdc1 at isa? port 0x170 irq 15 flags 0x00
403 1.56 perry
404 1.56 perry # IDE drives
405 1.110 abs # Flags are used only with controllers that support DMA operations
406 1.110 abs # and mode settings (e.g. some pciide controllers)
407 1.110 abs # The lowest order four bits (rightmost digit) of the flags define the PIO
408 1.110 abs # mode to use, the next set of four bits the DMA mode and the third set the
409 1.110 abs # UltraDMA mode. For each set of four bits, the 3 lower bits define the mode
410 1.110 abs # to use, and the last bit must be 1 for this setting to be used.
411 1.110 abs # For DMA and UDMA, 0xf (1111) means 'disable'.
412 1.110 abs # 0x0fac means 'use PIO mode 4, DMA mode 2, disable UltraDMA'.
413 1.110 abs # (0xc=1100, 0xa=1010, 0xf=1111)
414 1.110 abs # 0x0000 means "use whatever the drive claims to support".
415 1.118 christos wd* at wdc? channel ? drive ? flags 0x0000
416 1.118 christos wd* at pciide? channel ? drive ? flags 0x0000
417 1.56 perry
418 1.56 perry # ATAPI bus support
419 1.118 christos atapibus* at wdc? channel ?
420 1.99 bouyer atapibus* at pciide? channel ?
421 1.56 perry
422 1.56 perry # ATAPI devices
423 1.118 christos # flags have the same meaning as for IDE drives.
424 1.118 christos cd* at atapibus? drive ? flags 0x0000 # ATAPI CD-ROM drives
425 1.118 christos sd* at atapibus? drive ? flags 0x0000 # ATAPI disk drives
426 1.179 bouyer st* at atapibus? drive ? flags 0x0000 # ATAPI tape drives
427 1.118 christos #uk* at atapibus? drive ? flags 0x0000 # ATAPI unknown
428 1.56 perry
429 1.56 perry
430 1.56 perry # Miscellaneous mass storage devices
431 1.56 perry
432 1.56 perry # ISA floppy
433 1.56 perry fdc0 at isa? port 0x3f0 irq 6 drq 2 # standard PC floppy controllers
434 1.56 perry #fdc1 at isa? port 0x370 irq ? drq ?
435 1.56 perry fd* at fdc? drive ? # the drives themselves
436 1.56 perry # some machines need you to do this instead of fd*
437 1.56 perry #fd0 at fdc0 drive 0
438 1.56 perry
439 1.56 perry # ISA CD-ROM devices
440 1.56 perry #mcd0 at isa? port 0x300 irq 10 # Mitsumi CD-ROM drives
441 1.56 perry
442 1.56 perry # ISA tape devices
443 1.56 perry # note: the wt driver conflicts unpleasantly with ed devices at the
444 1.61 mikel # same I/O address. The probe reprograms their EEPROMs. Don't
445 1.56 perry # uncomment it unless you are actually using it.
446 1.72 drochner #wt0 at isa? port 0x308 irq 5 drq 1 # Archive and Wangtek QIC tape drives
447 1.56 perry
448 1.56 perry
449 1.56 perry # Network Interfaces
450 1.56 perry
451 1.56 perry # PCI network interfaces
452 1.178 lukem an* at pci? dev ? function ? # Aironet PC4500/PC4800 (802.11)
453 1.178 lukem de* at pci? dev ? function ? # DEC 21x4x-based Ethernet
454 1.176 tls #en* at pci? dev ? function ? # ENI/Adaptec ATM
455 1.104 he ep* at pci? dev ? function ? # 3Com 3c59x
456 1.171 hubertf ex* at pci? dev ? function ? # 3Com 90x[BC]
457 1.85 thorpej epic* at pci? dev ? function ? # SMC EPIC/100 Ethernet
458 1.176 tls #esh* at pci? dev ? function ? # Essential HIPPI card
459 1.56 perry fpa* at pci? dev ? function ? # DEC DEFPA FDDI
460 1.56 perry fxp* at pci? dev ? function ? # Intel EtherExpress PRO 10+/100B
461 1.167 thorpej gsip* at pci? dev ? function ? # NS83820 Gigabit Ethernet
462 1.178 lukem #hme* at pci? dev ? function ? # Sun Microelectronics STP2002-STQ
463 1.56 perry le* at pci? dev ? function ? # PCnet-PCI Ethernet
464 1.176 tls #lmc* at pci? dev ? function ? # Lan Media Corp SSI/HSSI/DS3
465 1.56 perry ne* at pci? dev ? function ? # NE2000-compatible Ethernet
466 1.176 tls #ntwoc* at pci? dev ? function ? # Riscom/N2 PCI Sync Serial
467 1.178 lukem pcn* at pci? dev ? function ? # AMD PCnet-PCI Ethernet
468 1.176 tls rtk* at pci? dev ? function ? # Realtek 8129/8139
469 1.167 thorpej sf* at pci? dev ? function ? # Adaptec AIC-6915 Ethernet
470 1.167 thorpej sip* at pci? dev ? function ? # SiS 900/DP83815 Ethernet
471 1.178 lukem ste* at pci? dev ? function ? # Sundance ST-201 Ethernet
472 1.176 tls stge* at pci? dev ? function ? # Sundance/Tamarack TC9021 Gigabit
473 1.176 tls ti* at pci? dev ? function ? # Alteon ACEnic gigabit Ethernet
474 1.60 bouyer tl* at pci? dev ? function ? # ThunderLAN-based Ethernet
475 1.130 thorpej tlp* at pci? dev ? function ? # DECchip 21x4x (and clones) Ethernet
476 1.130 thorpej #options TLP_MATCH_21040
477 1.130 thorpej #options TLP_MATCH_21041
478 1.130 thorpej #options TLP_MATCH_21140
479 1.130 thorpej #options TLP_MATCH_21142
480 1.118 christos vr* at pci? dev ? function ? # VIA Rhine Fast Ethernet
481 1.176 tls wi* at pci? dev ? function ? # Intersil Prism Mini-PCI (802.11b)
482 1.2 tls
483 1.56 perry # EISA network interfaces
484 1.56 perry ep* at eisa? slot ? # 3Com 3c579 Ethernet
485 1.56 perry fea* at eisa? slot ? # DEC DEFEA FDDI
486 1.130 thorpej tlp* at eisa? slot ? # DEC DE-425 Ethernet
487 1.2 tls
488 1.56 perry # ISA Plug-and-Play network interfaces
489 1.176 tls an* at isapnp? # # Aironet 802.11
490 1.56 perry ep* at isapnp? # 3Com 3c509 Ethernet
491 1.56 perry ne* at isapnp? # NE2000-compatible Ethernet
492 1.115 bad tr* at isapnp? # IBM/3COM TROPIC Token-Ring
493 1.20 mycroft
494 1.56 perry # PCMCIA network interfaces
495 1.176 tls an* at pcmcia? function ? # Aironet PC4500/PC4800 (802.11)
496 1.159 fvdl awi* at pcmcia? function ? # BayStack 650 (802.11FH)
497 1.159 fvdl cnw* at pcmcia? function ? # Xircom/Netwave AirSurfer
498 1.56 perry ep* at pcmcia? function ? # 3Com 3c589 and 3c562 Ethernet
499 1.80 enami mbe* at pcmcia? function ? # MB8696x based Ethernet
500 1.56 perry ne* at pcmcia? function ? # NE2000-compatible Ethernet
501 1.178 lukem ray* at pcmcia? function ? # Raytheon Raylink (802.11)
502 1.56 perry sm* at pcmcia? function ? # Megahertz Ethernet
503 1.123 bouyer wi* at pcmcia? function ? # Lucent WaveLan IEEE (802.11)
504 1.145 gmcgarry xi* at pcmcia? function ? # Xircom CreditCard Ethernet
505 1.127 thorpej
506 1.127 thorpej mhzc* at pcmcia? function ? # Megahertz Ethernet/Modem combo cards
507 1.127 thorpej com* at mhzc?
508 1.127 thorpej sm* at mhzc?
509 1.54 thorpej
510 1.54 thorpej # ISA network interfaces
511 1.79 enami ate0 at isa? port 0x2a0 irq ? # AT1700
512 1.89 thorpej cs0 at isa? port 0x300 iomem ? irq ? drq ? # CS8900 Ethernet
513 1.62 thorpej ec0 at isa? port 0x250 iomem 0xd8000 irq 9 # 3Com 3c503 Ethernet
514 1.65 thorpej eg0 at isa? port 0x280 irq 9 # 3C505 ethernet cards
515 1.54 thorpej el0 at isa? port 0x300 irq 9 # 3C501 ethernet cards
516 1.54 thorpej ep0 at isa? port ? irq ? # 3C509 ethernet cards
517 1.77 augustss ef0 at isa? port 0x360 iomem 0xd0000 irq 7 # 3C507
518 1.77 augustss ai0 at isa? port 0x360 iomem 0xd0000 irq 7 # StarLAN
519 1.79 enami fmv0 at isa? port 0x2a0 irq ? # FMV-180 series
520 1.77 augustss ix0 at isa? port 0x300 irq 10 # EtherExpress/16
521 1.68 thorpej iy0 at isa? port 0x360 irq ? # EtherExpress PRO 10 ISA
522 1.67 thorpej lc0 at isa? port 0x320 iomem ? irq ? # DEC EtherWORKS III (LEMAC)
523 1.118 christos depca0 at isa? port 0x300 iomem 0xc8000 iosiz 0x8000 irq 5 # DEPCA
524 1.118 christos le* at depca?
525 1.118 christos nele0 at isa? port 0x320 irq 9 drq 7 # NE2100
526 1.118 christos le* at nele?
527 1.118 christos bicc0 at isa? port 0x320 irq 10 drq 7 # BICC IsoLan
528 1.118 christos le* at bicc?
529 1.54 thorpej ne0 at isa? port 0x280 irq 9 # NE[12]000 ethernet cards
530 1.54 thorpej ne1 at isa? port 0x300 irq 10
531 1.64 thorpej sm0 at isa? port 0x300 irq 10 # SMC91C9x Ethernet
532 1.178 lukem tr0 at isa? port 0xa20 iomem 0xd8000 irq ? # IBM TROPIC based Token-Ring
533 1.178 lukem tr1 at isa? port 0xa24 iomem 0xd0000 irq ? # IBM TROPIC based Token-Ring
534 1.115 bad tr* at isa? port ? irq ? # 3COM TROPIC based Token-Ring
535 1.63 thorpej we0 at isa? port 0x280 iomem 0xd0000 irq 9 # WD/SMC Ethernet
536 1.63 thorpej we1 at isa? port 0x300 iomem 0xcc000 irq 10
537 1.54 thorpej
538 1.94 thorpej # MII/PHY support
539 1.178 lukem acphy* at mii? phy ? # DAltima AC101 and AMD Am79c874 PHYs
540 1.176 tls amhphy* at mii? phy ? # AMD 79c901 Ethernet PHYs
541 1.176 tls bmtphy* at mii? phy ? # Broadcom BCM5201 and BCM5202 PHYs
542 1.176 tls brgphy* at mii? phy ? # Broadcom BCM5400-family PHYs
543 1.178 lukem dmphy* at mii? phy ? # Davicom DM9101 PHYs
544 1.104 he exphy* at mii? phy ? # 3Com internal PHYs
545 1.176 tls glxtphy* at mii? phy ? # Level One LXT-1000 PHYs
546 1.176 tls gphyter* at mii? phy ? # NS83861 Gig-E PHY
547 1.104 he icsphy* at mii? phy ? # Integrated Circuit Systems ICS1890
548 1.104 he inphy* at mii? phy ? # Intel 82555 PHYs
549 1.130 thorpej iophy* at mii? phy ? # Intel 82553 PHYs
550 1.104 he lxtphy* at mii? phy ? # Level One LXT-970 PHYs
551 1.118 christos nsphy* at mii? phy ? # NS83840 PHYs
552 1.132 thorpej nsphyter* at mii? phy ? # NS83843 PHYs
553 1.176 tls pnaphy* at mii? phy ? # generic HomePNA PHYs
554 1.118 christos qsphy* at mii? phy ? # Quality Semiconductor QS6612 PHYs
555 1.104 he sqphy* at mii? phy ? # Seeq 80220/80221/80223 PHYs
556 1.94 thorpej tlphy* at mii? phy ? # ThunderLAN PHYs
557 1.130 thorpej tqphy* at mii? phy ? # TDK Semiconductor PHYs
558 1.104 he ukphy* at mii? phy ? # generic unknown PHYs
559 1.54 thorpej
560 1.118 christos # USB Controller and Devices
561 1.118 christos
562 1.118 christos # PCI USB controllers
563 1.156 fvdl uhci* at pci? # Universal Host Controller (Intel)
564 1.156 fvdl ohci* at pci? # Open Host Controller
565 1.118 christos
566 1.118 christos # USB bus support
567 1.156 fvdl usb* at uhci?
568 1.156 fvdl usb* at ohci?
569 1.118 christos
570 1.118 christos # USB Hubs
571 1.156 fvdl uhub* at usb?
572 1.156 fvdl uhub* at uhub? port ? configuration ? interface ?
573 1.118 christos
574 1.180 augustss # USB HID device
575 1.181 wiz uhidev* at uhub? port ? configuration ? interface ?
576 1.180 augustss
577 1.118 christos # USB Mice
578 1.180 augustss #ums* at uhidev? reportid ?
579 1.118 christos #wsmouse* at ums?
580 1.118 christos
581 1.118 christos # USB Keyboards
582 1.180 augustss ukbd* at uhidev? reportid ?
583 1.156 fvdl wskbd* at ukbd? console ?
584 1.118 christos
585 1.118 christos # USB Generic HID devices
586 1.180 augustss #uhid* at uhidev? reportid ?
587 1.118 christos
588 1.118 christos # USB Printer
589 1.118 christos #ulpt* at uhub? port ? configuration ? interface ?
590 1.124 thorpej
591 1.124 thorpej # USB Mass Storage
592 1.156 fvdl umass* at uhub? port ? configuration ? interface ?
593 1.156 fvdl atapibus* at umass? channel ?
594 1.156 fvdl scsibus* at umass? channel ?
595 1.162 augustss
596 1.162 augustss # Y@P firmware loader
597 1.162 augustss #uyap* at uhub? port ?
598 1.118 christos
599 1.118 christos # USB Generic driver
600 1.118 christos #ugen* at uhub? port ? configuration ? interface ?
601 1.156 fvdl
602 1.156 fvdl # USB Ethernet adapters
603 1.156 fvdl aue* at uhub? port ? # ADMtek AN986 Pegasus based adapters
604 1.156 fvdl cue* at uhub? port ? # CATC USB-EL1201A based adapters
605 1.156 fvdl kue* at uhub? port ? # Kawasaki LSI KL5KUSB101B based adapters
606 1.118 christos
607 1.56 perry # Audio Devices
608 1.54 thorpej
609 1.118 christos # PCI audio devices
610 1.118 christos #eap* at pci? dev ? function ? # Ensoniq AudioPCI
611 1.120 kleink #eso* at pci? dev ? function ? # ESS Solo-1 PCI AudioDrive
612 1.118 christos #sv* at pci? dev ? function ? # S3 SonicVibes
613 1.118 christos
614 1.56 perry # ISA Plug-and-Play audio devices
615 1.54 thorpej #guspnp* at isapnp? # Gravis Ultra Sound PnP audio
616 1.54 thorpej #sb* at isapnp? # SoundBlaster-compatible audio
617 1.54 thorpej
618 1.56 perry # ISA audio devices
619 1.118 christos # the "aria" probe might give false hits
620 1.118 christos #aria0 at isa? port 0x290 irq 10 # Aria
621 1.56 perry #gus0 at isa? port 0x220 irq 7 drq 1 drq2 6 # Gravis Ultra Sound
622 1.56 perry #pas0 at isa? port 0x220 irq 7 drq 1 # ProAudio Spectrum
623 1.178 lukem #pss0 at isa? port 0x220 irq 7 drq 6 # Personal Sound System
624 1.56 perry #sp0 at pss0 port 0x530 irq 10 drq 0 # sound port driver
625 1.56 perry #sb0 at isa? port 0x220 irq 7 drq 1 drq2 5 # SoundBlaster
626 1.56 perry #wss0 at isa? port 0x530 irq 10 drq 0 drq2 1 # Windows Sound System
627 1.54 thorpej
628 1.150 itohy # OPL[23] FM synthesizers
629 1.118 christos #opl0 at isa? port 0x388 # use only if not attached to sound card
630 1.120 kleink #opl* at eso?
631 1.118 christos #opl* at ess?
632 1.118 christos #opl* at sb?
633 1.118 christos #opl* at sv?
634 1.178 lukem
635 1.54 thorpej # Audio support
636 1.118 christos #audio* at aria?
637 1.120 kleink #audio* at eap?
638 1.120 kleink #audio* at eso?
639 1.54 thorpej #audio* at gus?
640 1.54 thorpej #audio* at guspnp?
641 1.54 thorpej #audio* at pas?
642 1.54 thorpej #audio* at sb?
643 1.54 thorpej #audio* at sp?
644 1.120 kleink #audio* at sv?
645 1.54 thorpej #audio* at wss?
646 1.54 thorpej
647 1.118 christos # MIDI support
648 1.118 christos #midi* at pcppi? # MIDI interface to the PC speaker
649 1.118 christos #midi* at sb? # SB MPU401 port
650 1.118 christos #midi* at opl? # OPL FM synth
651 1.118 christos
652 1.56 perry # The spkr driver provides a simple tone interface to the built in speaker.
653 1.82 drochner #spkr0 at pcppi? # PC speaker
654 1.56 perry
655 1.56 perry
656 1.56 perry # Mice
657 1.56 perry
658 1.56 perry # ISA busmice
659 1.118 christos #lms0 at isa? port 0x23c irq 5 # Logitech bus mouse
660 1.118 christos #lms1 at isa? port 0x238 irq 5
661 1.118 christos #mms0 at isa? port 0x23c irq 5 # Microsoft InPort mouse
662 1.118 christos #mms1 at isa? port 0x238 irq 5
663 1.118 christos #wsmouse* at lms?
664 1.118 christos #wsmouse* at mms?
665 1.118 christos # backwards compatible versions
666 1.106 drochner #olms0 at isa? port 0x23c irq 5 # Logitech bus mouse
667 1.106 drochner #olms1 at isa? port 0x238 irq 5
668 1.106 drochner #omms0 at isa? port 0x23c irq 5 # Microsoft InPort mouse
669 1.106 drochner #omms1 at isa? port 0x238 irq 5
670 1.106 drochner #opms0 at pc? irq 12 # PS/2 auxiliary port mouse
671 1.56 perry
672 1.56 perry # Joysticks
673 1.56 perry
674 1.56 perry # ISA Plug-and-Play joysticks
675 1.56 perry #joy* at isapnp? # Game ports (usually on audio cards)
676 1.2 tls
677 1.56 perry # ISA joysticks. Probe is a little strange; add only if you have one.
678 1.56 perry #joy0 at isa? port 0x201
679 1.2 tls
680 1.20 mycroft
681 1.56 perry # Miscellaneous Devices
682 1.20 mycroft
683 1.56 perry # Planetconnect Satellite receiver driver.
684 1.56 perry #satlink0 at isa? port 0x300 drq 1
685 1.43 mikel
686 1.21 mycroft
687 1.54 thorpej # Pull in optional local configuration
688 1.22 mycroft include "arch/i386/conf/GENERIC.local"
689 1.37 perry
690 1.56 perry
691 1.56 perry # Pseudo-Devices
692 1.56 perry
693 1.56 perry # disk/mass storage pseudo-devices
694 1.56 perry #pseudo-device ccd 4 # concatenated/striped disk devices
695 1.118 christos #pseudo-device raid 4 # RAIDframe disk driver
696 1.56 perry pseudo-device md 1 # memory disk device (ramdisk)
697 1.56 perry #pseudo-device vnd 4 # disk-like interface to files
698 1.56 perry
699 1.56 perry # network pseudo-devices
700 1.148 cyber pseudo-device bpfilter 8 # Berkeley packet filter
701 1.54 thorpej #pseudo-device ipfilter # IP filter (firewall) and NAT
702 1.54 thorpej pseudo-device loop # network loopback
703 1.54 thorpej pseudo-device ppp 2 # Point-to-Point Protocol
704 1.56 perry pseudo-device sl 2 # Serial Line IP
705 1.56 perry #pseudo-device strip 2 # Starmode Radio IP (Metricom)
706 1.56 perry #pseudo-device tun 2 # network tunneling over tty
707 1.118 christos #pseudo-device gre 2 # generic L3 over IP tunnel
708 1.118 christos #pseudo-device ipip 2 # IP Encapsulation within IP (RFC 2003)
709 1.56 perry
710 1.56 perry # miscellaneous pseudo-devices
711 1.157 abs pseudo-device pty 2 # pseudo-terminals (Sysinst needs two)
712 1.57 explorer #pseudo-device tb 1 # tablet line discipline
713 1.118 christos #pseudo-device sequencer 1 # MIDI sequencer
714 1.118 christos # rnd works; RND_COM does not on port i386 yet.
715 1.54 thorpej #pseudo-device rnd # /dev/random and in-kernel generator
716 1.58 explorer #options RND_COM # use "com" randomness as well (BROKEN)
717 1.118 christos
718 1.118 christos # a pseudo device needed for Coda # also needs CODA (above)
719 1.118 christos #pseudo-device vcoda 4 # coda minicache <-> venus comm.
720