GENERIC revision 1.190
1# $NetBSD: GENERIC,v 1.190 2018/08/01 20:04:10 maxv 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 21include "arch/arc/conf/std.arc" 22 23options INCLUDE_CONFIG_FILE # embed config file in kernel binary 24 25#ident "GENERIC-$Revision: 1.190 $" 26 27maxusers 32 # estimated number of users 28 29# Platform support 30options PLATFORM_ACER_PICA_61 # PICA, NEC ImageRISCstation 31options PLATFORM_DESKTECH_ARCSTATION_I # DeskStation rPC44 32options PLATFORM_DESKTECH_TYNE # DeskStation Tyne 33options PLATFORM_MICROSOFT_JAZZ # MIPS Magnum 34options PLATFORM_NEC_J96A # NEC Express 5800/240 EISA R4K 35options PLATFORM_NEC_JC94 # NEC Express 5800/230 PCI R4K 36options PLATFORM_NEC_R94 # NEC RISCstation 2200 EISA 37options PLATFORM_NEC_R96 # NEC Express RISCserver, RISCserver 2200 38options PLATFORM_NEC_RAX94 # NEC RISCstation 2200 PCI 39options PLATFORM_NEC_RD94 # NEC RISCstation 2250 40options PLATFORM_SNI_RM200PCI 41 42# CPU related options 43makeoptions CPUFLAGS="-march=mips3 -mabi=32" 44 45# Standard system options 46 47options RTC_OFFSET=0 # hardware clock is this many mins. west of GMT 48options NTP # NTP phase/frequency locked loop 49 50options KTRACE # system call tracing via ktrace(1) 51 52options SYSVMSG # System V-like message queues 53options SYSVSEM # System V-like semaphores 54options SYSVSHM # System V-like memory sharing 55 56options USERCONF # userconf(4) support 57#options PIPE_SOCKETPAIR # smaller, but slower pipe(2) 58options 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 68options 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 76include "conf/compat_netbsd10.config" 77 78options COMPAT_386BSD_MBRPART # recognize old partition ID 79 80# mipsel specific 81options COMPAT_ULTRIX # Ultrix binary compatibility 82options EXEC_ECOFF # Ultrix RISC binaries are ECOFF format 83 84# File systems 85file-system FFS # fast filesystem 86file-system EXT2FS # second extended file system (linux) 87file-system LFS # log-structured file system 88file-system MFS # memory file system 89file-system NTFS # Windows/NT file system (experimental) 90file-system CD9660 # ISO 9660 + Rock Ridge file system 91file-system MSDOSFS # MS-DOS file system 92file-system NFS # Network File System client 93file-system FDESC # /dev/fd 94file-system KERNFS # /kern 95file-system NULLFS # loopback file system 96file-system OVERLAY # overlay file system 97file-system PUFFS # Userspace file systems (e.g. ntfs-3g & sshfs) 98file-system PROCFS # /proc 99file-system UMAPFS # NULLFS + uid and gid remapping 100file-system UNION # union file system 101#file-system CODA # Coda File System; also needs vcoda (below) 102file-system PTYFS # /dev/pts/N support 103file-system TMPFS # Efficient memory file-system 104#file-system UDF # experimental - OSTA UDF CD/DVD file-system 105 106# File system options 107options QUOTA # legacy UFS quotas 108options QUOTA2 # new, in-filesystem UFS quotas 109#options FFS_EI # FFS Endian Independent support 110options WAPBL # File system journaling support 111#options UFS_DIRHASH # UFS Large Directory Hashing - Experimental 112options 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 116options UFS_EXTATTR # Extended attribute support for UFS1 117 118# Networking options 119#options GATEWAY # IP packet forwarding 120options INET # IP + ICMP + TCP + UDP 121options 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 126options NETATALK # AppleTalk networking protocols 127options PPP_BSDCOMP # BSD-Compress compression support for PPP 128options PPP_DEFLATE # Deflate compression support for PPP 129options 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 152options MIIVERBOSE # verbose PHY autoconfig messages 153options PCIVERBOSE # verbose PCI device autoconfig messages 154#options PCI_CONFIG_DUMP # verbosely dump PCI config space 155options SCSIVERBOSE # human readable SCSI error messages 156 157# wscons terminal emulation 158options WSEMUL_VT100 # VT100 emulation 159options WSDISPLAY_COMPAT_USL # wsconscfg VT handling 160 161# Kernel root file system and dump configuration. 162options NFS_BOOT_DHCP,NFS_BOOT_BOOTPARAM 163config 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 171mainbus0 at root 172cpu* 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 184jazzio* at mainbus0 # Jazz-Internal bus host bridge. 185 186timer0 at jazzio? 187mcclock0 at jazzio? 188#pc0 at jazzio? 189#opms0 at jazzio? 190vga0 at jazzio? # Jazz localbus VGA 191pckbc0 at jazzio? # PC keyboard controller 192com0 at jazzio? 193com1 at jazzio? 194lpt0 at jazzio? 195sn0 at jazzio? 196 197fdc0 at jazzio? 198fd* at fdc? drive ? 199 200asc0 at jazzio? flags 0x000000 # NCR53C9x SCSI 201osiop* at jazzio? flags 0x00000 # NCR53C710 SCSI 202oosiop* 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 211jazzisabr* at mainbus0 # Jazz-(E)ISA bus bridge. 212isa* at jazzisabr? 213 214# PLATFORM_DESKTECH_ARCSTATION_I 215arcsisabr* at mainbus0 # DeskStation rPC44 ISA host bridge. 216isa* at arcsisabr? 217 218# PLATFORM_DESKTECH_TYNE 219tyneisabr* at mainbus0 # DeskStation Tyne ISA host bridge. 220isa* at tyneisabr? 221 222#isadma0 at isa? 223 224isapnp0 at isa? 225 226timer0 at isa? port 0x40 irq 0 227mcclock0 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 231vga0 at isa? 232#options VGA_RASTERCONSOLE 233options VGA_RESET 234pckbc0 at isa? # PC keyboard controller 235com0 at isa? port 0x3f8 irq 4 236com1 at isa? port 0x2f8 irq 3 237com2 at isa? port 0x3e8 irq 4 238com3 at isa? port 0x2e8 irq 3 239ast0 at isa? port 0x1a0 irq 3 # AST 4-port serial cards 240com* 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. 249wdc0 at isa? port 0x1f0 irq 14 flags 0x00 250#wdc1 at isa? port 0x170 irq 15 flags 0x00 251wdc* at isapnp? 252 253# ISA parallel printer interfaces 254lpt0 at isa? port 0x378 irq 7 255 256# ISA network interfaces 257#ec0 at isa? port 0x250 iomem 0xd8000 irq 9 # 3Com 3c503 Ethernet 258ep* at isa? port ? irq ? # 3C509 ethernet cards 259ep* at isapnp? # 3C509B ethernet card 260ne0 at isa? port 0x280 irq 9 # NE[12]000 ethernet cards 261ne1 at isa? port 0x300 irq 10 262ne* at isapnp? # NE[12]000 PnP ethernet 263we0 at isa? port 0x280 iomem 0xd0000 irq 9 # WD/SMC Ethernet 264we1 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 274necpb* at mainbus0 # NEC RISCstation PCI host bridge. 275pci* at necpb? 276pci* at ppb? bus ? 277options PCI_NETBSD_CONFIGURE 278 279ppb* at pci? dev ? function ? # PCI-PCI bridges 280 281# PCI cryptographic devices 282hifn* at pci? dev ? function ? # Hifn 7755/7811/795x 283ubsec* at pci? dev ? function ? # Broadcom 5501/5601/580x/582x 284 285#vga* at pci? dev ? function ? 286tga* at pci? dev ? function ? # DEC ZLXp-E[123] Graphics 287 288# PCI SCSI controllers 289adv* at pci? dev ? function ? # AdvanSys 1200[A,B], 9xx[U,UA] 290ahc* at pci? dev ? function ? # Adaptec [23]94x, aic78x0 SCSI 291iha* at pci? dev ? function ? # Initio INIC-940/950 SCSI 292njs* at pci? dev ? function ? # Workbit NinjaSCSI-32 293pcscp* at pci? dev ? function ? # AMD Am53c974 PCscsi-PCI SCSI 294siop* at pci? dev ? function ? # NCR/Symbios 53c8xx SCSI 295esiop* at pci? dev ? function ? # NCR/Symbios 53c875/95/1010 296trm* 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. 302pciide* at pci? dev ? function ? flags 0x0000 # GENERIC pciide driver 303acardide* 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 306cmdide* at pci? dev ? function ? # CMD tech IDE controllers 307#cypide* at pci? dev ? function ? # Cypress IDE controllers 308hptide* at pci? dev ? function ? # Triones/HighPoint IDE controllers 309optiide* at pci? dev ? function ? # Opti IDE controllers 310pdcide* at pci? dev ? function ? # Promise IDE controllers 311pdcsata* at pci? dev ? function ? # Promise SATA150 controllers 312satalink* at pci? dev ? function ? # SiI SATALink controllers 313#siside* at pci? dev ? function ? # SiS IDE controllers 314slide* at pci? dev ? function ? # Symphony Labs IDE controllers 315viaide* 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) 319bge* at pci? dev ? function ? # Broadcom 570x gigabit Ethernet 320#en* at pci? dev ? function ? # ENI/Adaptec ATM 321ep* at pci? dev ? function ? # 3Com 3c59x 322epic* at pci? dev ? function ? # SMC EPIC/100 Ethernet 323#esh* at pci? dev ? function ? # Essential HIPPI card 324ex* at pci? dev ? function ? # 3Com 90x[BC] 325#fpa* at pci? dev ? function ? # DEC DEFPA FDDI 326fxp* at pci? dev ? function ? # Intel EtherExpress PRO 327gsip* at pci? dev ? function ? # NS83820 Gigabit Ethernet 328#hme* at pci? dev ? function ? # Sun STP2002-STQ 329#le* at pci? dev ? function ? # PCnet-PCI Ethernet 330#lmc* at pci? dev ? function ? # Lan Media Corp SSI/HSSI/DS3 331#mtd* at pci? dev ? function ? # Myson MTD803 3-in-1 Ethernet 332ne* at pci? dev ? function ? # NE2000-compatible 333#ntwoc* at pci? dev ? function ? # Riscom/N2 PCI Sync Serial 334pcn* at pci? dev ? function ? # AMD PCnet-PCI Ethernet 335re* at pci? dev ? function ? # Realtek 8139C+/8169/8110S 336rtk* at pci? dev ? function ? # Realtek 8129/8139 337sf* at pci? dev ? function ? # Adaptec AIC-6915 Ethernet 338sip* at pci? dev ? function ? # SiS 900/DP83815 Ethernet 339#skc* at pci? dev ? function ? # SysKonnect SK9821 340#sk* at skc? # SysKonnect SK9821 341ste* at pci? dev ? function ? # Sundance ST-201 Ethernet 342#stge* at pci? dev ? function ? # Sundance/Tamarack TC9021 343#ti* at pci? dev ? function ? # Alteon ACEnic gigabit Ethernet 344tl* at pci? dev ? function ? # ThunderLAN-based Ethernet 345tlp* at pci? dev ? function ? # DECchip 21x4x and clones 346vge* at pci? dev ? function ? # VIA VT612X Gigabit Ethernet 347vr* at pci? dev ? function ? # VIA Rhine Fast Ethernet 348#wi* at pci? dev ? function ? # Intersil Prism Mini-PCI 349wm* at pci? dev ? function ? # Intel 82543/82544 gigabit 350 351#### MII/PHY support 352acphy* at mii? phy ? # Altima AC101 and AMD Am79c874 PHYs 353amhphy* at mii? phy ? # AMD 79c901 Ethernet PHYs 354bmtphy* at mii? phy ? # Broadcom BCM5201 and BCM5202 PHYs 355brgphy* at mii? phy ? # Broadcom BCM5400-family PHYs 356ciphy* at mii? phy ? # Cicada CS8201 Gig-E PHYs 357dmphy* at mii? phy ? # Davicom DM9101 PHYs 358exphy* at mii? phy ? # 3Com internal PHYs 359#gentbi* at mii? phy ? # Generic Ten-Bit 1000BASE-[CLS]X PHYs 360glxtphy* at mii? phy ? # Level One LXT-1000 PHYs 361gphyter* at mii? phy ? # NS83861 Gig-E PHY 362icsphy* at mii? phy ? # Integrated Circuit Systems ICS189x 363ikphy* at mii? phy ? # Intel 82563 PHYs 364inphy* at mii? phy ? # Intel 82555 PHYs 365iophy* at mii? phy ? # Intel 82553 PHYs 366lxtphy* at mii? phy ? # Level One LXT-970 PHYs 367makphy* at mii? phy ? # Marvell Semiconductor 88E1000 PHYs 368nsphy* at mii? phy ? # NS83840 PHYs 369nsphyter* at mii? phy ? # NS83843 PHYs 370qsphy* at mii? phy ? # Quality Semiconductor QS6612 PHYs 371sqphy* at mii? phy ? # Seeq 80220/80221/80223 PHYs 372tlphy* at mii? phy ? # ThunderLAN PHYs 373tqphy* at mii? phy ? # TDK Semiconductor PHYs 374ukphy* at mii? phy ? # generic unknown PHYs 375#urlphy* at mii? phy ? # Realtek RTL8150L internal PHYs 376 377# SCSI bus support 378scsibus* at scsi? 379 380#### SCSI bus devices 381 382sd* at scsibus? target ? lun ? 383st* at scsibus? target ? lun ? 384cd* at scsibus? target ? lun ? 385ch* at scsibus? target ? lun ? 386ss* at scsibus? target ? lun ? 387uk* at scsibus? target ? lun ? 388 389# ATA (IDE) bus support 390atabus* at ata? 391 392# IDE drives 393# Flags are used only with controllers that support DMA operations 394# and mode settings (e.g. some pciide controllers) 395# The lowest order four bits (rightmost digit) of the flags define the PIO 396# mode to use, the next set of four bits the DMA mode and the third set the 397# UltraDMA mode. For each set of four bits, the 3 lower bits define the mode 398# to use, and the last bit must be 1 for this setting to be used. 399# For DMA and UDMA, 0xf (1111) means 'disable'. 400# 0x0fac means 'use PIO mode 4, DMA mode 2, disable UltraDMA'. 401# (0xc=1100, 0xa=1010, 0xf=1111) 402# 0x0000 means "use whatever the drive claims to support". 403wd* at atabus? drive ? flags 0x0000 404 405# ATAPI bus support 406atapibus* at atapi? 407 408#### ATAPI bus devices 409 410# flags have the same meaning as for IDE drives. 411cd* at atapibus? drive ? flags 0x0000 # ATAPI CD-ROM drives 412sd* at atapibus? drive ? flags 0x0000 # ATAPI disk drives 413uk* at atapibus? drive ? flags 0x0000 # ATAPI unknown 414 415#### Workstation Console attachments 416 417wsdisplay* at vga? 418wsdisplay* at tga? 419pckbd* at pckbc? # PC keyboard (kbd port) 420wskbd* at pckbd? 421pms* at pckbc? # PS/2-style mouse (aux port) 422wsmouse* at pms? 423 424#### Pseudo devices 425 426pseudo-device crypto # /dev/crypto device 427pseudo-device swcrypto # software crypto implementation 428 429# disk/mass storage pseudo-devices 430pseudo-device ccd # concatenated/striped disk devices 431#pseudo-device cgd # cryptographic disk devices 432pseudo-device raid # RAIDframe disk driver 433#options RAID_AUTOCONFIG 434# Options to enable various other RAIDframe RAID types. 435#options RF_INCLUDE_EVENODD=1 436#options RF_INCLUDE_RAID5_RS=1 437#options RF_INCLUDE_PARITYLOGGING=1 438#options RF_INCLUDE_CHAINDECLUSTER=1 439#options RF_INCLUDE_INTERDECLUSTER=1 440#options RF_INCLUDE_PARITY_DECLUSTERING=1 441#options RF_INCLUDE_PARITY_DECLUSTERING_DS=1 442pseudo-device fss # file system snapshot device 443pseudo-device md # memory disk device (ramdisk) 444pseudo-device vnd # disk-like interface to files 445#options VND_COMPRESSION # compressed vnd(4) 446pseudo-device putter # for puffs and pud 447 448# network pseudo-devices 449pseudo-device bpfilter # Berkeley packet filter 450#pseudo-device carp # Common Address Redundancy Protocol 451pseudo-device npf # NPF packet filter 452pseudo-device loop # network loopback 453pseudo-device ppp # Point-to-Point Protocol 454pseudo-device pppoe # PPP over Ethernet (RFC 2516) 455pseudo-device sl # Serial Line IP 456#pseudo-device strip # Starmode Radio IP (Metricom) 457pseudo-device tun # network tunneling over tty 458pseudo-device tap # virtual Ethernet 459#pseudo-device gre # generic L3 over IP tunnel 460pseudo-device gif # IPv[46] over IPv[46] tunnel (RFC1933) 461#pseudo-device faith # IPv[46] tcp relay translation i/f 462pseudo-device stf # 6to4 IPv6 over IPv4 encapsulation 463pseudo-device vlan # IEEE 802.1q encapsulation 464pseudo-device bridge # simple inter-network bridging 465#options BRIDGE_IPF # bridge uses IP/IPv6 pfil hooks too 466pseudo-device agr # IEEE 802.3ad link aggregation 467 468# 469# accept filters 470pseudo-device accf_data # "dataready" accept filter 471pseudo-device accf_http # "httpready" accept filter 472 473# miscellaneous pseudo-devices 474pseudo-device pty # pseudo-terminals 475#pseudo-device sequencer # MIDI sequencer 476# rnd works; RND_COM does not on port arc yet. 477#options RND_COM # use "com" randomness as well (BROKEN) 478pseudo-device clockctl # user control of clock subsystem 479 480# a pseudo device needed for Coda # also needs CODA (above) 481#pseudo-device vcoda # coda minicache <-> venus comm. 482 483# mouse & keyboard multiplexor pseudo-devices 484#pseudo-device wsmux 485pseudo-device ksyms # /dev/ksyms 486 487# Veriexec 488# 489# a pseudo device needed for veriexec 490#pseudo-device veriexec 491# 492# Uncomment the fingerprint methods below that are desired. Note that 493# removing fingerprint methods will have almost no impact on the kernel 494# code size. 495# 496#options VERIFIED_EXEC_FP_SHA256 497#options VERIFIED_EXEC_FP_SHA384 498#options VERIFIED_EXEC_FP_SHA512 499