INSTALL revision 1.191 1 1.191 mycroft # $NetBSD: INSTALL,v 1.191 2002/04/15 15:00:18 mycroft 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.188 lukem options MEMORY_DISK_ROOT_SIZE=4096 # size of memory disk, in blocks
21 1.188 lukem #options MEMORY_DISK_ROOT_SIZE=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.189 gmcgarry #options USERCONF # userconf(4) support
74 1.182 jdolecek options PIPE_SOCKETPAIR # smaller, but slower pipe(2)
75 1.89 thorpej
76 1.54 thorpej # Diagnostic/debugging support options
77 1.164 fvdl #options DIAGNOSTIC # expensive kernel consistency checks
78 1.54 thorpej #options DEBUG # expensive debugging checks/support
79 1.54 thorpej #options KMEMSTATS # kernel memory statistics (vmstat -m)
80 1.108 he options DDB # in-kernel debugger
81 1.144 hubertf #options DDB_ONPANIC=1 # see also sysctl(8): `ddb.onpanic'
82 1.149 mycroft options DDB_HISTORY_SIZE=512 # enable history editing in DDB
83 1.54 thorpej #options KGDB # remote debugger
84 1.177 lukem #options KGDB_DEVNAME="\"com\"",KGDB_DEVADDR=0x3f8,KGDB_DEVRATE=9600
85 1.178 lukem #makeoptions DEBUG="-g" # compile full symbol table
86 1.54 thorpej
87 1.61 mikel # Compatibility options
88 1.39 mellon #options COMPAT_NOMID # compatibility with 386BSD, BSDI, NetBSD 0.8,
89 1.39 mellon #options COMPAT_09 # NetBSD 0.9,
90 1.101 rvb options COMPAT_10 # NetBSD 1.0,
91 1.101 rvb options COMPAT_11 # NetBSD 1.1,
92 1.101 rvb options COMPAT_12 # NetBSD 1.2,
93 1.101 rvb options COMPAT_13 # NetBSD 1.3,
94 1.121 augustss options COMPAT_14 # NetBSD 1.4,
95 1.39 mellon #options COMPAT_43 # and 4.3BSD
96 1.84 veego options COMPAT_386BSD_MBRPART # recognize old partition ID
97 1.169 abs #options TCP_COMPAT_42 # 4.2BSD TCP/IP bug compat. Not recommended.
98 1.39 mellon
99 1.39 mellon #options COMPAT_SVR4 # binary compatibility with SVR4
100 1.39 mellon #options COMPAT_IBCS2 # binary compatibility with SCO and ISC
101 1.39 mellon #options COMPAT_LINUX # binary compatibility with Linux
102 1.39 mellon #options COMPAT_FREEBSD # binary compatibility with FreeBSD
103 1.2 tls
104 1.54 thorpej # File systems
105 1.32 thorpej file-system FFS # UFS
106 1.101 rvb file-system EXT2FS # second extended file system (linux)
107 1.43 mikel #file-system LFS # log-structured file system
108 1.32 thorpej file-system MFS # memory file system
109 1.32 thorpej file-system NFS # Network File System client
110 1.116 christos file-system NTFS # Windows/NT Filesystem
111 1.101 rvb file-system CD9660 # ISO 9660 + Rock Ridge file system
112 1.101 rvb file-system MSDOSFS # MS-DOS file system
113 1.59 perry #file-system FDESC # /dev/fd
114 1.32 thorpej file-system KERNFS # /kern
115 1.43 mikel #file-system NULLFS # loopback file system
116 1.43 mikel #file-system PORTAL # portal filesystem (still experimental)
117 1.43 mikel #file-system PROCFS # /proc
118 1.43 mikel #file-system UMAPFS # NULLFS + uid and gid remapping
119 1.43 mikel #file-system UNION # union file system
120 1.2 tls
121 1.154 abs # Filesystem options
122 1.39 mellon #options QUOTA # UFS quotas
123 1.39 mellon #options NFSSERVER # Network File System server
124 1.154 abs #options NFS_V2_ONLY # Exclude NFS3 and NQNFS code to save space
125 1.154 abs options VNODE_OP_NOINLINE # Save space by not inlining vnode op calls
126 1.37 perry #options EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and
127 1.37 perry # immutable) behave as system flags.
128 1.61 mikel
129 1.54 thorpej # Networking options
130 1.39 mellon #options GATEWAY # packet forwarding
131 1.39 mellon options INET # IP + ICMP + TCP + UDP
132 1.134 itojun options INET6 # IPv6
133 1.39 mellon #options MROUTING # IP multicast routing
134 1.39 mellon #options NS # XNS
135 1.39 mellon #options NSIP # XNS tunneling over IP
136 1.39 mellon #options ISO,TPIP # OSI
137 1.39 mellon #options EON # OSI tunneling over IP
138 1.39 mellon #options CCITT,LLC,HDLC # X.25
139 1.54 thorpej #options NETATALK # AppleTalk networking protocols
140 1.54 thorpej #options PPP_BSDCOMP # BSD-Compress compression support for PPP
141 1.54 thorpej #options PPP_DEFLATE # Deflate compression support for PPP
142 1.54 thorpej #options PPP_FILTER # Active filter support for PPP (requires bpf)
143 1.43 mikel #options PFIL_HOOKS # pfil(9) packet filter hooks
144 1.169 abs #options TCP_DEBUG # Record last TCP_NDEBUG packets with SO_DEBUG
145 1.2 tls
146 1.56 perry # These options enable verbose messages for several subsystems.
147 1.56 perry # Warning, these may compile large string tables into the kernel!
148 1.56 perry #options EISAVERBOSE # verbose EISA device autoconfig messages
149 1.143 augustss #options MIIVERBOSE # verbose PHY autoconfig messages
150 1.56 perry #options PCIVERBOSE # verbose PCI device autoconfig messages
151 1.139 cgd #options PCI_CONFIG_DUMP # verbosely dump PCI config space
152 1.54 thorpej #options PCMCIAVERBOSE # verbose PCMCIA configuration messages
153 1.56 perry #options SCSIVERBOSE # human readable SCSI error messages
154 1.175 enami #options I2OVERBOSE # verbose I2O driver messages
155 1.54 thorpej
156 1.54 thorpej # Kernel root file system and dump configuration.
157 1.54 thorpej config netbsd root on ? type ?
158 1.54 thorpej #config netbsd root on sd0a type ffs
159 1.54 thorpej #config netbsd root on ? type nfs
160 1.54 thorpej
161 1.54 thorpej #
162 1.54 thorpej # Device configuration
163 1.54 thorpej #
164 1.43 mikel
165 1.6 cgd mainbus0 at root
166 1.6 cgd
167 1.54 thorpej #apm0 at mainbus0 # Advanced power management
168 1.2 tls
169 1.56 perry
170 1.56 perry # Basic Bus Support
171 1.56 perry
172 1.54 thorpej # PCI bus support
173 1.54 thorpej pci* at mainbus? bus ?
174 1.54 thorpej pci* at pchb? bus ?
175 1.5 cgd pci* at ppb? bus ?
176 1.54 thorpej
177 1.56 perry # PCI bridges
178 1.27 thorpej pchb* at pci? dev ? function ? # PCI-Host bridges
179 1.75 thorpej pceb* at pci? dev ? function ? # PCI-EISA bridges
180 1.27 thorpej pcib* at pci? dev ? function ? # PCI-ISA bridges
181 1.54 thorpej ppb* at pci? dev ? function ? # PCI-PCI bridges
182 1.88 cgd # XXX 'puc's aren't really bridges, but there's no better place for them here
183 1.88 cgd puc* at pci? dev ? function ? # PCI "universal" comm. cards
184 1.27 thorpej
185 1.54 thorpej # EISA bus support
186 1.172 nathanw eisa0 at mainbus?
187 1.172 nathanw eisa0 at pceb?
188 1.27 thorpej
189 1.54 thorpej # ISA bus support
190 1.172 nathanw isa0 at mainbus?
191 1.172 nathanw isa0 at pceb?
192 1.172 nathanw isa0 at pcib?
193 1.54 thorpej
194 1.56 perry # PCMCIA bus support
195 1.56 perry pcmcia* at pcic? controller ? socket ?
196 1.118 christos pcmcia* at tcic? controller ? socket ?
197 1.56 perry
198 1.56 perry # ISA PCMCIA controllers
199 1.159 fvdl pcic0 at isa? port 0x3e0 iomem 0xd0000 iosiz 0x10000
200 1.159 fvdl pcic1 at isa? port 0x3e2 iomem 0xe0000 iosiz 0x4000
201 1.183 jmcneill pcic2 at isa? port 0x3e4 iomem 0xe0000 iosiz 0x4000
202 1.159 fvdl tcic0 at isa? port 0x240 iomem 0xd0000 iosiz 0x10000
203 1.118 christos
204 1.118 christos # PCI PCMCIA controllers
205 1.118 christos pcic0 at pci? dev? function ?
206 1.56 perry
207 1.56 perry # ISA Plug-and-Play bus support
208 1.56 perry isapnp0 at isa?
209 1.56 perry
210 1.118 christos # ISA Plug-and-Play PCMCIA controllers
211 1.118 christos pcic* at isapnp?
212 1.56 perry
213 1.56 perry # Coprocessor Support
214 1.56 perry
215 1.56 perry # Math Coprocessor support
216 1.56 perry npx0 at isa? port 0xf0 irq 13 # x86 math coprocessor
217 1.56 perry
218 1.56 perry
219 1.56 perry # Console Devices
220 1.56 perry
221 1.147 mycroft # ISA console
222 1.56 perry pc0 at isa? port 0x60 irq 1 # pccons generic PC console driver
223 1.90 bouyer
224 1.90 bouyer # Keyboard layout configuration for pccons
225 1.92 bouyer #options FRENCH_KBD
226 1.91 bouyer #options FINNISH_KBD
227 1.92 bouyer #options GERMAN_KBD
228 1.93 perry #options NORWEGIAN_KBD
229 1.56 perry
230 1.118 christos # wscons
231 1.118 christos #pckbc0 at isa? # pc keyboard controller
232 1.118 christos #pckbd* at pckbc? # PC keyboard
233 1.190 mycroft # "opms" should not be enabled together with "pms"
234 1.118 christos #pms* at pckbc? # PS/2 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
244 1.82 drochner #pcppi0 at isa?
245 1.82 drochner #sysbeep0 at pcppi?
246 1.56 perry
247 1.56 perry # Serial Devices
248 1.56 perry
249 1.56 perry # PCI serial interfaces
250 1.133 soren com* at puc? port ? # 16x50s on "universal" comm boards
251 1.56 perry #cy* at pci? dev ? function ? # Cyclades Cyclom-Y serial boards
252 1.54 thorpej
253 1.56 perry # ISA Plug-and-Play serial interfaces
254 1.56 perry com* at isapnp? # Modems and serial boards
255 1.56 perry
256 1.56 perry # PCMCIA serial interfaces
257 1.56 perry com* at pcmcia? function ? # Modems and serial cards
258 1.98 thorpej
259 1.98 thorpej pcmcom* at pcmcia? function ? # PCMCIA multi-port serial cards
260 1.98 thorpej com* at pcmcom? slave ? # ...and the slave devices
261 1.56 perry
262 1.56 perry # ISA serial interfaces
263 1.56 perry #options COM_HAYESP # adds Hayes ESP serial board support
264 1.56 perry com0 at isa? port 0x3f8 irq 4 # Standard PC serial ports
265 1.56 perry com1 at isa? port 0x2f8 irq 3
266 1.56 perry com2 at isa? port 0x3e8 irq 5
267 1.56 perry #com3 at isa? port 0x2e8 irq 9
268 1.56 perry #ast0 at isa? port 0x1a0 irq 5 # AST 4-port serial cards
269 1.56 perry #com* at ast? slave ?
270 1.56 perry #boca0 at isa? port 0x100 irq 5 # BOCA 8-port serial cards
271 1.56 perry #com* at boca? slave ?
272 1.118 christos #tcom0 at isa? port 0x100 irq 7 # TC-800 8-port serial cards
273 1.118 christos #com* at tcom? slave ?
274 1.56 perry #rtfps0 at isa? port 0x1230 irq 10 # RT 4-port serial cards
275 1.56 perry #com* at rtfps? slave ?
276 1.56 perry #cy0 at isa? iomem 0xd4000 irq 12 # Cyclades serial cards
277 1.56 perry
278 1.56 perry
279 1.56 perry # Parallel Printer Interfaces
280 1.88 cgd
281 1.88 cgd # PCI parallel printer interfaces
282 1.88 cgd #lpt* at puc? port ? # || ports on "universal" comm boards
283 1.56 perry
284 1.56 perry # ISA parallel printer interfaces
285 1.56 perry #lpt0 at isa? port 0x378 irq 7 # standard PC parallel ports
286 1.56 perry #lpt1 at isa? port 0x278
287 1.56 perry #lpt2 at isa? port 0x3bc
288 1.56 perry
289 1.160 ad # I2O devices
290 1.160 ad iop* at pci? dev ? function ? # I/O processor
291 1.160 ad iopsp* at iop? tid ? # SCSI/FC-AL ports
292 1.161 ad ld* at iop? tid ? # Block devices
293 1.173 ad #dpti* at iop? tid 0 # DPT/Adaptec control interface
294 1.56 perry
295 1.56 perry # SCSI Controllers and Devices
296 1.5 cgd
297 1.56 perry # PCI SCSI controllers
298 1.118 christos adv* at pci? dev ? function ? # AdvanSys 1200[A,B], 9xx[U,UA] SCSI
299 1.142 dante adw* at pci? dev ? function ? # AdvanSys 9x0UW[D], 3940U[2,3]W SCSI
300 1.56 perry ahc* at pci? dev ? function ? # Adaptec [23]94x, aic78x0 SCSI
301 1.56 perry bha* at pci? dev ? function ? # BusLogic 9xx SCSI
302 1.126 ad dpt* at pci? dev ? function ? # DPT SmartCache/SmartRAID
303 1.166 tsutsui iha* at pci? dev ? function ? # Initio INIC-940/950 SCSI
304 1.56 perry isp* at pci? dev ? function ? # Qlogic ISP [12]0x0 SCSI/FibreChannel
305 1.170 ad mly* at pci? dev ? function ? # Mylex AcceleRAID and eXtremeRAID
306 1.170 ad pcscp* at pci? dev ? function ? # AMD 53c974 PCscsi-PCI SCSI
307 1.146 fvdl siop* at pci? dev ? function ? # NCR 53c8xx SCSI (new driver)
308 1.174 tsutsui trm* at pci? dev ? function ? # Tekram DC-395U/UW/F, DC-315/U SCSI
309 1.2 tls
310 1.56 perry # EISA SCSI controllers
311 1.56 perry ahb* at eisa? slot ? # Adaptec 174[02] SCSI
312 1.56 perry ahc* at eisa? slot ? # Adaptec 274x, aic7770 SCSI
313 1.56 perry bha* at eisa? slot ? # BusLogic 7xx SCSI
314 1.135 ad dpt* at eisa? slot ? # DPT SmartCache/SmartRAID
315 1.56 perry uha* at eisa? slot ? # UltraStor 24f SCSI
316 1.2 tls
317 1.56 perry # PCMCIA SCSI controllers
318 1.56 perry aic* at pcmcia? function ? # Adaptec APA-1460 SCSI
319 1.81 enami
320 1.81 enami # ISA Plug-and-Play SCSI controllers
321 1.118 christos aha* at isapnp? # Adaptec AHA-154[02
322 1.81 enami aic* at isapnp? # Adaptec AHA-1520B
323 1.54 thorpej
324 1.54 thorpej # ISA SCSI controllers
325 1.118 christos adv0 at isa? port ? irq ? drq ? # AdvanSys APB-514[02]
326 1.54 thorpej aha0 at isa? port 0x330 irq ? drq ? # Adaptec 154[02] SCSI
327 1.54 thorpej aha1 at isa? port 0x334 irq ? drq ?
328 1.54 thorpej ahc0 at isa? port ? irq ? # Adaptec 284x SCSI
329 1.54 thorpej aic0 at isa? port 0x340 irq 11 # Adaptec 152[02] SCSI
330 1.61 mikel bha0 at isa? port 0x330 irq ? drq ? # BusLogic [457]4X SCSI
331 1.54 thorpej bha1 at isa? port 0x334 irq ? drq ?
332 1.136 ad # The "nca" and "dpt" probes might give false hits or hang your machine.
333 1.136 ad #dpt0 at isa? port 0x170 irq ? drq ? # DPT SmartCache/SmartRAID
334 1.150 itohy #nca0 at isa? port 0x360 irq 15 # Port-mapped NCR 53C80 controller
335 1.128 drochner #nca1 at isa? iomem 0xd8000 irq 5 # Memory-mapped controller (T128, etc.)
336 1.54 thorpej sea0 at isa? iomem 0xc8000 irq 5 # Seagate/Future Domain SCSI
337 1.54 thorpej uha0 at isa? port 0x330 irq ? drq ? # UltraStor [13]4f SCSI
338 1.72 drochner uha1 at isa? port 0x340 irq ? drq ?
339 1.54 thorpej wds0 at isa? port 0x350 irq 15 drq 6 # WD7000 and TMC-7000 controllers
340 1.54 thorpej wds1 at isa? port 0x358 irq 11 drq 5
341 1.54 thorpej
342 1.56 perry # SCSI bus support
343 1.95 dante scsibus* at adv?
344 1.97 dante scsibus* at adw?
345 1.56 perry scsibus* at aha?
346 1.56 perry scsibus* at ahb?
347 1.56 perry scsibus* at ahc?
348 1.56 perry scsibus* at aic?
349 1.56 perry scsibus* at bha?
350 1.126 ad scsibus* at dpt?
351 1.166 tsutsui scsibus* at iha?
352 1.160 ad scsibus* at iopsp?
353 1.56 perry scsibus* at isp?
354 1.129 drochner #scsibus* at nca?
355 1.170 ad scsibus* at mly?
356 1.170 ad scsibus* at pcscp?
357 1.174 tsutsui scsibus* at sea?
358 1.146 fvdl scsibus* at siop?
359 1.174 tsutsui scsibus* at trm?
360 1.56 perry scsibus* at uha?
361 1.56 perry scsibus* at wds?
362 1.56 perry
363 1.56 perry # SCSI devices
364 1.56 perry sd* at scsibus? target ? lun ? # SCSI disk drives
365 1.56 perry st* at scsibus? target ? lun ? # SCSI tape drives
366 1.56 perry cd* at scsibus? target ? lun ? # SCSI CD-ROM drives
367 1.56 perry #ch* at scsibus? target ? lun ? # SCSI autochangers
368 1.56 perry #ss* at scsibus? target ? lun ? # SCSI scanners
369 1.56 perry #uk* at scsibus? target ? lun ? # SCSI unknown
370 1.56 perry
371 1.155 ad
372 1.138 ad # RAID controllers and devices
373 1.165 ad cac* at eisa? slot ? # Compaq EISA array controllers
374 1.155 ad cac* at pci? dev ? function ? # Compaq PCI array controllers
375 1.163 ad mlx* at pci? dev ? function ? # Mylex DAC960 & DEC SWXCR family
376 1.165 ad mlx* at eisa? slot ? # Mylex DAC960 & DEC SWXCR family
377 1.158 ad twe* at pci? dev ? function ? # 3ware Escalade RAID controllers
378 1.155 ad
379 1.163 ad ld* at cac? unit ? # logical disk devices
380 1.163 ad ld* at twe? unit ?
381 1.163 ad ld* at mlx? unit ?
382 1.56 perry
383 1.110 abs # IDE and related devices
384 1.114 kleink # PCI IDE controllers - see pciide(4) for supported hardware.
385 1.99 bouyer # The 0x0001 flag force the driver to use DMA, even if the driver doesn't know
386 1.99 bouyer # how to set up DMA modes for this chip. This may work, or may cause
387 1.99 bouyer # a machine hang with some controllers.
388 1.99 bouyer pciide* at pci ? dev ? function ? flags 0x0000
389 1.56 perry
390 1.99 bouyer # ISA Plug-and-Play IDE controllers
391 1.118 christos wdc* at isapnp?
392 1.99 bouyer
393 1.99 bouyer # PCMCIA IDE controllers
394 1.178 lukem wdc* at pcmcia? function ?
395 1.99 bouyer
396 1.99 bouyer # ISA ST506, ESDI, and IDE controllers
397 1.117 bouyer # Use flags 0x01 if you want to try to use 32bits data I/O (the driver will
398 1.150 itohy # fall back to 16bits I/O if 32bits I/O are not functional).
399 1.117 bouyer # Some controllers pass the initial 32bit test, but will fail later.
400 1.117 bouyer wdc0 at isa? port 0x1f0 irq 14 flags 0x00
401 1.117 bouyer wdc1 at isa? port 0x170 irq 15 flags 0x00
402 1.56 perry
403 1.56 perry # IDE drives
404 1.110 abs # Flags are used only with controllers that support DMA operations
405 1.110 abs # and mode settings (e.g. some pciide controllers)
406 1.110 abs # The lowest order four bits (rightmost digit) of the flags define the PIO
407 1.110 abs # mode to use, the next set of four bits the DMA mode and the third set the
408 1.110 abs # UltraDMA mode. For each set of four bits, the 3 lower bits define the mode
409 1.110 abs # to use, and the last bit must be 1 for this setting to be used.
410 1.110 abs # For DMA and UDMA, 0xf (1111) means 'disable'.
411 1.110 abs # 0x0fac means 'use PIO mode 4, DMA mode 2, disable UltraDMA'.
412 1.110 abs # (0xc=1100, 0xa=1010, 0xf=1111)
413 1.110 abs # 0x0000 means "use whatever the drive claims to support".
414 1.118 christos wd* at wdc? channel ? drive ? flags 0x0000
415 1.118 christos wd* at pciide? channel ? drive ? flags 0x0000
416 1.56 perry
417 1.56 perry # ATAPI bus support
418 1.118 christos atapibus* at wdc? channel ?
419 1.99 bouyer atapibus* at pciide? channel ?
420 1.56 perry
421 1.56 perry # ATAPI devices
422 1.118 christos # flags have the same meaning as for IDE drives.
423 1.118 christos cd* at atapibus? drive ? flags 0x0000 # ATAPI CD-ROM drives
424 1.118 christos sd* at atapibus? drive ? flags 0x0000 # ATAPI disk drives
425 1.179 bouyer st* at atapibus? drive ? flags 0x0000 # ATAPI tape drives
426 1.118 christos #uk* at atapibus? drive ? flags 0x0000 # ATAPI unknown
427 1.56 perry
428 1.56 perry
429 1.56 perry # Miscellaneous mass storage devices
430 1.56 perry
431 1.56 perry # ISA floppy
432 1.56 perry fdc0 at isa? port 0x3f0 irq 6 drq 2 # standard PC floppy controllers
433 1.56 perry #fdc1 at isa? port 0x370 irq ? drq ?
434 1.56 perry fd* at fdc? drive ? # the drives themselves
435 1.56 perry # some machines need you to do this instead of fd*
436 1.56 perry #fd0 at fdc0 drive 0
437 1.56 perry
438 1.56 perry # ISA CD-ROM devices
439 1.56 perry #mcd0 at isa? port 0x300 irq 10 # Mitsumi CD-ROM drives
440 1.56 perry
441 1.56 perry # ISA tape devices
442 1.56 perry # note: the wt driver conflicts unpleasantly with ed devices at the
443 1.61 mikel # same I/O address. The probe reprograms their EEPROMs. Don't
444 1.56 perry # uncomment it unless you are actually using it.
445 1.72 drochner #wt0 at isa? port 0x308 irq 5 drq 1 # Archive and Wangtek QIC tape drives
446 1.56 perry
447 1.56 perry
448 1.56 perry # Network Interfaces
449 1.56 perry
450 1.56 perry # PCI network interfaces
451 1.178 lukem an* at pci? dev ? function ? # Aironet PC4500/PC4800 (802.11)
452 1.178 lukem de* at pci? dev ? function ? # DEC 21x4x-based Ethernet
453 1.176 tls #en* at pci? dev ? function ? # ENI/Adaptec ATM
454 1.104 he ep* at pci? dev ? function ? # 3Com 3c59x
455 1.171 hubertf ex* at pci? dev ? function ? # 3Com 90x[BC]
456 1.85 thorpej epic* at pci? dev ? function ? # SMC EPIC/100 Ethernet
457 1.176 tls #esh* at pci? dev ? function ? # Essential HIPPI card
458 1.56 perry fpa* at pci? dev ? function ? # DEC DEFPA FDDI
459 1.56 perry fxp* at pci? dev ? function ? # Intel EtherExpress PRO 10+/100B
460 1.167 thorpej gsip* at pci? dev ? function ? # NS83820 Gigabit Ethernet
461 1.178 lukem #hme* at pci? dev ? function ? # Sun Microelectronics STP2002-STQ
462 1.56 perry le* at pci? dev ? function ? # PCnet-PCI Ethernet
463 1.176 tls #lmc* at pci? dev ? function ? # Lan Media Corp SSI/HSSI/DS3
464 1.56 perry ne* at pci? dev ? function ? # NE2000-compatible Ethernet
465 1.176 tls #ntwoc* at pci? dev ? function ? # Riscom/N2 PCI Sync Serial
466 1.178 lukem pcn* at pci? dev ? function ? # AMD PCnet-PCI Ethernet
467 1.176 tls rtk* at pci? dev ? function ? # Realtek 8129/8139
468 1.167 thorpej sf* at pci? dev ? function ? # Adaptec AIC-6915 Ethernet
469 1.167 thorpej sip* at pci? dev ? function ? # SiS 900/DP83815 Ethernet
470 1.178 lukem ste* at pci? dev ? function ? # Sundance ST-201 Ethernet
471 1.176 tls stge* at pci? dev ? function ? # Sundance/Tamarack TC9021 Gigabit
472 1.176 tls ti* at pci? dev ? function ? # Alteon ACEnic gigabit Ethernet
473 1.60 bouyer tl* at pci? dev ? function ? # ThunderLAN-based Ethernet
474 1.130 thorpej tlp* at pci? dev ? function ? # DECchip 21x4x (and clones) Ethernet
475 1.130 thorpej #options TLP_MATCH_21040
476 1.130 thorpej #options TLP_MATCH_21041
477 1.130 thorpej #options TLP_MATCH_21140
478 1.130 thorpej #options TLP_MATCH_21142
479 1.118 christos vr* at pci? dev ? function ? # VIA Rhine Fast Ethernet
480 1.176 tls wi* at pci? dev ? function ? # Intersil Prism Mini-PCI (802.11b)
481 1.191 mycroft wm* at pci? dev ? function ? # Intel 82543/82544 gigabit
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.184 wiz icsphy* at mii? phy ? # Integrated Circuit Systems ICS189x
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.187 ichiro urlphy* at mii? phy ? # Realtek RTL8150L internal PHYs
559 1.104 he ukphy* at mii? phy ? # generic unknown PHYs
560 1.54 thorpej
561 1.118 christos # USB Controller and Devices
562 1.118 christos
563 1.118 christos # PCI USB controllers
564 1.156 fvdl uhci* at pci? # Universal Host Controller (Intel)
565 1.156 fvdl ohci* at pci? # Open Host Controller
566 1.118 christos
567 1.118 christos # USB bus support
568 1.156 fvdl usb* at uhci?
569 1.156 fvdl usb* at ohci?
570 1.118 christos
571 1.118 christos # USB Hubs
572 1.156 fvdl uhub* at usb?
573 1.156 fvdl uhub* at uhub? port ? configuration ? interface ?
574 1.118 christos
575 1.180 augustss # USB HID device
576 1.181 wiz uhidev* at uhub? port ? configuration ? interface ?
577 1.180 augustss
578 1.118 christos # USB Mice
579 1.180 augustss #ums* at uhidev? reportid ?
580 1.118 christos #wsmouse* at ums?
581 1.118 christos
582 1.118 christos # USB Keyboards
583 1.180 augustss ukbd* at uhidev? reportid ?
584 1.156 fvdl wskbd* at ukbd? console ?
585 1.118 christos
586 1.118 christos # USB Generic HID devices
587 1.180 augustss #uhid* at uhidev? reportid ?
588 1.118 christos
589 1.118 christos # USB Printer
590 1.118 christos #ulpt* at uhub? port ? configuration ? interface ?
591 1.124 thorpej
592 1.124 thorpej # USB Mass Storage
593 1.156 fvdl umass* at uhub? port ? configuration ? interface ?
594 1.156 fvdl atapibus* at umass? channel ?
595 1.156 fvdl scsibus* at umass? channel ?
596 1.162 augustss
597 1.162 augustss # Y@P firmware loader
598 1.162 augustss #uyap* at uhub? port ?
599 1.118 christos
600 1.118 christos # USB Generic driver
601 1.118 christos #ugen* at uhub? port ? configuration ? interface ?
602 1.156 fvdl
603 1.156 fvdl # USB Ethernet adapters
604 1.156 fvdl aue* at uhub? port ? # ADMtek AN986 Pegasus based adapters
605 1.156 fvdl cue* at uhub? port ? # CATC USB-EL1201A based adapters
606 1.156 fvdl kue* at uhub? port ? # Kawasaki LSI KL5KUSB101B based adapters
607 1.187 ichiro url* at uhub? port ? # Realtek RTL8150L based adapters
608 1.118 christos
609 1.56 perry # Audio Devices
610 1.54 thorpej
611 1.118 christos # PCI audio devices
612 1.118 christos #eap* at pci? dev ? function ? # Ensoniq AudioPCI
613 1.120 kleink #eso* at pci? dev ? function ? # ESS Solo-1 PCI AudioDrive
614 1.118 christos #sv* at pci? dev ? function ? # S3 SonicVibes
615 1.118 christos
616 1.56 perry # ISA Plug-and-Play audio devices
617 1.54 thorpej #guspnp* at isapnp? # Gravis Ultra Sound PnP audio
618 1.54 thorpej #sb* at isapnp? # SoundBlaster-compatible audio
619 1.54 thorpej
620 1.56 perry # ISA audio devices
621 1.118 christos # the "aria" probe might give false hits
622 1.118 christos #aria0 at isa? port 0x290 irq 10 # Aria
623 1.56 perry #gus0 at isa? port 0x220 irq 7 drq 1 drq2 6 # Gravis Ultra Sound
624 1.56 perry #pas0 at isa? port 0x220 irq 7 drq 1 # ProAudio Spectrum
625 1.178 lukem #pss0 at isa? port 0x220 irq 7 drq 6 # Personal Sound System
626 1.56 perry #sp0 at pss0 port 0x530 irq 10 drq 0 # sound port driver
627 1.56 perry #sb0 at isa? port 0x220 irq 7 drq 1 drq2 5 # SoundBlaster
628 1.56 perry #wss0 at isa? port 0x530 irq 10 drq 0 drq2 1 # Windows Sound System
629 1.54 thorpej
630 1.150 itohy # OPL[23] FM synthesizers
631 1.118 christos #opl0 at isa? port 0x388 # use only if not attached to sound card
632 1.120 kleink #opl* at eso?
633 1.118 christos #opl* at ess?
634 1.118 christos #opl* at sb?
635 1.118 christos #opl* at sv?
636 1.178 lukem
637 1.54 thorpej # Audio support
638 1.118 christos #audio* at aria?
639 1.120 kleink #audio* at eap?
640 1.120 kleink #audio* at eso?
641 1.54 thorpej #audio* at gus?
642 1.54 thorpej #audio* at guspnp?
643 1.54 thorpej #audio* at pas?
644 1.54 thorpej #audio* at sb?
645 1.54 thorpej #audio* at sp?
646 1.120 kleink #audio* at sv?
647 1.54 thorpej #audio* at wss?
648 1.54 thorpej
649 1.118 christos # MIDI support
650 1.118 christos #midi* at pcppi? # MIDI interface to the PC speaker
651 1.118 christos #midi* at sb? # SB MPU401 port
652 1.118 christos #midi* at opl? # OPL FM synth
653 1.118 christos
654 1.56 perry # The spkr driver provides a simple tone interface to the built in speaker.
655 1.82 drochner #spkr0 at pcppi? # PC speaker
656 1.56 perry
657 1.56 perry
658 1.56 perry # Mice
659 1.56 perry
660 1.56 perry # ISA busmice
661 1.118 christos #lms0 at isa? port 0x23c irq 5 # Logitech bus mouse
662 1.118 christos #lms1 at isa? port 0x238 irq 5
663 1.118 christos #mms0 at isa? port 0x23c irq 5 # Microsoft InPort mouse
664 1.118 christos #mms1 at isa? port 0x238 irq 5
665 1.118 christos #wsmouse* at lms?
666 1.118 christos #wsmouse* at mms?
667 1.118 christos # backwards compatible versions
668 1.106 drochner #olms0 at isa? port 0x23c irq 5 # Logitech bus mouse
669 1.106 drochner #olms1 at isa? port 0x238 irq 5
670 1.106 drochner #omms0 at isa? port 0x23c irq 5 # Microsoft InPort mouse
671 1.106 drochner #omms1 at isa? port 0x238 irq 5
672 1.106 drochner #opms0 at pc? irq 12 # PS/2 auxiliary port mouse
673 1.56 perry
674 1.56 perry # Joysticks
675 1.56 perry
676 1.56 perry # ISA Plug-and-Play joysticks
677 1.56 perry #joy* at isapnp? # Game ports (usually on audio cards)
678 1.2 tls
679 1.56 perry # ISA joysticks. Probe is a little strange; add only if you have one.
680 1.56 perry #joy0 at isa? port 0x201
681 1.2 tls
682 1.20 mycroft
683 1.56 perry # Miscellaneous Devices
684 1.20 mycroft
685 1.56 perry # Planetconnect Satellite receiver driver.
686 1.56 perry #satlink0 at isa? port 0x300 drq 1
687 1.43 mikel
688 1.21 mycroft
689 1.54 thorpej # Pull in optional local configuration
690 1.22 mycroft include "arch/i386/conf/GENERIC.local"
691 1.37 perry
692 1.56 perry
693 1.56 perry # Pseudo-Devices
694 1.56 perry
695 1.56 perry # disk/mass storage pseudo-devices
696 1.56 perry #pseudo-device ccd 4 # concatenated/striped disk devices
697 1.118 christos #pseudo-device raid 4 # RAIDframe disk driver
698 1.56 perry pseudo-device md 1 # memory disk device (ramdisk)
699 1.56 perry #pseudo-device vnd 4 # disk-like interface to files
700 1.56 perry
701 1.56 perry # network pseudo-devices
702 1.148 cyber pseudo-device bpfilter 8 # Berkeley packet filter
703 1.54 thorpej #pseudo-device ipfilter # IP filter (firewall) and NAT
704 1.54 thorpej pseudo-device loop # network loopback
705 1.54 thorpej pseudo-device ppp 2 # Point-to-Point Protocol
706 1.56 perry pseudo-device sl 2 # Serial Line IP
707 1.56 perry #pseudo-device strip 2 # Starmode Radio IP (Metricom)
708 1.56 perry #pseudo-device tun 2 # network tunneling over tty
709 1.118 christos #pseudo-device gre 2 # generic L3 over IP tunnel
710 1.56 perry
711 1.56 perry # miscellaneous pseudo-devices
712 1.157 abs pseudo-device pty 2 # pseudo-terminals (Sysinst needs two)
713 1.57 explorer #pseudo-device tb 1 # tablet line discipline
714 1.118 christos #pseudo-device sequencer 1 # MIDI sequencer
715 1.118 christos # rnd works; RND_COM does not on port i386 yet.
716 1.54 thorpej #pseudo-device rnd # /dev/random and in-kernel generator
717 1.58 explorer #options RND_COM # use "com" randomness as well (BROKEN)
718 1.118 christos
719 1.118 christos # a pseudo device needed for Coda # also needs CODA (above)
720 1.118 christos #pseudo-device vcoda 4 # coda minicache <-> venus comm.
721