INSTALL revision 1.194 1 1.194 ad # $NetBSD: INSTALL,v 1.194 2002/04/22 21:05:23 ad 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.118 christos #pms* at pckbc? # PS/2 mouse for wsmouse
234 1.118 christos #vga0 at isa?
235 1.118 christos #vga* at pci?
236 1.118 christos #pcdisplay0 at isa? # CGA, MDA, EGA, HGA
237 1.118 christos #wsdisplay* at vga? console ?
238 1.118 christos #wsdisplay* at pcdisplay? console ?
239 1.118 christos #wskbd* at pckbd? console ?
240 1.118 christos #wsmouse* at pms?
241 1.118 christos
242 1.82 drochner #pcppi0 at isa?
243 1.82 drochner #sysbeep0 at pcppi?
244 1.56 perry
245 1.56 perry # Serial Devices
246 1.56 perry
247 1.56 perry # PCI serial interfaces
248 1.133 soren com* at puc? port ? # 16x50s on "universal" comm boards
249 1.56 perry #cy* at pci? dev ? function ? # Cyclades Cyclom-Y serial boards
250 1.54 thorpej
251 1.56 perry # ISA Plug-and-Play serial interfaces
252 1.56 perry com* at isapnp? # Modems and serial boards
253 1.56 perry
254 1.56 perry # PCMCIA serial interfaces
255 1.56 perry com* at pcmcia? function ? # Modems and serial cards
256 1.98 thorpej
257 1.98 thorpej pcmcom* at pcmcia? function ? # PCMCIA multi-port serial cards
258 1.98 thorpej com* at pcmcom? slave ? # ...and the slave devices
259 1.56 perry
260 1.56 perry # ISA serial interfaces
261 1.56 perry #options COM_HAYESP # adds Hayes ESP serial board support
262 1.56 perry com0 at isa? port 0x3f8 irq 4 # Standard PC serial ports
263 1.56 perry com1 at isa? port 0x2f8 irq 3
264 1.56 perry com2 at isa? port 0x3e8 irq 5
265 1.56 perry #com3 at isa? port 0x2e8 irq 9
266 1.56 perry #ast0 at isa? port 0x1a0 irq 5 # AST 4-port serial cards
267 1.56 perry #com* at ast? slave ?
268 1.56 perry #boca0 at isa? port 0x100 irq 5 # BOCA 8-port serial cards
269 1.56 perry #com* at boca? slave ?
270 1.118 christos #tcom0 at isa? port 0x100 irq 7 # TC-800 8-port serial cards
271 1.118 christos #com* at tcom? slave ?
272 1.56 perry #rtfps0 at isa? port 0x1230 irq 10 # RT 4-port serial cards
273 1.56 perry #com* at rtfps? slave ?
274 1.56 perry #cy0 at isa? iomem 0xd4000 irq 12 # Cyclades serial cards
275 1.56 perry
276 1.56 perry
277 1.56 perry # Parallel Printer Interfaces
278 1.88 cgd
279 1.88 cgd # PCI parallel printer interfaces
280 1.88 cgd #lpt* at puc? port ? # || ports on "universal" comm boards
281 1.56 perry
282 1.56 perry # ISA parallel printer interfaces
283 1.56 perry #lpt0 at isa? port 0x378 irq 7 # standard PC parallel ports
284 1.56 perry #lpt1 at isa? port 0x278
285 1.56 perry #lpt2 at isa? port 0x3bc
286 1.56 perry
287 1.160 ad # I2O devices
288 1.160 ad iop* at pci? dev ? function ? # I/O processor
289 1.160 ad iopsp* at iop? tid ? # SCSI/FC-AL ports
290 1.161 ad ld* at iop? tid ? # Block devices
291 1.173 ad #dpti* at iop? tid 0 # DPT/Adaptec control interface
292 1.56 perry
293 1.56 perry # SCSI Controllers and Devices
294 1.5 cgd
295 1.56 perry # PCI SCSI controllers
296 1.118 christos adv* at pci? dev ? function ? # AdvanSys 1200[A,B], 9xx[U,UA] SCSI
297 1.142 dante adw* at pci? dev ? function ? # AdvanSys 9x0UW[D], 3940U[2,3]W SCSI
298 1.56 perry ahc* at pci? dev ? function ? # Adaptec [23]94x, aic78x0 SCSI
299 1.56 perry bha* at pci? dev ? function ? # BusLogic 9xx SCSI
300 1.126 ad dpt* at pci? dev ? function ? # DPT SmartCache/SmartRAID
301 1.166 tsutsui iha* at pci? dev ? function ? # Initio INIC-940/950 SCSI
302 1.56 perry isp* at pci? dev ? function ? # Qlogic ISP [12]0x0 SCSI/FibreChannel
303 1.170 ad mly* at pci? dev ? function ? # Mylex AcceleRAID and eXtremeRAID
304 1.170 ad pcscp* at pci? dev ? function ? # AMD 53c974 PCscsi-PCI SCSI
305 1.146 fvdl siop* at pci? dev ? function ? # NCR 53c8xx SCSI (new driver)
306 1.174 tsutsui trm* at pci? dev ? function ? # Tekram DC-395U/UW/F, DC-315/U SCSI
307 1.2 tls
308 1.56 perry # EISA SCSI controllers
309 1.56 perry ahb* at eisa? slot ? # Adaptec 174[02] SCSI
310 1.56 perry ahc* at eisa? slot ? # Adaptec 274x, aic7770 SCSI
311 1.56 perry bha* at eisa? slot ? # BusLogic 7xx SCSI
312 1.135 ad dpt* at eisa? slot ? # DPT SmartCache/SmartRAID
313 1.56 perry uha* at eisa? slot ? # UltraStor 24f SCSI
314 1.2 tls
315 1.56 perry # PCMCIA SCSI controllers
316 1.56 perry aic* at pcmcia? function ? # Adaptec APA-1460 SCSI
317 1.81 enami
318 1.81 enami # ISA Plug-and-Play SCSI controllers
319 1.118 christos aha* at isapnp? # Adaptec AHA-154[02
320 1.81 enami aic* at isapnp? # Adaptec AHA-1520B
321 1.54 thorpej
322 1.54 thorpej # ISA SCSI controllers
323 1.118 christos adv0 at isa? port ? irq ? drq ? # AdvanSys APB-514[02]
324 1.54 thorpej aha0 at isa? port 0x330 irq ? drq ? # Adaptec 154[02] SCSI
325 1.54 thorpej aha1 at isa? port 0x334 irq ? drq ?
326 1.54 thorpej ahc0 at isa? port ? irq ? # Adaptec 284x SCSI
327 1.54 thorpej aic0 at isa? port 0x340 irq 11 # Adaptec 152[02] SCSI
328 1.61 mikel bha0 at isa? port 0x330 irq ? drq ? # BusLogic [457]4X SCSI
329 1.54 thorpej bha1 at isa? port 0x334 irq ? drq ?
330 1.136 ad # The "nca" and "dpt" probes might give false hits or hang your machine.
331 1.136 ad #dpt0 at isa? port 0x170 irq ? drq ? # DPT SmartCache/SmartRAID
332 1.150 itohy #nca0 at isa? port 0x360 irq 15 # Port-mapped NCR 53C80 controller
333 1.128 drochner #nca1 at isa? iomem 0xd8000 irq 5 # Memory-mapped controller (T128, etc.)
334 1.54 thorpej sea0 at isa? iomem 0xc8000 irq 5 # Seagate/Future Domain SCSI
335 1.54 thorpej uha0 at isa? port 0x330 irq ? drq ? # UltraStor [13]4f SCSI
336 1.72 drochner uha1 at isa? port 0x340 irq ? drq ?
337 1.54 thorpej wds0 at isa? port 0x350 irq 15 drq 6 # WD7000 and TMC-7000 controllers
338 1.54 thorpej wds1 at isa? port 0x358 irq 11 drq 5
339 1.54 thorpej
340 1.56 perry # SCSI bus support
341 1.95 dante scsibus* at adv?
342 1.97 dante scsibus* at adw?
343 1.56 perry scsibus* at aha?
344 1.56 perry scsibus* at ahb?
345 1.56 perry scsibus* at ahc?
346 1.56 perry scsibus* at aic?
347 1.56 perry scsibus* at bha?
348 1.126 ad scsibus* at dpt?
349 1.166 tsutsui scsibus* at iha?
350 1.160 ad scsibus* at iopsp?
351 1.56 perry scsibus* at isp?
352 1.129 drochner #scsibus* at nca?
353 1.170 ad scsibus* at mly?
354 1.170 ad scsibus* at pcscp?
355 1.174 tsutsui scsibus* at sea?
356 1.146 fvdl scsibus* at siop?
357 1.174 tsutsui scsibus* at trm?
358 1.56 perry scsibus* at uha?
359 1.56 perry scsibus* at wds?
360 1.56 perry
361 1.56 perry # SCSI devices
362 1.56 perry sd* at scsibus? target ? lun ? # SCSI disk drives
363 1.56 perry st* at scsibus? target ? lun ? # SCSI tape drives
364 1.56 perry cd* at scsibus? target ? lun ? # SCSI CD-ROM drives
365 1.56 perry #ch* at scsibus? target ? lun ? # SCSI autochangers
366 1.56 perry #ss* at scsibus? target ? lun ? # SCSI scanners
367 1.56 perry #uk* at scsibus? target ? lun ? # SCSI unknown
368 1.56 perry
369 1.155 ad
370 1.138 ad # RAID controllers and devices
371 1.165 ad cac* at eisa? slot ? # Compaq EISA array controllers
372 1.155 ad cac* at pci? dev ? function ? # Compaq PCI array controllers
373 1.194 ad icp* at pci? dev ? function ? # ICP-Vortex GDT & Intel RAID
374 1.163 ad mlx* at pci? dev ? function ? # Mylex DAC960 & DEC SWXCR family
375 1.165 ad mlx* at eisa? slot ? # Mylex DAC960 & DEC SWXCR family
376 1.158 ad twe* at pci? dev ? function ? # 3ware Escalade RAID controllers
377 1.155 ad
378 1.163 ad ld* at cac? unit ? # logical disk devices
379 1.194 ad ld* at icp? unit ?
380 1.163 ad ld* at twe? unit ?
381 1.163 ad ld* at mlx? unit ?
382 1.194 ad
383 1.194 ad icpsp* at icp? unit ? # SCSI pass-through
384 1.194 ad scsibus* at icpsp?
385 1.56 perry
386 1.110 abs # IDE and related devices
387 1.114 kleink # PCI IDE controllers - see pciide(4) for supported hardware.
388 1.99 bouyer # The 0x0001 flag force the driver to use DMA, even if the driver doesn't know
389 1.99 bouyer # how to set up DMA modes for this chip. This may work, or may cause
390 1.99 bouyer # a machine hang with some controllers.
391 1.99 bouyer pciide* at pci ? dev ? function ? flags 0x0000
392 1.56 perry
393 1.99 bouyer # ISA Plug-and-Play IDE controllers
394 1.118 christos wdc* at isapnp?
395 1.99 bouyer
396 1.99 bouyer # PCMCIA IDE controllers
397 1.178 lukem wdc* at pcmcia? function ?
398 1.99 bouyer
399 1.99 bouyer # ISA ST506, ESDI, and IDE controllers
400 1.117 bouyer # Use flags 0x01 if you want to try to use 32bits data I/O (the driver will
401 1.150 itohy # fall back to 16bits I/O if 32bits I/O are not functional).
402 1.117 bouyer # Some controllers pass the initial 32bit test, but will fail later.
403 1.117 bouyer wdc0 at isa? port 0x1f0 irq 14 flags 0x00
404 1.117 bouyer wdc1 at isa? port 0x170 irq 15 flags 0x00
405 1.56 perry
406 1.56 perry # IDE drives
407 1.110 abs # Flags are used only with controllers that support DMA operations
408 1.110 abs # and mode settings (e.g. some pciide controllers)
409 1.110 abs # The lowest order four bits (rightmost digit) of the flags define the PIO
410 1.110 abs # mode to use, the next set of four bits the DMA mode and the third set the
411 1.110 abs # UltraDMA mode. For each set of four bits, the 3 lower bits define the mode
412 1.110 abs # to use, and the last bit must be 1 for this setting to be used.
413 1.110 abs # For DMA and UDMA, 0xf (1111) means 'disable'.
414 1.110 abs # 0x0fac means 'use PIO mode 4, DMA mode 2, disable UltraDMA'.
415 1.110 abs # (0xc=1100, 0xa=1010, 0xf=1111)
416 1.110 abs # 0x0000 means "use whatever the drive claims to support".
417 1.118 christos wd* at wdc? channel ? drive ? flags 0x0000
418 1.118 christos wd* at pciide? channel ? drive ? flags 0x0000
419 1.56 perry
420 1.56 perry # ATAPI bus support
421 1.118 christos atapibus* at wdc? channel ?
422 1.99 bouyer atapibus* at pciide? channel ?
423 1.56 perry
424 1.56 perry # ATAPI devices
425 1.118 christos # flags have the same meaning as for IDE drives.
426 1.118 christos cd* at atapibus? drive ? flags 0x0000 # ATAPI CD-ROM drives
427 1.118 christos sd* at atapibus? drive ? flags 0x0000 # ATAPI disk drives
428 1.179 bouyer st* at atapibus? drive ? flags 0x0000 # ATAPI tape drives
429 1.118 christos #uk* at atapibus? drive ? flags 0x0000 # ATAPI unknown
430 1.56 perry
431 1.56 perry
432 1.56 perry # Miscellaneous mass storage devices
433 1.56 perry
434 1.56 perry # ISA floppy
435 1.56 perry fdc0 at isa? port 0x3f0 irq 6 drq 2 # standard PC floppy controllers
436 1.56 perry #fdc1 at isa? port 0x370 irq ? drq ?
437 1.56 perry fd* at fdc? drive ? # the drives themselves
438 1.56 perry # some machines need you to do this instead of fd*
439 1.56 perry #fd0 at fdc0 drive 0
440 1.56 perry
441 1.56 perry # ISA CD-ROM devices
442 1.56 perry #mcd0 at isa? port 0x300 irq 10 # Mitsumi CD-ROM drives
443 1.56 perry
444 1.56 perry # ISA tape devices
445 1.56 perry # note: the wt driver conflicts unpleasantly with ed devices at the
446 1.61 mikel # same I/O address. The probe reprograms their EEPROMs. Don't
447 1.56 perry # uncomment it unless you are actually using it.
448 1.72 drochner #wt0 at isa? port 0x308 irq 5 drq 1 # Archive and Wangtek QIC tape drives
449 1.56 perry
450 1.56 perry
451 1.56 perry # Network Interfaces
452 1.56 perry
453 1.56 perry # PCI network interfaces
454 1.178 lukem an* at pci? dev ? function ? # Aironet PC4500/PC4800 (802.11)
455 1.176 tls #en* at pci? dev ? function ? # ENI/Adaptec ATM
456 1.104 he ep* at pci? dev ? function ? # 3Com 3c59x
457 1.171 hubertf ex* at pci? dev ? function ? # 3Com 90x[BC]
458 1.85 thorpej epic* at pci? dev ? function ? # SMC EPIC/100 Ethernet
459 1.176 tls #esh* at pci? dev ? function ? # Essential HIPPI card
460 1.56 perry fpa* at pci? dev ? function ? # DEC DEFPA FDDI
461 1.56 perry fxp* at pci? dev ? function ? # Intel EtherExpress PRO 10+/100B
462 1.167 thorpej gsip* at pci? dev ? function ? # NS83820 Gigabit Ethernet
463 1.178 lukem #hme* at pci? dev ? function ? # Sun Microelectronics STP2002-STQ
464 1.56 perry le* at pci? dev ? function ? # PCnet-PCI Ethernet
465 1.176 tls #lmc* at pci? dev ? function ? # Lan Media Corp SSI/HSSI/DS3
466 1.56 perry ne* at pci? dev ? function ? # NE2000-compatible Ethernet
467 1.176 tls #ntwoc* at pci? dev ? function ? # Riscom/N2 PCI Sync Serial
468 1.178 lukem pcn* at pci? dev ? function ? # AMD PCnet-PCI Ethernet
469 1.176 tls rtk* at pci? dev ? function ? # Realtek 8129/8139
470 1.167 thorpej sf* at pci? dev ? function ? # Adaptec AIC-6915 Ethernet
471 1.167 thorpej sip* at pci? dev ? function ? # SiS 900/DP83815 Ethernet
472 1.178 lukem ste* at pci? dev ? function ? # Sundance ST-201 Ethernet
473 1.176 tls stge* at pci? dev ? function ? # Sundance/Tamarack TC9021 Gigabit
474 1.176 tls ti* at pci? dev ? function ? # Alteon ACEnic gigabit Ethernet
475 1.60 bouyer tl* at pci? dev ? function ? # ThunderLAN-based Ethernet
476 1.192 mycroft tlp* at pci? dev ? function ? # DECchip 21x4x and clones
477 1.118 christos vr* at pci? dev ? function ? # VIA Rhine Fast Ethernet
478 1.176 tls wi* at pci? dev ? function ? # Intersil Prism Mini-PCI (802.11b)
479 1.191 mycroft wm* at pci? dev ? function ? # Intel 82543/82544 gigabit
480 1.2 tls
481 1.56 perry # EISA network interfaces
482 1.56 perry ep* at eisa? slot ? # 3Com 3c579 Ethernet
483 1.56 perry fea* at eisa? slot ? # DEC DEFEA FDDI
484 1.130 thorpej tlp* at eisa? slot ? # DEC DE-425 Ethernet
485 1.2 tls
486 1.56 perry # ISA Plug-and-Play network interfaces
487 1.176 tls an* at isapnp? # # Aironet 802.11
488 1.56 perry ep* at isapnp? # 3Com 3c509 Ethernet
489 1.56 perry ne* at isapnp? # NE2000-compatible Ethernet
490 1.115 bad tr* at isapnp? # IBM/3COM TROPIC Token-Ring
491 1.20 mycroft
492 1.56 perry # PCMCIA network interfaces
493 1.176 tls an* at pcmcia? function ? # Aironet PC4500/PC4800 (802.11)
494 1.159 fvdl awi* at pcmcia? function ? # BayStack 650 (802.11FH)
495 1.159 fvdl cnw* at pcmcia? function ? # Xircom/Netwave AirSurfer
496 1.56 perry ep* at pcmcia? function ? # 3Com 3c589 and 3c562 Ethernet
497 1.80 enami mbe* at pcmcia? function ? # MB8696x based Ethernet
498 1.56 perry ne* at pcmcia? function ? # NE2000-compatible Ethernet
499 1.178 lukem ray* at pcmcia? function ? # Raytheon Raylink (802.11)
500 1.56 perry sm* at pcmcia? function ? # Megahertz Ethernet
501 1.123 bouyer wi* at pcmcia? function ? # Lucent WaveLan IEEE (802.11)
502 1.145 gmcgarry xi* at pcmcia? function ? # Xircom CreditCard Ethernet
503 1.127 thorpej
504 1.127 thorpej mhzc* at pcmcia? function ? # Megahertz Ethernet/Modem combo cards
505 1.127 thorpej com* at mhzc?
506 1.127 thorpej sm* at mhzc?
507 1.54 thorpej
508 1.54 thorpej # ISA network interfaces
509 1.79 enami ate0 at isa? port 0x2a0 irq ? # AT1700
510 1.89 thorpej cs0 at isa? port 0x300 iomem ? irq ? drq ? # CS8900 Ethernet
511 1.62 thorpej ec0 at isa? port 0x250 iomem 0xd8000 irq 9 # 3Com 3c503 Ethernet
512 1.65 thorpej eg0 at isa? port 0x280 irq 9 # 3C505 ethernet cards
513 1.54 thorpej el0 at isa? port 0x300 irq 9 # 3C501 ethernet cards
514 1.54 thorpej ep0 at isa? port ? irq ? # 3C509 ethernet cards
515 1.77 augustss ef0 at isa? port 0x360 iomem 0xd0000 irq 7 # 3C507
516 1.77 augustss ai0 at isa? port 0x360 iomem 0xd0000 irq 7 # StarLAN
517 1.79 enami fmv0 at isa? port 0x2a0 irq ? # FMV-180 series
518 1.77 augustss ix0 at isa? port 0x300 irq 10 # EtherExpress/16
519 1.68 thorpej iy0 at isa? port 0x360 irq ? # EtherExpress PRO 10 ISA
520 1.67 thorpej lc0 at isa? port 0x320 iomem ? irq ? # DEC EtherWORKS III (LEMAC)
521 1.118 christos depca0 at isa? port 0x300 iomem 0xc8000 iosiz 0x8000 irq 5 # DEPCA
522 1.118 christos le* at depca?
523 1.118 christos nele0 at isa? port 0x320 irq 9 drq 7 # NE2100
524 1.118 christos le* at nele?
525 1.118 christos bicc0 at isa? port 0x320 irq 10 drq 7 # BICC IsoLan
526 1.118 christos le* at bicc?
527 1.54 thorpej ne0 at isa? port 0x280 irq 9 # NE[12]000 ethernet cards
528 1.54 thorpej ne1 at isa? port 0x300 irq 10
529 1.64 thorpej sm0 at isa? port 0x300 irq 10 # SMC91C9x Ethernet
530 1.178 lukem tr0 at isa? port 0xa20 iomem 0xd8000 irq ? # IBM TROPIC based Token-Ring
531 1.178 lukem tr1 at isa? port 0xa24 iomem 0xd0000 irq ? # IBM TROPIC based Token-Ring
532 1.115 bad tr* at isa? port ? irq ? # 3COM TROPIC based Token-Ring
533 1.63 thorpej we0 at isa? port 0x280 iomem 0xd0000 irq 9 # WD/SMC Ethernet
534 1.63 thorpej we1 at isa? port 0x300 iomem 0xcc000 irq 10
535 1.54 thorpej
536 1.94 thorpej # MII/PHY support
537 1.178 lukem acphy* at mii? phy ? # DAltima AC101 and AMD Am79c874 PHYs
538 1.176 tls amhphy* at mii? phy ? # AMD 79c901 Ethernet PHYs
539 1.176 tls bmtphy* at mii? phy ? # Broadcom BCM5201 and BCM5202 PHYs
540 1.176 tls brgphy* at mii? phy ? # Broadcom BCM5400-family PHYs
541 1.178 lukem dmphy* at mii? phy ? # Davicom DM9101 PHYs
542 1.104 he exphy* at mii? phy ? # 3Com internal PHYs
543 1.176 tls glxtphy* at mii? phy ? # Level One LXT-1000 PHYs
544 1.176 tls gphyter* at mii? phy ? # NS83861 Gig-E PHY
545 1.184 wiz icsphy* at mii? phy ? # Integrated Circuit Systems ICS189x
546 1.104 he inphy* at mii? phy ? # Intel 82555 PHYs
547 1.130 thorpej iophy* at mii? phy ? # Intel 82553 PHYs
548 1.104 he lxtphy* at mii? phy ? # Level One LXT-970 PHYs
549 1.118 christos nsphy* at mii? phy ? # NS83840 PHYs
550 1.132 thorpej nsphyter* at mii? phy ? # NS83843 PHYs
551 1.176 tls pnaphy* at mii? phy ? # generic HomePNA PHYs
552 1.118 christos qsphy* at mii? phy ? # Quality Semiconductor QS6612 PHYs
553 1.104 he sqphy* at mii? phy ? # Seeq 80220/80221/80223 PHYs
554 1.94 thorpej tlphy* at mii? phy ? # ThunderLAN PHYs
555 1.130 thorpej tqphy* at mii? phy ? # TDK Semiconductor PHYs
556 1.187 ichiro urlphy* at mii? phy ? # Realtek RTL8150L internal PHYs
557 1.104 he ukphy* at mii? phy ? # generic unknown PHYs
558 1.54 thorpej
559 1.118 christos # USB Controller and Devices
560 1.118 christos
561 1.118 christos # PCI USB controllers
562 1.156 fvdl uhci* at pci? # Universal Host Controller (Intel)
563 1.156 fvdl ohci* at pci? # Open Host Controller
564 1.118 christos
565 1.118 christos # USB bus support
566 1.156 fvdl usb* at uhci?
567 1.156 fvdl usb* at ohci?
568 1.118 christos
569 1.118 christos # USB Hubs
570 1.156 fvdl uhub* at usb?
571 1.156 fvdl uhub* at uhub? port ? configuration ? interface ?
572 1.118 christos
573 1.180 augustss # USB HID device
574 1.181 wiz uhidev* at uhub? port ? configuration ? interface ?
575 1.180 augustss
576 1.118 christos # USB Mice
577 1.180 augustss #ums* at uhidev? reportid ?
578 1.118 christos #wsmouse* at ums?
579 1.118 christos
580 1.118 christos # USB Keyboards
581 1.180 augustss ukbd* at uhidev? reportid ?
582 1.156 fvdl wskbd* at ukbd? console ?
583 1.118 christos
584 1.118 christos # USB Generic HID devices
585 1.180 augustss #uhid* at uhidev? reportid ?
586 1.118 christos
587 1.118 christos # USB Printer
588 1.118 christos #ulpt* at uhub? port ? configuration ? interface ?
589 1.124 thorpej
590 1.124 thorpej # USB Mass Storage
591 1.156 fvdl umass* at uhub? port ? configuration ? interface ?
592 1.156 fvdl atapibus* at umass? channel ?
593 1.156 fvdl scsibus* at umass? channel ?
594 1.162 augustss
595 1.162 augustss # Y@P firmware loader
596 1.162 augustss #uyap* at uhub? port ?
597 1.118 christos
598 1.118 christos # USB Generic driver
599 1.118 christos #ugen* at uhub? port ? configuration ? interface ?
600 1.156 fvdl
601 1.156 fvdl # USB Ethernet adapters
602 1.156 fvdl aue* at uhub? port ? # ADMtek AN986 Pegasus based adapters
603 1.156 fvdl cue* at uhub? port ? # CATC USB-EL1201A based adapters
604 1.156 fvdl kue* at uhub? port ? # Kawasaki LSI KL5KUSB101B based adapters
605 1.187 ichiro url* at uhub? port ? # Realtek RTL8150L 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.56 perry
671 1.56 perry # Joysticks
672 1.56 perry
673 1.56 perry # ISA Plug-and-Play joysticks
674 1.56 perry #joy* at isapnp? # Game ports (usually on audio cards)
675 1.2 tls
676 1.56 perry # ISA joysticks. Probe is a little strange; add only if you have one.
677 1.56 perry #joy0 at isa? port 0x201
678 1.2 tls
679 1.20 mycroft
680 1.56 perry # Miscellaneous Devices
681 1.20 mycroft
682 1.56 perry # Planetconnect Satellite receiver driver.
683 1.56 perry #satlink0 at isa? port 0x300 drq 1
684 1.43 mikel
685 1.21 mycroft
686 1.54 thorpej # Pull in optional local configuration
687 1.22 mycroft include "arch/i386/conf/GENERIC.local"
688 1.37 perry
689 1.56 perry
690 1.56 perry # Pseudo-Devices
691 1.56 perry
692 1.56 perry # disk/mass storage pseudo-devices
693 1.56 perry #pseudo-device ccd 4 # concatenated/striped disk devices
694 1.118 christos #pseudo-device raid 4 # RAIDframe disk driver
695 1.56 perry pseudo-device md 1 # memory disk device (ramdisk)
696 1.56 perry #pseudo-device vnd 4 # disk-like interface to files
697 1.56 perry
698 1.56 perry # network pseudo-devices
699 1.148 cyber pseudo-device bpfilter 8 # Berkeley packet filter
700 1.54 thorpej #pseudo-device ipfilter # IP filter (firewall) and NAT
701 1.54 thorpej pseudo-device loop # network loopback
702 1.54 thorpej pseudo-device ppp 2 # Point-to-Point Protocol
703 1.56 perry pseudo-device sl 2 # Serial Line IP
704 1.56 perry #pseudo-device strip 2 # Starmode Radio IP (Metricom)
705 1.56 perry #pseudo-device tun 2 # network tunneling over tty
706 1.118 christos #pseudo-device gre 2 # generic L3 over IP tunnel
707 1.56 perry
708 1.56 perry # miscellaneous pseudo-devices
709 1.157 abs pseudo-device pty 2 # pseudo-terminals (Sysinst needs two)
710 1.57 explorer #pseudo-device tb 1 # tablet line discipline
711 1.118 christos #pseudo-device sequencer 1 # MIDI sequencer
712 1.118 christos # rnd works; RND_COM does not on port i386 yet.
713 1.54 thorpej #pseudo-device rnd # /dev/random and in-kernel generator
714 1.58 explorer #options RND_COM # use "com" randomness as well (BROKEN)
715 1.118 christos
716 1.118 christos # a pseudo device needed for Coda # also needs CODA (above)
717 1.118 christos #pseudo-device vcoda 4 # coda minicache <-> venus comm.
718