INSTALL revision 1.38 1 # $NetBSD: INSTALL,v 1.38 2004/07/15 03:53:45 atatat Exp $
2 #
3 # CATSINST -- CHALTECH CATS Install kernel
4 #
5
6 include "arch/cats/conf/std.cats"
7
8 #options INCLUDE_CONFIG_FILE # embed config file in kernel binary
9
10 # estimated number of users
11
12 maxusers 8
13
14 # Standard system options
15
16 options INSECURE # disable kernel securelevel
17
18 options RTC_OFFSET=0 # hardware clock is this many mins. west of GMT
19 #options NTP # NTP phase/frequency locked loop
20
21 # CPU options
22
23 # For StrongARM systems
24 options CPU_SA110 # Support the SA110 core
25 makeoptions COPTS="-Os -march=armv4 -mtune=strongarm" # optimise for space
26
27 # FPA options
28
29 #options ARMFPE # ARM Ltd FPE
30
31 # File systems
32
33 file-system FFS # UFS
34 #file-system LFS # log-structured file system
35 file-system MFS # memory file system
36 file-system NFS # Network file system
37 #file-system ADOSFS # AmigaDOS-compatible file system
38 #file-system EXT2FS # second extended file system (linux)
39 file-system CD9660 # ISO 9660 + Rock Ridge file system
40 file-system MSDOSFS # MS-DOS file system
41 #file-system FDESC # /dev/fd
42 file-system KERNFS # /kern
43 #file-system NULLFS # loopback file system
44 #file-system OVERLAY # overlay filesystem
45 #file-system PORTAL # portal filesystem (still experimental)
46 #file-system PROCFS # /proc
47 #file-system UMAPFS # NULLFS + uid and gid remapping
48 #file-system UNION # union file system
49 #file-system CODA # Coda File System; also needs vcode (below)
50
51 # File system options
52 #options QUOTA # UFS quotas
53 #options FFS_EI # FFS Endian Independant support
54 #options NFSSERVER
55 #options SOFTDEP # FFS soft updates support
56 options VNODE_OP_NOINLINE # Not inlining vnode op calls saves mem
57
58 # Networking options
59
60 #options GATEWAY # packet forwarding
61 options INET # IP + ICMP + TCP + UDP
62 #options INET6 # IPV6
63 #options IPSEC # IP security
64 #options IPSEC_ESP # IP security (encryption part; define w/ IPSEC)
65 #options IPSEC_DEBUG # debug for IP security
66 #options MROUTING # IP multicast routing
67 #options NS # XNS
68 #options NSIP # XNS tunneling over IP
69 #options ISO,TPIP # OSI
70 #options EON # OSI tunneling over IP
71 #options CCITT,LLC,HDLC # X.25
72 #options NETATALK # AppleTalk networking
73 #options PFIL_HOOKS # pfil(9) packet filter hooks
74 #options PPP_BSDCOMP # BSD-Compress compression support for PPP
75 #options PPP_DEFLATE # Deflate compression support for PPP
76 #options PPP_FILTER # Active filter support for PPP (requires bpf)
77 #options TCP_DEBUG # Record last TCP_NDEBUG packets with SO_DEBUG
78
79 options NFS_BOOT_BOOTP
80 options NFS_BOOT_DHCP
81 #options NFS_BOOT_BOOTPARAM
82
83 # Compatibility options
84
85 #options COMPAT_43 # 4.3BSD compatibility.
86 options COMPAT_16 # NetBSD 1.6 compatibility.
87 options COMPAT_14 # NetBSD 1.4 compatibility.
88 options COMPAT_13 # NetBSD 1.3 compatibility.
89 #options COMPAT_12 # NetBSD 1.2 compatibility.
90 #options COMPAT_11 # NetBSD 1.1 compatibility.
91 #options COMPAT_10 # NetBSD 1.0 compatibility.
92 #options COMPAT_09 # NetBSD 0.9 compatibility.
93 #options TCP_COMPAT_42 # 4.2BSD TCP/IP bug compat. Not recommended.
94
95 # Shared memory options
96
97 #options SYSVMSG # System V-like message queues
98 #options SYSVSEM # System V-like semaphores
99 #options SYSVSHM # System V-like memory sharing
100 #options SHMMAXPGS=1024 # 1024 pages is the default
101
102 # Device options
103
104 options MEMORY_DISK_HOOKS # boottime setup of ramdisk
105 options MEMORY_DISK_ROOT_SIZE=4200 # Size in blocks
106 options MEMORY_DISK_IS_ROOT # use memory disk as root
107 options MEMORY_DISK_SERVER=0 # no userspace memory disk support
108
109 # Miscellaneous kernel options
110 #options KTRACE # system call tracing, a la ktrace(1)
111 #options IRQSTATS # manage IRQ statistics
112 #options LKM # loadable kernel modules
113 #options KMEMSTATS # kernel memory statistics
114 #options SCSIVERBOSE # Verbose SCSI errors
115 #options PCIVERBOSE # Verbose PCI descriptions
116 #options MIIVERBOSE # verbose PHY autoconfig messages
117 #options PCI_CONFIG_DUMP # verbosely dump PCI config space
118 #options USBVERBOSE # verbose USB device autoconfig messages
119 #options DDB_KEYCODE=0x40
120 options PMAP_STATIC_L1S=128
121 options USERCONF # userconf(4) support
122 options PIPE_SOCKETPAIR # smaller, but slower pipe(2)
123 #options SYSCTL_INCLUDE_DESCR # Include sysctl descriptions in kernel
124 options MALLOC_NOINLINE # Not inlining MALLOC saves memory
125
126 # wscons options
127 #options WSEMUL_SUN # sun terminal emulation
128 options WSEMUL_VT100 # VT100 / VT220 emulation
129 # different kernel output - see dev/wscons/wsdisplayvar.h
130 options WS_KERNEL_FG=WSCOL_GREEN
131 options WSDISPLAY_COMPAT_PCVT # emulate some ioctls
132 options WSDISPLAY_COMPAT_SYSCONS # emulate some ioctls
133 options WSDISPLAY_COMPAT_USL # VT handling
134 options WSDISPLAY_COMPAT_RAWKBD # can get raw scancodes
135 # see dev/wscons/wskbdmap_mfii.h for implemented layouts
136 #options PCKBD_LAYOUT="(KB_DE | KB_NODEAD)"
137
138 # Development and Debugging options
139
140 #options ARM700BUGTRACK # track the ARM700 swi bug
141 #options PORTMASTER # Enable PortMaster only options
142 #options DIAGNOSTIC # internally consistency checks
143 #options PMAP_DEBUG # Enable pmap_debug_level code
144 #options IPKDB # remote kernel debugging
145 options DDB # in-kernel debugger
146 options DDB_HISTORY_SIZE=100 # Enable history editing in DDB
147 #makeoptions DEBUG="-g" # compile full symbol table
148
149 config netbsd root on ? type ?
150
151 # The main bus device
152 mainbus0 at root
153
154 # The boot CPU
155 cpu0 at mainbus?
156
157 # Core logic
158 footbridge0 at mainbus?
159
160 # footbridge uart
161 fcom0 at footbridge?
162
163 # system clock via footbridge
164 #clock* at footbridge?
165
166 # time-of-day device via footbridge or RTC
167 todclock0 at todservice?
168
169 # PCI bus support
170 # PCI bus via footbridge
171 pci0 at footbridge? # PCI bus
172
173 pci* at ppb? bus ?
174
175 # PCI bridges
176 ppb* at pci? dev ? function ? # PCI-PCI bridges
177 # XXX 'puc's aren't really bridges, but there's no better place for them here
178 #puc* at pci? dev ? function ? # PCI "universal" comm. cards
179
180 # PCI serial interfaces
181 #com* at puc? port ? # 16x50s on "universal" comm boards
182 #cy* at pci? dev ? function ? # Cyclades Cyclom-Y serial boards
183
184 # PCI parallel printer interfaces
185 #lpt* at puc? port ? # || ports on "universal" comm boards
186
187 # PCI SCSI Controllers and Buses
188 adv* at pci? dev ? function ? # AdvanSys 1200[A,B], ULTRA SCSI
189 scsibus* at adv?
190 #adw* at pci? dev ? function ? # AdvanSys 9xxUW SCSI
191 #scsibus* at adw?
192 ahc* at pci? dev ? function ? # Adaptec [23]94x, aic78x0 SCSI controllers
193 scsibus* at ahc?
194 #bha* at pci? dev ? function ? # BusLogic 9xx SCSI
195 #scsibus* at bha?
196 iha* at pci? dev ? function ? # Initio INIC-940/950 SCSI
197 scsibus* at iha?
198 isp* at pci? dev ? function ? # Qlogic ISP 10x0 SCSI controllers
199 scsibus* at isp?
200 pcscp* at pci? dev ? function ? # AMD 53c974 PCscsi-PCI SCSI
201 scsibus* at pcscp?
202 siop* at pci? dev ? function ? # NCR 53c8xx SCSI
203 scsibus* at siop?
204
205 # SCSI devices
206 sd* at scsibus? target ? lun ? # SCSI disk drives
207 st* at scsibus? target ? lun ? # SCSI tape drives
208 cd* at scsibus? target ? lun ? # SCSI CD-ROM drives
209 #ch* at scsibus? target ? lun ? # SCSI auto-changers
210 #uk* at scsibus? target ? lun ? # SCSI unknown device
211 #ss* at scsibus? target ? lun ? # SCSI scanner
212
213 # PCI IDE Controllers and Devices
214 # PCI IDE controllers - see pciide(4) for supported hardware.
215 # The 0x0001 flag force the driver to use DMA, even if the driver doesn't know
216 # how to set up DMA modes for this chip. This may work, or may cause
217 # a machine hang with some controllers.
218 pciide* at pci? dev ? function ? flags 0x0000 # GENERIC pciide driver
219 acardide* at pci? dev ? function ? # Acard IDE controllers
220 aceride* at pci? dev ? function ? # Acer Lab IDE controllers
221 artsata* at pci? dev ? function ? # Intel i31244 SATA controller
222 cmdide* at pci? dev ? function ? # CMD tech IDE controllers
223 cypide* at pci? dev ? function ? # Cypress IDE controllers
224 hptide* at pci? dev ? function ? # Triones/HighPoint IDE controllers
225 optiide* at pci? dev ? function ? # Opti IDE controllers
226 piixide* at pci? dev ? function ? # Intel IDE controllers
227 pdcide* at pci? dev ? function ? # Promise IDE controllers
228 satalink* at pci? dev ? function ? # SiI SATALink controllers
229 siside* at pci? dev ? function ? # SiS IDE controllers
230 slide* at pci? dev ? function ? # Symphony Labs IDE controllers
231 viaide* at pci? dev ? function ? # VIA/AMD/Nvidia IDE controllers
232
233 # ATA (IDE) bus support
234 atabus* at ata?
235
236 # IDE drives
237 # Flags are used only with controllers that support DMA operations
238 # and mode settings (e.g. some pciide controllers)
239 # The lowest order four bits (rightmost digit) of the flags define the PIO
240 # mode to use, the next set of four bits the DMA mode and the third set the
241 # UltraDMA mode. For each set of four bits, the 3 lower bits define the mode
242 # to use, and the last bit must be 1 for this setting to be used.
243 # For DMA and UDMA, 0xf (1111) means 'disable'.
244 # 0x0fac means 'use PIO mode 4, DMA mode 2, disable UltraDMA'.
245 # (0xc=1100, 0xa=1010, 0xf=1111)
246 # 0x0000 means "use whatever the drive claims to support".
247 wd* at atabus? drive ? flags 0x0000 # the drives themselves
248
249 # ATAPI bus support
250 atapibus* at atapi?
251
252 # ATAPI devices
253 cd* at atapibus? drive ? flags 0x0000 # ATAPI CD-ROM drives
254 sd* at atapibus? drive ? flags 0x0000 # ATAPI disk drives
255 #uk* at atapibus? drive ? flags 0x0000 # ATAPI unknown
256
257 # PCI network interfaces
258 #en* at pci? dev ? function ? # ENI/Adaptec ATM
259 ep* at pci? dev ? function ? # 3C590 ethernet cards
260 ex* at pci? dev ? function ? # 3Com 90x[B]
261 epic* at pci? dev ? function ? # SMC EPIC/100 Ethernet
262 #esh* at pci? dev ? function ? # Essential HIPPI card
263 #fpa* at pci? dev ? function ? # DEC DEFPA FDDI
264 fxp* at pci? dev ? function ? # Intel EtherExpress PRO 10+/100B
265 #le* at pci? dev ? function ? # PCnet-PCI Ethernet
266 ne* at pci? dev ? function ? # NE2000 compat ethernet
267 #ntwoc* at pci? dev ? function ? # Riscom/N2 PCI Sync Serial
268 sip* at pci? dev ? function ? # SiS 900 Ethernet
269 #tl* at pci? dev ? function ? # ThunderLAN-based Ethernet
270 #de* at pci? dev ? function ? # DECchip 21x4x and clones
271 tlp* at pci? dev ? function ? # DECchip 21x4x and clones
272 vr* at pci? dev ? function ? # VIA Rhine Fast Ethernet
273 #lmc* at pci? dev ? function ? # Lan Media Corp SSI/HSSI/DS3
274 rtk* at pci? dev ? function ? # Realtek 8129/8139
275
276 # MII/PHY support
277 exphy* at mii? phy ? # 3Com internal PHYs
278 #icsphy* at mii? phy ? # Integrated Circuit Systems ICS189x
279 inphy* at mii? phy ? # Intel 82555 PHYs
280 #iophy* at mii? phy ? # Intel 82553 PHYs
281 #lxtphy* at mii? phy ? # Level One LXT-970 PHYs
282 nsphy* at mii? phy ? # NS83840 PHYs
283 #nsphyter* at mii? phy ? # NS83843 PHYs
284 qsphy* at mii? phy ? # Quality Semiconductor QS6612 PHYs
285 #sqphy* at mii? phy ? # Seeq 80220/80221/80223 PHYs
286 #tlphy* at mii? phy ? # ThunderLAN PHYs
287 #tqphy* at mii? phy ? # TDK Semiconductor PHYs
288 ukphy* at mii? phy ? # generic unknown PHYs
289
290 # USB Controller and Devices
291
292 # PCI USB controllers
293 #uhci* at pci? # Universal Host Controller (Intel)
294 #ohci* at pci? # Open Host Controller
295
296 # USB bus support
297 #usb* at uhci?
298 #usb* at ohci?
299
300 # USB Hubs
301 #uhub* at usb?
302 #uhub* at uhub? port ? configuration ? interface ?
303
304 # USB HID device
305 #uhidev* at uhub? port ? configuration ? interface ?
306
307 # USB Mice
308 #ums* at uhidev? reportid ?
309 #wsmouse* at ums?
310
311 # USB Keyboards
312 #ukbd* at uhidev? reportid ?
313 #wskbd* at ukbd? console ?
314
315 # USB Generic HID devices
316 #uhid* at uhidev? reportid ?
317
318 # USB Printer
319 #ulpt* at uhub? port ? configuration ? interface ?
320
321 # USB Modem
322 #umodem* at uhub? port ? configuration ?
323 #ucom* at umodem?
324
325 # USB Mass Storage
326 #umass* at uhub? port ? configuration ? interface ?
327 #atapibus* at umass?
328 #scsibus* at umass? channel ?
329
330 # USB audio
331 #uaudio* at uhub? port ? configuration ?
332 #audio* at uaudio?
333
334 # USB Ethernet adapters
335 #aue* at uhub? port ? # ADMtek AN986 Pegasus based adapters
336 #cue* at uhub? port ? # CATC USB-EL1201A based adapters
337 #kue* at uhub? port ? # Kawasaki LSI KL5KUSB101B based adapters
338 #uax* at uhub? port ? # ASIX AX88172 based adapters
339 #url* at uhub? port ? # Realtek RTL8150L based adapters
340
341 # USB Generic driver
342 #ugen* at uhub? port ?
343
344 # Audio Devices
345
346 # PCI audio devices
347 #eap* at pci? dev ? function ? # Ensoniq AudioPCI
348 #sv* at pci? dev ? function ? # S3 SonicVibes
349
350 # Audio support
351 #audio* at eap?
352 #audio* at sv?
353
354 vga* at pci?
355 wsdisplay* at vga? console ?
356
357 # ISA bus bridging
358
359 pcib* at pci? dev ? function ? # PCI-ISA bridge
360 isa* at pcib? # ISA bus
361
362 # ISA Plug-and-Play bus support
363 isapnp0 at isa?
364
365 # wscons
366 pckbc0 at isa? # pc keyboard controller
367 pckbd* at pckbc? # PC keyboard
368 pms* at pckbc? # PS/2 mouse for wsmouse
369 wskbd* at pckbd? console ?
370 wsmouse* at pms?
371
372 pcppi0 at isa?
373 sysbeep0 at pcppi?
374
375 # ISA Plug-and-Play serial interfaces
376 com* at isapnp? # Modems and serial boards
377
378 # ISA Plug-and-Play network interfaces
379 ep* at isapnp? # 3Com 3c509 Ethernet
380 fmv* at isapnp? # Fujitsu FMV-183
381 ne* at isapnp? # NE2000 compat
382
383 # ISA serial interfaces
384 com0 at isa? port 0x3f8 irq 4 # Standard PC serial ports
385 com1 at isa? port 0x2f8 irq 3
386 #com2 at isa? port 0x3e8 irq 9
387 #com3 at isa? port 0x2e8 irq 10
388
389 # ISA parallel printer interfaces
390 lpt0 at isa? port 0x378 irq 7 # standard PC parallel ports
391 lpt1 at isa? port 0x278 irq 5
392 #lpt2 at isa? port 0x3bc
393
394 # ISA floppy
395 #fdc0 at isa? port 0x3f0 irq 6 drq 2 # standard PC floppy controllers
396 #fdc1 at isa? port 0x370 irq ? drq ?
397 #fd* at fdc? drive ? # the drives themselves
398
399 # ISA network interface
400 #ne0 at isa? port 0x280 irq 9
401 #ne1 at isa? port 0x300 irq 10
402 #ep* at isa? port ? irq ?
403
404 # The spkr driver provides a simple tone interface to the built in speaker.
405 #spkr0 at pcppi? # PC speaker
406
407 ds1687rtc0 at isa? port 0x72 # Dallas RTC
408
409 # ISA Plug-and-Play audio devices
410 #ess* at isapnp? # ESS Tech ES1887, ES1888, ES888 audio
411 #sb* at isapnp? # SoundBlaster-compatible audio
412 #wss* at isapnp? # Windows Sound System
413
414 # OPL[23] FM syntheziers
415 #opl* at ess?
416 #opl* at sb?
417
418 # Audio support
419 #audio* at ess?
420 #audio* at sb?
421 #audio* at wss?
422
423 # MPU 401 UARTs
424 #mpu* at sb?
425
426 # MIDI support
427 #midi* at pcppi? # MIDI interface to the PC speaker
428 #midi* at sb? # SB MPU401 port
429 #midi* at opl? # OPL FM synth
430 #midi* at mpu? # MPU 401
431
432 # Joysticks
433
434 # ISA Plug-and-Play joysticks
435 #joy* at isapnp? # Game ports (usually on audio cards)
436
437 # ISA joysticks. Probe is a little strange; add only if you have one.
438 #joy0 at isa? port 0x201
439
440 # Pseudo-Devices
441
442 # disk/mass storage pseudo-devices
443 pseudo-device ccd 2 # concatenated/striped disk devices
444 pseudo-device md 1 # memory disk device (ramdisk)
445 #pseudo-device vnd 4 # disk-like interface to files
446
447 # network pseudo-devices
448 pseudo-device bpfilter 4 # Berkeley packet filter
449 #pseudo-device ipfilter # IP filter (firewall) and NAT
450 pseudo-device loop # network loopback
451 #pseudo-device ppp 2 # Point-to-Point Protocol
452 #pseudo-device sl 2 # Serial Line IP
453 #pseudo-device strip 2 # Starmode Radio IP (Metricom)
454 #pseudo-device tun 2 # network tunneling over tty
455
456 # miscellaneous pseudo-devices
457 pseudo-device pty # pseudo-terminals
458 #pseudo-device tb 1 # tablet line discipline
459 #pseudo-device sequencer 1 # MIDI sequencer
460 pseudo-device rnd # /dev/random and in-kernel generator
461 #options RND_COM # use "com" randomness as well (BROKEN)
462 #pseudo-device vcoda 4 # coda minicache <-> venus comm.
463
464 # mouse & keyboard multiplexor pseudo-devices
465 pseudo-device wsmux
466 pseudo-device wsfont
467
468 # for IPv6
469 #pseudo-device gif 4 # IPv[46] over IPv[46] tunnel (RFC1933)
470 #pseudo-device faith 1 # IPv[46] tcp relay translation i/f
471