GENERIC revision 1.155 1 # $NetBSD: GENERIC,v 1.155 2008/08/30 03:14:44 tsutsui Exp $
2 #
3 # GENERIC machine description file
4 #
5 # This machine description file is used to generate the default NetBSD
6 # kernel. The generic kernel does not include all options, subsystems
7 # and device drivers, but should be useful for most applications.
8 #
9 # The machine description file can be customised for your specific
10 # machine to reduce the kernel size and improve its performance.
11 #
12 # For further information on compiling NetBSD kernels, see the config(8)
13 # man page.
14 #
15 # For further information on hardware support for this architecture, see
16 # the intro(4) man page. For further information about kernel options
17 # for this architecture, see the options(4) man page. For an explanation
18 # of each device driver in this file see the section 4 man page for the
19 # device.
20
21 include "arch/arc/conf/std.arc"
22
23 options INCLUDE_CONFIG_FILE # embed config file in kernel binary
24
25 #ident "GENERIC-$Revision: 1.155 $"
26
27 maxusers 32 # estimated number of users
28
29 # Platform support
30 options PLATFORM_ACER_PICA_61 # PICA, NEC ImageRISCstation
31 options PLATFORM_DESKTECH_ARCSTATION_I # DeskStation rPC44
32 options PLATFORM_DESKTECH_TYNE # DeskStation Tyne
33 options PLATFORM_MICROSOFT_JAZZ # MIPS Magnum
34 options PLATFORM_NEC_J96A # NEC Express 5800/240 EISA R4K
35 options PLATFORM_NEC_JC94 # NEC Express 5800/230 PCI R4K
36 options PLATFORM_NEC_R94 # NEC RISCstation 2200 EISA
37 options PLATFORM_NEC_R96 # NEC Express RISCserver, RISCserver 2200
38 options PLATFORM_NEC_RAX94 # NEC RISCstation 2200 PCI
39 options PLATFORM_NEC_RD94 # NEC RISCstation 2250
40 options PLATFORM_SNI_RM200PCI
41
42 # CPU related options
43 makeoptions CPUFLAGS="-march=mips3 -mabi=32"
44
45 # Standard system options
46
47 options RTC_OFFSET=0 # hardware clock is this many mins. west of GMT
48 options NTP # NTP phase/frequency locked loop
49
50 options KTRACE # system call tracing via ktrace(1)
51
52 options SYSVMSG # System V-like message queues
53 options SYSVSEM # System V-like semaphores
54 options SYSVSHM # System V-like memory sharing
55 options P1003_1B_SEMAPHORE # p1003.1b semaphore support
56
57 options LKM # loadable kernel modules
58
59 options USERCONF # userconf(4) support
60 #options PIPE_SOCKETPAIR # smaller, but slower pipe(2)
61 options SYSCTL_INCLUDE_DESCR # Include sysctl descriptions in kernel
62
63 # Enable experimental buffer queue strategy for better responsiveness under
64 # high disk I/O load. Use it with caution - it's not proven to be stable yet.
65 #options BUFQ_READPRIO
66 #options BUFQ_PRIOCSCAN
67
68 # Diagnostic/debugging support options
69 #options DIAGNOSTIC # cheap kernel consistency checks
70 #options DEBUG # expensive debugging checks/support
71 #options KMEMSTATS # kernel memory statistics (vmstat -m)
72 options DDB # in-kernel debugger
73 #options DDB_HISTORY_SIZE=100 # enable history editing in DDB
74 #options KGDB # remote gdb
75 #options KGDB_DEVRATE=19200 # kernel gdb port rate (default 9600)
76 #options KGDB_DEV="17*256+0" # device for kernel gdb
77 #makeoptions DEBUG="-g" # compile full symbol table
78
79 # Compatibility options
80 #options TCP_COMPAT_42 # 4.2BSD TCP/IP bug compat. Not recommended.
81 options COMPAT_10 # NetBSD 1.0,
82 options COMPAT_11 # NetBSD 1.1,
83 options COMPAT_12 # NetBSD 1.2,
84 options COMPAT_13 # NetBSD 1.3,
85 options COMPAT_14 # NetBSD 1.4,
86 options COMPAT_15 # NetBSD 1.5,
87 options COMPAT_16 # NetBSD 1.6,
88 options COMPAT_20 # NetBSD 2.0,
89 options COMPAT_30 # NetBSD 3.0,
90 options COMPAT_40 # NetBSD 4.0 compatibility.
91 options COMPAT_43 # and 4.3BSD
92 options COMPAT_386BSD_MBRPART # recognize old partition ID
93 options COMPAT_BSDPTY # /dev/[pt]ty?? ptys.
94
95 # mipsel specific
96 options COMPAT_ULTRIX # Ultrix binary compatibility
97 options EXEC_ECOFF # Ultrix RISC binaries are ECOFF format
98
99 # File systems
100 file-system FFS # fast filesystem
101 file-system EXT2FS # second extended file system (linux)
102 file-system LFS # log-structured file system
103 file-system MFS # memory file system
104 file-system NTFS # Windows/NT file system (experimental)
105 file-system CD9660 # ISO 9660 + Rock Ridge file system
106 file-system MSDOSFS # MS-DOS file system
107 file-system NFS # Network File System client
108 file-system FDESC # /dev/fd
109 file-system KERNFS # /kern
110 file-system NULLFS # loopback file system
111 file-system OVERLAY # overlay file system
112 file-system PORTAL # portal filesystem (still experimental)
113 file-system PROCFS # /proc
114 file-system UMAPFS # NULLFS + uid and gid remapping
115 file-system UNION # union file system
116 #file-system CODA # Coda File System; also needs vcoda (below)
117 file-system PTYFS # /dev/pts/N support
118 #file-system TMPFS # Efficient memory file-system
119 #file-system UDF # experimental - OSTA UDF CD/DVD file-system
120
121 # File system options
122 options QUOTA # FFS quotas
123 #options FFS_EI # FFS Endian Independent support
124 options SOFTDEP # FFS soft updates support.
125 options WAPBL # File system journaling support - Experimental
126 #options UFS_DIRHASH # UFS Large Directory Hashing - Experimental
127 options NFSSERVER # Network File System server
128 #options EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and
129 # immutable) behave as system flags.
130 #options FFS_NO_SNAPSHOT # No FFS snapshot support
131
132 # Networking options
133 #options GATEWAY # IP packet forwarding
134 options INET # IP + ICMP + TCP + UDP
135 options INET6 # IPV6
136 #options IPSEC # IP security
137 #options IPSEC_ESP # IP security (encryption part; define w/IPSEC)
138 #options IPSEC_NAT_T # IPsec NAT traversal (NAT-T)
139 #options IPSEC_DEBUG # debug for IP security
140 #options MROUTING # IP multicast routing
141 #options PIM # Protocol Independent Multicast
142 #options ISO,TPIP # OSI networking
143 #options EON # OSI tunneling over IP
144 options NETATALK # AppleTalk networking protocols
145 options PPP_BSDCOMP # BSD-Compress compression support for PPP
146 options PPP_DEFLATE # Deflate compression support for PPP
147 options PPP_FILTER # Active filter support for PPP (requires bpf)
148 options PFIL_HOOKS # pfil(9) packet filter hooks
149 options IPFILTER_LOG # ipmon(8) log support
150 options IPFILTER_LOOKUP # ippool(8) support
151 #options IPFILTER_DEFAULT_BLOCK # block all packets by default
152 #options TCP_DEBUG # Record last TCP_NDEBUG packets with SO_DEBUG
153
154 #options ALTQ # Manipulate network interfaces' output queues
155 #options ALTQ_BLUE # Stochastic Fair Blue
156 #options ALTQ_CBQ # Class-Based Queueing
157 #options ALTQ_CDNR # Diffserv Traffic Conditioner
158 #options ALTQ_FIFOQ # First-In First-Out Queue
159 #options ALTQ_FLOWVALVE # RED/flow-valve (red-penalty-box)
160 #options ALTQ_HFSC # Hierarchical Fair Service Curve
161 #options ALTQ_LOCALQ # Local queueing discipline
162 #options ALTQ_PRIQ # Priority Queueing
163 #options ALTQ_RED # Random Early Detection
164 #options ALTQ_RIO # RED with IN/OUT
165 #options ALTQ_WFQ # Weighted Fair Queueing
166
167 # These options enable verbose messages for several subsystems.
168 # Warning, these may compile large string tables into the kernel!
169 #options EISAVERBOSE # verbose EISA device autoconfig messages
170 options MIIVERBOSE # verbose PHY autoconfig messages
171 options PCIVERBOSE # verbose PCI device autoconfig messages
172 #options PCI_CONFIG_DUMP # verbosely dump PCI config space
173 options SCSIVERBOSE # human readable SCSI error messages
174
175 # wscons terminal emulation
176 options WSEMUL_VT100 # VT100 emulation
177
178 # Kernel root file system and dump configuration.
179 options NFS_BOOT_DHCP,NFS_BOOT_BOOTPARAM
180 config netbsd root on ? type ?
181 #config netbsd root on sd0a type ffs
182 #config netbsd root on ? type nfs
183
184 #
185 # Device configuration
186 #
187
188 mainbus0 at root
189 cpu* at mainbus0
190
191 #### Jazz-Internal bus devices
192
193 # PLATFORM_ACER_PICA_61
194 # PLATFORM_MICROSOFT_JAZZ
195 # PLATFORM_NEC_J96A
196 # PLATFORM_NEC_JC94
197 # PLATFORM_NEC_R94
198 # PLATFORM_NEC_R96
199 # PLATFORM_NEC_RAX94
200 # PLATFORM_NEC_RD94
201 jazzio* at mainbus0 # Jazz-Internal bus host bridge.
202
203 timer0 at jazzio?
204 mcclock0 at jazzio?
205 #pc0 at jazzio?
206 #opms0 at jazzio?
207 vga0 at jazzio? # Jazz localbus VGA
208 pckbc0 at jazzio? # PC keyboard controller
209 com0 at jazzio?
210 com1 at jazzio?
211 lpt0 at jazzio?
212 sn0 at jazzio?
213
214 fdc0 at jazzio?
215 fd* at fdc? drive ?
216
217 asc0 at jazzio? flags 0x000000 # NCR53C9x SCSI
218 osiop* at jazzio? flags 0x00000 # NCR53C710 SCSI
219 oosiop* at jazzio? # NCR53C700 SCSI
220
221 #### ISA bus devices
222
223 # PLATFORM_ACER_PICA_61
224 # PLATFORM_MICROSOFT_JAZZ
225 # PLATFORM_NEC_J96A
226 # PLATFORM_NEC_R94
227 # PLATFORM_NEC_R96
228 jazzisabr* at mainbus0 # Jazz-(E)ISA bus bridge.
229 isa* at jazzisabr?
230
231 # PLATFORM_DESKTECH_ARCSTATION_I
232 arcsisabr* at mainbus0 # DeskStation rPC44 ISA host bridge.
233 isa* at arcsisabr?
234
235 # PLATFORM_DESKTECH_TYNE
236 tyneisabr* at mainbus0 # DeskStation Tyne ISA host bridge.
237 isa* at tyneisabr?
238
239 #isadma0 at isa?
240
241 isapnp0 at isa?
242
243 timer0 at isa? port 0x40 irq 0
244 mcclock0 at isa? port 0x70
245
246 #pc0 at isa? irq 1 # generic PC console device
247 #opms0 at isa? irq 12 # PS/2 auxiliary port mouse
248 vga0 at isa?
249 #options VGA_RASTERCONSOLE
250 options VGA_RESET
251 pckbc0 at isa? # PC keyboard controller
252 com0 at isa? port 0x3f8 irq 4
253 com1 at isa? port 0x2f8 irq 3
254 com2 at isa? port 0x3e8 irq 4
255 com3 at isa? port 0x2e8 irq 3
256 ast0 at isa? port 0x1a0 irq 3 # AST 4-port serial cards
257 com* at ast? slave ?
258
259 # Joystick driver. Probe is a little strange; add only if you have one.
260 #joy0 at isa? port 0x201
261
262 # ISA ST506, ESDI, and IDE controllers
263 # Use flags 0x01 if you want to try to use 32bits data I/O (the driver will
264 # fall back to 16bits I/O if 32bits I/O are not functional).
265 # Some controllers pass the initial 32bit test, but will fail later.
266 wdc0 at isa? port 0x1f0 irq 14 flags 0x00
267 #wdc1 at isa? port 0x170 irq 15 flags 0x00
268 wdc* at isapnp?
269
270 # ISA parallel printer interfaces
271 lpt0 at isa? port 0x378 irq 7
272
273 # ISA network interfaces
274 #ec0 at isa? port 0x250 iomem 0xd8000 irq 9 # 3Com 3c503 Ethernet
275 ep* at isa? port ? irq ? # 3C509 ethernet cards
276 ep* at isapnp? # 3C509B ethernet card
277 ne0 at isa? port 0x280 irq 9 # NE[12]000 ethernet cards
278 ne1 at isa? port 0x300 irq 10
279 ne* at isapnp? # NE[12]000 PnP ethernet
280 we0 at isa? port 0x280 iomem 0xd0000 irq 9 # WD/SMC Ethernet
281 we1 at isa? port 0x300 iomem 0xcc000 irq 10
282
283 # XXX - should be configured
284 #btl0 at isa? port 0x330 irq ? drq ?
285
286 #### PCI bus devices
287
288 # PLATFORM_NEC_JC94
289 # PLATFORM_NEC_RAX94
290 # PLATFORM_NEC_RD94
291 necpb* at mainbus0 # NEC RISCstation PCI host bridge.
292 pci* at necpb?
293 pci* at ppb? bus ?
294 options PCI_NETBSD_CONFIGURE
295
296 ppb* at pci? dev ? function ? # PCI-PCI bridges
297
298 # PCI cryptographic devices
299 hifn* at pci? dev ? function ? # Hifn 7755/7811/795x
300 ubsec* at pci? dev ? function ? # Broadcom 5501/5601/580x/582x
301
302 #vga* at pci? dev ? function ?
303 tga* at pci? dev ? function ? # DEC ZLXp-E[123] Graphics
304
305 ahc* at pci? dev ? function ? # Adaptec [23]94x, aic78x0 SCSI
306 iha* at pci? dev ? function ? # Initio INIC-940/950 SCSI
307 pcscp* at pci? dev ? function ? # AMD Am53c974 PCscsi-PCI SCSI
308 siop* at pci? dev ? function ? # NCR/Symbios 53c8xx SCSI
309 esiop* at pci? dev ? function ? # NCR/Symbios 53c875/95/1010
310 trm* at pci? dev ? function ? # Tekram DC-395/315 SCSI
311
312 # PCI IDE controllers - see pciide(4) for supported hardware.
313 # The 0x0001 flag force the driver to use DMA, even if the driver doesn't know
314 # how to set up DMA modes for this chip. This may work, or may cause
315 # a machine hang with some controllers.
316 pciide* at pci? dev ? function ? flags 0x0000 # GENERIC pciide driver
317 acardide* at pci? dev ? function ? # Acard IDE controllers
318 #aceride* at pci? dev ? function ? # Acer Lab IDE controllers
319 artsata* at pci? dev ? function ? # Intel i31244 SATA controller
320 cmdide* at pci? dev ? function ? # CMD tech IDE controllers
321 cypide* at pci? dev ? function ? # Cypress IDE controllers
322 hptide* at pci? dev ? function ? # Triones/HighPoint IDE controllers
323 optiide* at pci? dev ? function ? # Opti IDE controllers
324 pdcide* at pci? dev ? function ? # Promise IDE controllers
325 pdcsata* at pci? dev ? function ? # Promise SATA150 controllers
326 satalink* at pci? dev ? function ? # SiI SATALink controllers
327 #siside* at pci? dev ? function ? # SiS IDE controllers
328 slide* at pci? dev ? function ? # Symphony Labs IDE controllers
329 #viaide* at pci? dev ? function ? # VIA/AMD/Nvidia IDE controllers
330
331 epic* at pci? dev ? function ? # SMC EPIC/100 Ethernet
332 ex* at pci? dev ? function ? # 3Com 90x[BC]
333 fxp* at pci? dev ? function ? # Intel EtherExpress PRO
334 ne* at pci? dev ? function ? # NE2000-compatible
335 pcn* at pci? dev ? function ? # AMD PCnet-PCI Ethernet
336 rtk* at pci? dev ? function ? # Realtek 8129/8139
337 sip* at pci? dev ? function ? # SiS 900/DP83815 Ethernet
338 tlp* at pci? dev ? function ? # DECchip 21x4x and clones
339
340 #### MII/PHY support
341
342 bmtphy* at mii? phy ? # Broadcom BCM5201 and BCM5202 PHYs
343 exphy* at mii? phy ? # 3Com internal PHYs
344 icsphy* at mii? phy ? # Integrated Circuit Systems ICS189x
345 inphy* at mii? phy ? # Intel 82555 PHYs
346 iophy* at mii? phy ? # Intel 82553 PHYs
347 lxtphy* at mii? phy ? # Level One LXT-970 PHYs
348 nsphy* at mii? phy ? # NS83840 PHYs
349 nsphyter* at mii? phy ? # NS83843 PHYs
350 qsphy* at mii? phy ? # Quality Semiconductor QS6612 PHYs
351 sqphy* at mii? phy ? # Seeq 80220/80221/80223 PHYs
352 tlphy* at mii? phy ? # ThunderLAN PHYs
353 tqphy* at mii? phy ? # TDK Semiconductor PHYs
354 ukphy* at mii? phy ? # generic unknown PHYs
355
356 # SCSI bus support
357 scsibus* at scsi?
358
359 #### SCSI bus devices
360
361 sd* at scsibus? target ? lun ?
362 st* at scsibus? target ? lun ?
363 cd* at scsibus? target ? lun ?
364 ch* at scsibus? target ? lun ?
365 ss* at scsibus? target ? lun ?
366 uk* at scsibus? target ? lun ?
367
368 # ATA (IDE) bus support
369 atabus* at ata?
370
371 # IDE drives
372 # Flags are used only with controllers that support DMA operations
373 # and mode settings (e.g. some pciide controllers)
374 # The lowest order four bits (rightmost digit) of the flags define the PIO
375 # mode to use, the next set of four bits the DMA mode and the third set the
376 # UltraDMA mode. For each set of four bits, the 3 lower bits define the mode
377 # to use, and the last bit must be 1 for this setting to be used.
378 # For DMA and UDMA, 0xf (1111) means 'disable'.
379 # 0x0fac means 'use PIO mode 4, DMA mode 2, disable UltraDMA'.
380 # (0xc=1100, 0xa=1010, 0xf=1111)
381 # 0x0000 means "use whatever the drive claims to support".
382 wd* at atabus? drive ? flags 0x0000
383
384 # ATAPI bus support
385 atapibus* at atapi?
386
387 #### ATAPI bus devices
388
389 # flags have the same meaning as for IDE drives.
390 cd* at atapibus? drive ? flags 0x0000 # ATAPI CD-ROM drives
391 sd* at atapibus? drive ? flags 0x0000 # ATAPI disk drives
392 uk* at atapibus? drive ? flags 0x0000 # ATAPI unknown
393
394 #### Workstation Console attachments
395
396 wsdisplay* at vga?
397 wsdisplay* at tga?
398 pckbd* at pckbc? # PC keyboard (kbd port)
399 wskbd* at pckbd?
400 pms* at pckbc? # PS/2-style mouse (aux port)
401 wsmouse* at pms?
402
403 #### Pseudo devices
404
405 pseudo-device crypto # /dev/crypto device
406 pseudo-device swcrypto # software crypto implementation
407
408 # disk/mass storage pseudo-devices
409 pseudo-device ccd 4 # concatenated/striped disk devices
410 #pseudo-device cgd 4 # cryptographic disk devices
411 pseudo-device raid 8 # RAIDframe disk driver
412 #options RAID_AUTOCONFIG
413 # Options to enable various other RAIDframe RAID types.
414 #options RF_INCLUDE_EVENODD=1
415 #options RF_INCLUDE_RAID5_RS=1
416 #options RF_INCLUDE_PARITYLOGGING=1
417 #options RF_INCLUDE_CHAINDECLUSTER=1
418 #options RF_INCLUDE_INTERDECLUSTER=1
419 #options RF_INCLUDE_PARITY_DECLUSTERING=1
420 #options RF_INCLUDE_PARITY_DECLUSTERING_DS=1
421 pseudo-device fss 4 # file system snapshot device
422 pseudo-device md 1 # memory disk device (ramdisk)
423 pseudo-device vnd # disk-like interface to files
424 #options VND_COMPRESSION # compressed vnd(4)
425
426 # network pseudo-devices
427 pseudo-device bpfilter # Berkeley packet filter
428 #pseudo-device carp # Common Address Redundancy Protocol
429 pseudo-device ipfilter # IP filter (firewall) and NAT
430 pseudo-device loop 1 # network loopback
431 pseudo-device ppp # Point-to-Point Protocol
432 pseudo-device pppoe # PPP over Ethernet (RFC 2516)
433 pseudo-device sl # Serial Line IP
434 #pseudo-device strip # Starmode Radio IP (Metricom)
435 pseudo-device tun # network tunneling over tty
436 pseudo-device tap # virtual Ethernet
437 #pseudo-device gre # generic L3 over IP tunnel
438 pseudo-device gif # IPv[46] over IPv[46] tunnel (RFC1933)
439 #pseudo-device faith # IPv[46] tcp relay translation i/f
440 pseudo-device stf # 6to4 IPv6 over IPv4 encapsulation
441 pseudo-device vlan # IEEE 802.1q encapsulation
442 pseudo-device bridge # simple inter-network bridging
443 #options BRIDGE_IPF # bridge uses IP/IPv6 pfil hooks too
444 pseudo-device agr # IEEE 802.3ad link aggregation
445
446 #
447 # accept filters
448 pseudo-device accf_data # "dataready" accept filter
449 pseudo-device accf_http # "httpready" accept filter
450
451 # miscellaneous pseudo-devices
452 pseudo-device pty # pseudo-terminals
453 #pseudo-device sequencer 1 # MIDI sequencer
454 # rnd works; RND_COM does not on port arc yet.
455 pseudo-device rnd # /dev/random and in-kernel generator
456 #options RND_COM # use "com" randomness as well (BROKEN)
457 pseudo-device clockctl # user control of clock subsystem
458
459 # a pseudo device needed for Coda # also needs CODA (above)
460 #pseudo-device vcoda 4 # coda minicache <-> venus comm.
461
462 # mouse & keyboard multiplexor pseudo-devices
463 #pseudo-device wsmux
464 pseudo-device ksyms # /dev/ksyms
465 #pseudo-device pf # PF packet filter
466 #pseudo-device pflog # PF log if
467
468 # Veriexec
469 #
470 # a pseudo device needed for veriexec
471 #pseudo-device veriexec 1
472 #
473 # Uncomment the fingerprint methods below that are desired. Note that
474 # removing fingerprint methods will have almost no impact on the kernel
475 # code size.
476 #
477 #options VERIFIED_EXEC_FP_RMD160
478 #options VERIFIED_EXEC_FP_SHA256
479 #options VERIFIED_EXEC_FP_SHA384
480 #options VERIFIED_EXEC_FP_SHA512
481 #options VERIFIED_EXEC_FP_SHA1
482 #options VERIFIED_EXEC_FP_MD5
483