GENERIC revision 1.193 1 # $NetBSD: GENERIC,v 1.193 2019/04/26 21:40:29 sevan 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.193 $"
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
56 options USERCONF # userconf(4) support
57 #options PIPE_SOCKETPAIR # smaller, but slower pipe(2)
58 options SYSCTL_INCLUDE_DESCR # Include sysctl descriptions in kernel
59
60 # Alternate buffer queue strategies for better responsiveness under high
61 # disk I/O load.
62 #options BUFQ_READPRIO
63 options BUFQ_PRIOCSCAN
64
65 # Diagnostic/debugging support options
66 #options DIAGNOSTIC # cheap kernel consistency checks
67 #options DEBUG # expensive debugging checks/support
68 options DDB # in-kernel debugger
69 #options DDB_HISTORY_SIZE=100 # enable history editing in DDB
70 #options KGDB # remote gdb
71 #options KGDB_DEVRATE=19200 # kernel gdb port rate (default 9600)
72 #options KGDB_DEV="17*256+0" # device for kernel gdb
73 #makeoptions DEBUG="-g" # compile full symbol table
74
75 # Compatibility options
76 include "conf/compat_netbsd10.config"
77
78 options COMPAT_386BSD_MBRPART # recognize old partition ID
79
80 # mipsel specific
81 options COMPAT_ULTRIX # Ultrix binary compatibility
82 options EXEC_ECOFF # Ultrix RISC binaries are ECOFF format
83
84 # File systems
85 file-system FFS # fast filesystem
86 file-system EXT2FS # second extended file system (linux)
87 file-system LFS # log-structured file system
88 file-system MFS # memory file system
89 file-system NTFS # Windows/NT file system (experimental)
90 file-system CD9660 # ISO 9660 + Rock Ridge file system
91 file-system MSDOSFS # MS-DOS file system
92 file-system NFS # Network File System client
93 file-system FDESC # /dev/fd
94 file-system KERNFS # /kern
95 file-system NULLFS # loopback file system
96 file-system OVERLAY # overlay file system
97 file-system PUFFS # Userspace file systems (e.g. ntfs-3g & sshfs)
98 file-system PROCFS # /proc
99 file-system UMAPFS # NULLFS + uid and gid remapping
100 file-system UNION # union file system
101 #file-system CODA # Coda File System; also needs vcoda (below)
102 file-system PTYFS # /dev/pts/N support
103 file-system TMPFS # Efficient memory file-system
104 #file-system UDF # experimental - OSTA UDF CD/DVD file-system
105
106 # File system options
107 options QUOTA # legacy UFS quotas
108 options QUOTA2 # new, in-filesystem UFS quotas
109 #options FFS_EI # FFS Endian Independent support
110 options WAPBL # File system journaling support
111 #options UFS_DIRHASH # UFS Large Directory Hashing - Experimental
112 options NFSSERVER # Network File System server
113 #options EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and
114 # immutable) behave as system flags.
115 #options FFS_NO_SNAPSHOT # No FFS snapshot support
116 options UFS_EXTATTR # Extended attribute support for UFS1
117
118 # Networking options
119 #options GATEWAY # IP packet forwarding
120 options INET # IP + ICMP + TCP + UDP
121 options INET6 # IPV6
122 #options IPSEC # IP security
123 #options IPSEC_DEBUG # debug for IP security
124 #options MROUTING # IP multicast routing
125 #options PIM # Protocol Independent Multicast
126 options NETATALK # AppleTalk networking protocols
127 options PPP_BSDCOMP # BSD-Compress compression support for PPP
128 options PPP_DEFLATE # Deflate compression support for PPP
129 options PPP_FILTER # Active filter support for PPP (requires bpf)
130 #options TCP_DEBUG # Record last TCP_NDEBUG packets with SO_DEBUG
131
132 #options ALTQ # Manipulate network interfaces' output queues
133 #options ALTQ_BLUE # Stochastic Fair Blue
134 #options ALTQ_CBQ # Class-Based Queueing
135 #options ALTQ_CDNR # Diffserv Traffic Conditioner
136 #options ALTQ_FIFOQ # First-In First-Out Queue
137 #options ALTQ_FLOWVALVE # RED/flow-valve (red-penalty-box)
138 #options ALTQ_HFSC # Hierarchical Fair Service Curve
139 #options ALTQ_LOCALQ # Local queueing discipline
140 #options ALTQ_PRIQ # Priority Queueing
141 #options ALTQ_RED # Random Early Detection
142 #options ALTQ_RIO # RED with IN/OUT
143 #options ALTQ_WFQ # Weighted Fair Queueing
144
145 # JIT compiler for bpfilter
146 #options SLJIT
147 #options BPFJIT
148
149 # These options enable verbose messages for several subsystems.
150 # Warning, these may compile large string tables into the kernel!
151 #options EISAVERBOSE # verbose EISA device autoconfig messages
152 options MIIVERBOSE # verbose PHY autoconfig messages
153 options PCIVERBOSE # verbose PCI device autoconfig messages
154 #options PCI_CONFIG_DUMP # verbosely dump PCI config space
155 options SCSIVERBOSE # human readable SCSI error messages
156
157 # wscons terminal emulation
158 options WSEMUL_VT100 # VT100 emulation
159 options WSDISPLAY_COMPAT_USL # wsconscfg VT handling
160
161 # Kernel root file system and dump configuration.
162 options NFS_BOOT_DHCP,NFS_BOOT_BOOTPARAM
163 config netbsd root on ? type ?
164 #config netbsd root on sd0a type ffs
165 #config netbsd root on ? type nfs
166
167 #
168 # Device configuration
169 #
170
171 mainbus0 at root
172 cpu* at mainbus0
173
174 #### Jazz-Internal bus devices
175
176 # PLATFORM_ACER_PICA_61
177 # PLATFORM_MICROSOFT_JAZZ
178 # PLATFORM_NEC_J96A
179 # PLATFORM_NEC_JC94
180 # PLATFORM_NEC_R94
181 # PLATFORM_NEC_R96
182 # PLATFORM_NEC_RAX94
183 # PLATFORM_NEC_RD94
184 jazzio* at mainbus0 # Jazz-Internal bus host bridge.
185
186 timer0 at jazzio?
187 mcclock0 at jazzio?
188 #pc0 at jazzio?
189 #opms0 at jazzio?
190 vga0 at jazzio? # Jazz localbus VGA
191 pckbc0 at jazzio? # PC keyboard controller
192 com0 at jazzio?
193 com1 at jazzio?
194 lpt0 at jazzio?
195 sn0 at jazzio?
196
197 fdc0 at jazzio?
198 fd* at fdc? drive ?
199
200 asc0 at jazzio? flags 0x000000 # NCR53C9x SCSI
201 osiop* at jazzio? flags 0x00000 # NCR53C710 SCSI
202 oosiop* at jazzio? # NCR53C700 SCSI
203
204 #### ISA bus devices
205
206 # PLATFORM_ACER_PICA_61
207 # PLATFORM_MICROSOFT_JAZZ
208 # PLATFORM_NEC_J96A
209 # PLATFORM_NEC_R94
210 # PLATFORM_NEC_R96
211 jazzisabr* at mainbus0 # Jazz-(E)ISA bus bridge.
212 isa* at jazzisabr?
213
214 # PLATFORM_DESKTECH_ARCSTATION_I
215 arcsisabr* at mainbus0 # DeskStation rPC44 ISA host bridge.
216 isa* at arcsisabr?
217
218 # PLATFORM_DESKTECH_TYNE
219 tyneisabr* at mainbus0 # DeskStation Tyne ISA host bridge.
220 isa* at tyneisabr?
221
222 #isadma0 at isa?
223
224 isapnp0 at isa?
225
226 timer0 at isa? port 0x40 irq 0
227 mcclock0 at isa? port 0x70
228
229 #pc0 at isa? irq 1 # generic PC console device
230 #opms0 at isa? irq 12 # PS/2 auxiliary port mouse
231 vga0 at isa?
232 #options VGA_RASTERCONSOLE
233 options VGA_RESET
234 pckbc0 at isa? # PC keyboard controller
235 com0 at isa? port 0x3f8 irq 4
236 com1 at isa? port 0x2f8 irq 3
237 com2 at isa? port 0x3e8 irq 4
238 com3 at isa? port 0x2e8 irq 3
239 ast0 at isa? port 0x1a0 irq 3 # AST 4-port serial cards
240 com* at ast? slave ?
241
242 # Joystick driver. Probe is a little strange; add only if you have one.
243 #joy0 at isa? port 0x201
244
245 # ISA ST506, ESDI, and IDE controllers
246 # Use flags 0x01 if you want to try to use 32bits data I/O (the driver will
247 # fall back to 16bits I/O if 32bits I/O are not functional).
248 # Some controllers pass the initial 32bit test, but will fail later.
249 wdc0 at isa? port 0x1f0 irq 14 flags 0x00
250 #wdc1 at isa? port 0x170 irq 15 flags 0x00
251 wdc* at isapnp?
252
253 # ISA parallel printer interfaces
254 lpt0 at isa? port 0x378 irq 7
255
256 # ISA network interfaces
257 #ec0 at isa? port 0x250 iomem 0xd8000 irq 9 # 3Com 3c503 Ethernet
258 ep* at isa? port ? irq ? # 3C509 ethernet cards
259 ep* at isapnp? # 3C509B ethernet card
260 ne0 at isa? port 0x280 irq 9 # NE[12]000 ethernet cards
261 ne1 at isa? port 0x300 irq 10
262 ne* at isapnp? # NE[12]000 PnP ethernet
263 we0 at isa? port 0x280 iomem 0xd0000 irq 9 # WD/SMC Ethernet
264 we1 at isa? port 0x300 iomem 0xcc000 irq 10
265
266 # XXX - should be configured
267 #btl0 at isa? port 0x330 irq ? drq ?
268
269 #### PCI bus devices
270
271 # PLATFORM_NEC_JC94
272 # PLATFORM_NEC_RAX94
273 # PLATFORM_NEC_RD94
274 necpb* at mainbus0 # NEC RISCstation PCI host bridge.
275 pci* at necpb?
276 pci* at ppb? bus ?
277 options PCI_NETBSD_CONFIGURE
278
279 ppb* at pci? dev ? function ? # PCI-PCI bridges
280
281 # PCI cryptographic devices
282 hifn* at pci? dev ? function ? # Hifn 7755/7811/795x
283 ubsec* at pci? dev ? function ? # Broadcom 5501/5601/580x/582x
284
285 #vga* at pci? dev ? function ?
286 tga* at pci? dev ? function ? # DEC ZLXp-E[123] Graphics
287
288 # PCI SCSI controllers
289 adv* at pci? dev ? function ? # AdvanSys 1200[A,B], 9xx[U,UA]
290 ahc* at pci? dev ? function ? # Adaptec [23]94x, aic78x0 SCSI
291 iha* at pci? dev ? function ? # Initio INIC-940/950 SCSI
292 njs* at pci? dev ? function ? # Workbit NinjaSCSI-32
293 pcscp* at pci? dev ? function ? # AMD Am53c974 PCscsi-PCI SCSI
294 siop* at pci? dev ? function ? # NCR/Symbios 53c8xx SCSI
295 esiop* at pci? dev ? function ? # NCR/Symbios 53c875/95/1010
296 trm* at pci? dev ? function ? # Tekram DC-395/315 SCSI
297
298 # PCI IDE controllers - see pciide(4) for supported hardware.
299 # The 0x0001 flag force the driver to use DMA, even if the driver doesn't know
300 # how to set up DMA modes for this chip. This may work, or may cause
301 # a machine hang with some controllers.
302 pciide* at pci? dev ? function ? flags 0x0000 # GENERIC pciide driver
303 acardide* at pci? dev ? function ? # Acard IDE controllers
304 #aceride* at pci? dev ? function ? # Acer Lab IDE controllers
305 #artsata* at pci? dev ? function ? # Intel i31244 SATA controller
306 cmdide* at pci? dev ? function ? # CMD tech IDE controllers
307 #cypide* at pci? dev ? function ? # Cypress IDE controllers
308 hptide* at pci? dev ? function ? # Triones/HighPoint IDE controllers
309 optiide* at pci? dev ? function ? # Opti IDE controllers
310 pdcide* at pci? dev ? function ? # Promise IDE controllers
311 pdcsata* at pci? dev ? function ? # Promise SATA150 controllers
312 satalink* at pci? dev ? function ? # SiI SATALink controllers
313 #siside* at pci? dev ? function ? # SiS IDE controllers
314 slide* at pci? dev ? function ? # Symphony Labs IDE controllers
315 viaide* at pci? dev ? function ? # VIA/AMD/Nvidia IDE controllers
316
317 # PCI network devices
318 #an* at pci? dev ? function ? # Aironet PC4500/PC4800 (802.11)
319 bge* at pci? dev ? function ? # Broadcom 570x gigabit Ethernet
320 ep* at pci? dev ? function ? # 3Com 3c59x
321 epic* at pci? dev ? function ? # SMC EPIC/100 Ethernet
322 #esh* at pci? dev ? function ? # Essential HIPPI card
323 ex* at pci? dev ? function ? # 3Com 90x[BC]
324 #fpa* at pci? dev ? function ? # DEC DEFPA FDDI
325 fxp* at pci? dev ? function ? # Intel EtherExpress PRO
326 gsip* at pci? dev ? function ? # NS83820 Gigabit Ethernet
327 #hme* at pci? dev ? function ? # Sun STP2002-STQ
328 #le* at pci? dev ? function ? # PCnet-PCI Ethernet
329 #mtd* at pci? dev ? function ? # Myson MTD803 3-in-1 Ethernet
330 ne* at pci? dev ? function ? # NE2000-compatible
331 #ntwoc* at pci? dev ? function ? # Riscom/N2 PCI Sync Serial
332 pcn* at pci? dev ? function ? # AMD PCnet-PCI Ethernet
333 re* at pci? dev ? function ? # Realtek 8139C+/8169/8110S
334 rtk* at pci? dev ? function ? # Realtek 8129/8139
335 sf* at pci? dev ? function ? # Adaptec AIC-6915 Ethernet
336 sip* at pci? dev ? function ? # SiS 900/DP83815 Ethernet
337 #skc* at pci? dev ? function ? # SysKonnect SK9821
338 #sk* at skc? # SysKonnect SK9821
339 ste* at pci? dev ? function ? # Sundance ST-201 Ethernet
340 #stge* at pci? dev ? function ? # Sundance/Tamarack TC9021
341 #ti* at pci? dev ? function ? # Alteon ACEnic gigabit Ethernet
342 tl* at pci? dev ? function ? # ThunderLAN-based Ethernet
343 tlp* at pci? dev ? function ? # DECchip 21x4x and clones
344 vge* at pci? dev ? function ? # VIA VT612X Gigabit Ethernet
345 vr* at pci? dev ? function ? # VIA Rhine Fast Ethernet
346 #wi* at pci? dev ? function ? # Intersil Prism Mini-PCI
347 wm* at pci? dev ? function ? # Intel 82543/82544 gigabit
348
349 #### MII/PHY support
350 acphy* at mii? phy ? # Altima AC101 and AMD Am79c874 PHYs
351 amhphy* at mii? phy ? # AMD 79c901 Ethernet PHYs
352 bmtphy* at mii? phy ? # Broadcom BCM5201 and BCM5202 PHYs
353 brgphy* at mii? phy ? # Broadcom BCM5400-family PHYs
354 ciphy* at mii? phy ? # Cicada CS8201 Gig-E PHYs
355 dmphy* at mii? phy ? # Davicom DM9101 PHYs
356 exphy* at mii? phy ? # 3Com internal PHYs
357 #gentbi* at mii? phy ? # Generic Ten-Bit 1000BASE-[CLS]X PHYs
358 glxtphy* at mii? phy ? # Level One LXT-1000 PHYs
359 gphyter* at mii? phy ? # NS83861 Gig-E PHY
360 icsphy* at mii? phy ? # Integrated Circuit Systems ICS189x
361 ikphy* at mii? phy ? # Intel 82563 PHYs
362 inphy* at mii? phy ? # Intel 82555 PHYs
363 iophy* at mii? phy ? # Intel 82553 PHYs
364 lxtphy* at mii? phy ? # Level One LXT-970 PHYs
365 makphy* at mii? phy ? # Marvell Semiconductor 88E1000 PHYs
366 nsphy* at mii? phy ? # NS83840 PHYs
367 nsphyter* at mii? phy ? # NS83843 PHYs
368 qsphy* at mii? phy ? # Quality Semiconductor QS6612 PHYs
369 sqphy* at mii? phy ? # Seeq 80220/80221/80223 PHYs
370 tlphy* at mii? phy ? # ThunderLAN PHYs
371 tqphy* at mii? phy ? # TDK Semiconductor PHYs
372 ukphy* at mii? phy ? # generic unknown PHYs
373 #urlphy* at mii? phy ? # Realtek RTL8150L internal PHYs
374
375 # SCSI bus support
376 scsibus* at scsi?
377
378 #### SCSI bus devices
379
380 sd* at scsibus? target ? lun ?
381 st* at scsibus? target ? lun ?
382 cd* at scsibus? target ? lun ?
383 ch* at scsibus? target ? lun ?
384 ss* at scsibus? target ? lun ?
385 uk* at scsibus? target ? lun ?
386
387 # ATA (IDE) bus support
388 atabus* at ata?
389
390 # IDE drives
391 # Flags are used only with controllers that support DMA operations
392 # and mode settings (e.g. some pciide controllers)
393 # The lowest order four bits (rightmost digit) of the flags define the PIO
394 # mode to use, the next set of four bits the DMA mode and the third set the
395 # UltraDMA mode. For each set of four bits, the 3 lower bits define the mode
396 # to use, and the last bit must be 1 for this setting to be used.
397 # For DMA and UDMA, 0xf (1111) means 'disable'.
398 # 0x0fac means 'use PIO mode 4, DMA mode 2, disable UltraDMA'.
399 # (0xc=1100, 0xa=1010, 0xf=1111)
400 # 0x0000 means "use whatever the drive claims to support".
401 wd* at atabus? drive ? flags 0x0000
402
403 # ATAPI bus support
404 atapibus* at atapi?
405
406 #### ATAPI bus devices
407
408 # flags have the same meaning as for IDE drives.
409 cd* at atapibus? drive ? flags 0x0000 # ATAPI CD-ROM drives
410 sd* at atapibus? drive ? flags 0x0000 # ATAPI disk drives
411 uk* at atapibus? drive ? flags 0x0000 # ATAPI unknown
412
413 #### Workstation Console attachments
414
415 wsdisplay* at vga?
416 wsdisplay* at tga?
417 pckbd* at pckbc? # PC keyboard (kbd port)
418 wskbd* at pckbd?
419 pms* at pckbc? # PS/2-style mouse (aux port)
420 wsmouse* at pms?
421
422 #### Pseudo devices
423
424 pseudo-device crypto # /dev/crypto device
425 pseudo-device swcrypto # software crypto implementation
426
427 # disk/mass storage pseudo-devices
428 pseudo-device ccd # concatenated/striped disk devices
429 #pseudo-device cgd # cryptographic disk devices
430 pseudo-device raid # RAIDframe disk driver
431 #options RAID_AUTOCONFIG
432 # Options to enable various other RAIDframe RAID types.
433 #options RF_INCLUDE_EVENODD=1
434 #options RF_INCLUDE_RAID5_RS=1
435 #options RF_INCLUDE_PARITYLOGGING=1
436 #options RF_INCLUDE_CHAINDECLUSTER=1
437 #options RF_INCLUDE_INTERDECLUSTER=1
438 #options RF_INCLUDE_PARITY_DECLUSTERING=1
439 #options RF_INCLUDE_PARITY_DECLUSTERING_DS=1
440 pseudo-device fss # file system snapshot device
441 pseudo-device md # memory disk device (ramdisk)
442 pseudo-device vnd # disk-like interface to files
443 #options VND_COMPRESSION # compressed vnd(4)
444 pseudo-device putter # for puffs and pud
445
446 # network pseudo-devices
447 pseudo-device bpfilter # Berkeley packet filter
448 pseudo-device carp # Common Address Redundancy Protocol
449 pseudo-device npf # NPF packet filter
450 pseudo-device loop # network loopback
451 pseudo-device ppp # Point-to-Point Protocol
452 pseudo-device pppoe # PPP over Ethernet (RFC 2516)
453 pseudo-device sl # Serial Line IP
454 #pseudo-device strip # Starmode Radio IP (Metricom)
455 pseudo-device tun # network tunneling over tty
456 pseudo-device tap # virtual Ethernet
457 #pseudo-device gre # generic L3 over IP tunnel
458 pseudo-device gif # IPv[46] over IPv[46] tunnel (RFC1933)
459 #pseudo-device faith # IPv[46] tcp relay translation i/f
460 pseudo-device stf # 6to4 IPv6 over IPv4 encapsulation
461 pseudo-device vlan # IEEE 802.1q encapsulation
462 pseudo-device bridge # simple inter-network bridging
463 #options BRIDGE_IPF # bridge uses IP/IPv6 pfil hooks too
464 pseudo-device agr # IEEE 802.3ad link aggregation
465
466 #
467 # accept filters
468 pseudo-device accf_data # "dataready" accept filter
469 pseudo-device accf_http # "httpready" accept filter
470
471 # miscellaneous pseudo-devices
472 pseudo-device pty # pseudo-terminals
473 #pseudo-device sequencer # MIDI sequencer
474 # rnd works; RND_COM does not on port arc yet.
475 #options RND_COM # use "com" randomness as well (BROKEN)
476 pseudo-device clockctl # user control of clock subsystem
477
478 # a pseudo device needed for Coda # also needs CODA (above)
479 #pseudo-device vcoda # coda minicache <-> venus comm.
480
481 # mouse & keyboard multiplexor pseudo-devices
482 #pseudo-device wsmux
483 pseudo-device ksyms # /dev/ksyms
484
485 include "dev/veriexec.config"
486