1# $MirOS: src/sys/arch/sparc/conf/GENERIC,v 1.25 2009/08/09 13:16:48 tg Exp $ 2# $OpenBSD: GENERIC,v 1.75 2004/03/09 15:24:27 miod Exp $ 3# $NetBSD: GENERIC,v 1.48 1997/08/23 19:19:01 mjacob Exp $ 4 5# Machine architecture; required by config(8) 6machine sparc # arch, used by config; REQUIRED 7 8# $miros: src/sys/arch/i386/conf/GENERIC,v 1.42 2009/02/16 21:21:01 tg Exp $ 9# $OpenBSD: GENERIC,v 1.112 2004/11/28 23:39:45 canacar Exp $ 10# 11# Machine-independent option; used by all architectures. 12 13# Don't change the kernel configuration file. Take a look 14# at config -ef /bsd first. man config. 15 16#option INSECURE # securelevel -1; default to secure 17 18option DDB # in-kernel debugger 19#option DDB_SAFE_CONSOLE # allow break into ddb during boot 20option INCLUDE_CONFIG_FILE # store this file in the kernel 21#makeoptions DEBUG="-g" # compile full symbol table 22option DIAGNOSTIC # internal consistency checks 23option KTRACE # system call tracing, a la ktrace(1) 24option ACCOUNTING # acct(2) process accounting 25option KMEMSTATS # collect malloc(9) statistics 26option PTRACE # ptrace(2) system call 27option SCSIDEBUG # extra debugging information 28#option SCSITERSE # be terse with SCSI diagnostic stuff 29#option APM_NOPRINT # don't print APM messages 30#makeoptions CSYS="..." # extra CFLAGS 31#option SMALL_KERNEL # remove certain large stuff 32#option NO_PROPOLICE # remove stack protector 33 34option BOOT_CONFIG # add support for boot -c 35option TIMEZONE=0 # time zone to adjust RTC time by 36option DST=0 # daylight saving time used by RTC 37#option MINIROOTSIZE=3712 # size of ramdisk array 38#option RAMDISK_HOOKS # allow using initrd 39 40option CRYPTO # Cryptographic framework 41option UVM_SWAP_ENCRYPT # support encryption of pages going to swap 42option LKM # loadable kernel modules 43 44option SYSVMSG # System V-like message queues 45option SYSVSEM # System V-like semaphores 46option SYSVSHM # System V-like memory sharing 47 48option COMPAT_OSSAUDIO # source compatibility with OSS/Lite 49#option COMPAT_OPENBSD # binary compatibility with OpenBSD 50 51option FFS # UFS 52option FFS_SOFTUPDATES # Soft updates 53option UFS_DIRHASH # speed up large directories 54option QUOTA # UFS quotas 55option EXT2FS # Second Extended Filesystem 56#option EXT2FS_SYSTEM_FLAGS # immutable is schg, not uchg 57option MFS # memory file system 58#option HARD_CHROOT # disable mknod() in chroot() jails 59 60option TCP_SACK # Selective Acknowledgements for TCP 61option TCP_ECN # Explicit Congestion Notification for TCP 62option TCP_FACK # Forward Acknowledgements for TCP 63option TCP_SIGNATURE # TCP MD5 Signatures 64 65option NFSCLIENT # Nightmare File System client 66option NFSSERVER # Nightmare File System server 67 68option CD9660 # ISO 9660 + Rock Ridge file system 69option MSDOSFS # MS-DOS file system 70option FDESC # /dev/fd 71option FIFO # FIFOs; RECOMMENDED 72option KERNFS # /kern 73option PORTAL # dynamically created filesystem objects 74option PROCFS # /proc 75 76option INET # IP + ICMP + TCP + UDP 77option ALTQ # ALTQ base 78option INET6 # IPv6 (needs INET) 79option IPSEC # IPsec 80option KEY # PF_KEY (implied by IPSEC) 81option IPX # IPX+SPX 82option IPXIP # IPX tunneling over IP 83option NETATALK # AppleTalk 84option PPP_BSDCOMP # PPP BSD compression for pppd(8) 85#option PPP_DEFLATE # PPP zlib compression for pppd(8) 86#option MROUTING # Multicast router 87 88pseudo-device pf # packet filter 89pseudo-device pflog # pf log if 90pseudo-device pfsync # pf sync if 91pseudo-device sppp 2 # Sync PPP/HDLC 92pseudo-device pppoe 1 # PPP over Ethernet (RFC 2516) 93pseudo-device enc 1 # IPsec needs this encapsulation iface 94pseudo-device faith 1 # IPv{4,6} tcp relay translation iface 95#pseudo-device strip 1 # Starmode Radio IP interface 96 97pseudo-device pty 16 # pseudo-terminals (can grow runtime) 98pseudo-device tb 1 # tablet line discipline 99pseudo-device vnd 16 # paging to files 100pseudo-device ccd 4 # concatenated disk devices 101pseudo-device rd 2 # ramdisk (fixed/avail and umem) 102pseudo-device ksyms 1 # kernel symbols device 103pseudo-device systrace 1 # system call tracing device 104 105# clonable devices 106pseudo-device bpfilter # packet filter 107pseudo-device bridge # network bridging support 108pseudo-device carp # CARP protocol support 109pseudo-device gif # IPv[46] over IPv[46] tunnel (RFC1933) 110pseudo-device gre # GRE encapsulation interface 111pseudo-device loop # network loopback 112pseudo-device ppp # PPP 113pseudo-device sl # CSLIP 114pseudo-device tun # network tunneling over tty 115pseudo-device vlan # IEEE 802.1Q VLAN 116 117# tuning options, potentally dangerous to enable/change *at all*, be warned 118#option POOLWORDS=1024 # size of entropy pool (power of two) 119#option NVNODE=32768 # raise static alloced bufsiz 120#option MAXDSIZ="(1024 * 1048576)" # bump max data size to 1 GiB 121#option BUFCACHEPERCENT=7 # default: 5% of total RAM sz 122 123maxusers 20 # estimated number of users 124 125# Generic swap; second partition of root disk or network. 126config bsd swap generic 127 128#--- end of machine independent config 129 130# Options for variants of the Sun SPARC architecture. 131# At least one is required. 132#option SUN4 # sun4/100, sun4/200, sun4/300 133# sun4 commented out due to v8 CFLAGS anyways, and devices below. 134option SUN4C # sun4c - SS1, 1+, 2, ELC, SLC, IPC, IPX, etc. 135option SUN4M # sun4m - SS10, SS20, Classic, etc. 136 137#option MMU_3L # 3-level MMU on sun4/400 138 139# remote debugger support - disable DDB if enabling this 140#option KGDB # support for kernel gdb 141#option KGDBDEV=0xc01 # kgdb device number (dev_t) 142#option KGDBRATE=38400 # baud rate 143 144# Main bus and CPU – all systems. 145mainbus0 at root 146cpu0 at mainbus0 147 148# Bus types found on SPARC systems. 149sbus0 at mainbus0 # sun4c 150obio0 at mainbus0 # sun4 and sun4m 151#vmes0 at mainbus0 # sun4 152#vmel0 at mainbus0 # sun4 153iommu0 at mainbus0 # sun4m 154sbus0 at iommu0 # sun4m 155 156audioamd0 at mainbus0 # sun4c 157audioamd0 at obio0 # sun4m 158audioamd0 at sbus0 # sun4m 159audio* at audioamd? 160 161audiocs0 at sbus0 # sun4m 162audio* at audiocs? 163 164auxreg0 at mainbus0 # sun4c 165auxreg0 at obio0 # sun4m 166 167# Power status and control register found on Sun4m systems 168power0 at obio0 169 170# Mostek clock found on 4/300, sun4c, and sun4m systems. 171# The Mostek clock NVRAM is the "eeprom" on sun4/300 systems. 172clock0 at mainbus0 # sun4c 173clock0 at obio0 # sun4m 174#clock0 at obio0 addr 0xf2000000 # sun4/300 175 176# Intersil clock found on 4/100 and 4/200 systems. 177#oclock0 at obio0 addr 0xf3000000 # sun4/200 178#oclock0 at obio0 addr 0x03000000 # sun4/100 179 180# Memory error registers. 181memreg0 at mainbus0 # sun4c 182memreg0 at obio0 # sun4m 183#memreg0 at obio0 addr 0xf4000000 # sun4/200 and sun4/300 184#memreg0 at obio0 addr 0x04000000 # sun4/100 185 186# Timer chip found on 4/300, sun4c, and sun4m systems. 187timer0 at mainbus0 # sun4c 188timer0 at obio0 # sun4m 189#timer0 at obio0 addr 0xef000000 # sun4/300 190 191# EEPROM found on 4/100 and 4/200 systems. Note that the 4/300 192# doesn't use this driver; the 'EEPROM' is in the NVRAM on the 193# Mostek clock chip on 4/300 systems. 194#eeprom0 at obio0 addr 0xf2000000 # sun4/200 195#eeprom0 at obio0 addr 0x02000000 # sun4/100 196 197# 8 segment led display on sun4/sun4m systems 198#led0 at mainbus0 # sun4 199#led0 at obio0 # sun4/600 200 201# Zilog 8530 serial chips. Each has two-channels. 202# zs0 is ttya and ttyb. zs1 is the keyboard and mouse. 203zs0 at mainbus0 # sun4c 204zs0 at obio0 # sun4m 205#zs0 at obio0 addr 0xf1000000 level 12 # sun4/200 and sun4/300 206#zs0 at obio0 addr 0x01000000 level 12 # sun4/100 207zs1 at mainbus0 # sun4c 208zs1 at obio0 # sun4m 209#zs1 at obio0 addr 0xf0000000 level 12 # sun4/200 and sun4/300 210#zs1 at obio0 addr 0x00000000 level 12 # sun4/100 211#zs2 at obio0 addr 0xe0000000 level 12 # sun4/300 212 213zstty* at zs? channel ? 214zskbd* at zs? channel ? 215wskbd* at zskbd? console ? 216 217# Magma serial/parallel port devices 218magma* at sbus? # magma serial cards 219mtty* at magma? 220mbpp* at magma? 221 222# SUNW,spif serial/parallel port devices 223spif* at sbus? # spif serial cards 224stty* at spif? 225sbpp* at spif? 226 227bpp* at sbus? # parallel port 228 229# SUNW,xbox SBus Expansion Subsystem 230xbox* at sbus? # SBus Expansion box 231sbus* at xbox? 232 233# 234# Note the flags on the esp entries below, that work around 235# deficiencies in the current driver: 236# bits 0-7: disable disconnect/reselect for the corresponding target 237# bits 8-15: disable synch negotiation for target [bit-8] 238# Note: targets 4-7 have disconnect/reselect enabled on the premise 239# that tape devices normally have one of these targets. Tape 240# devices should be allowed to disconnect for the SCSI bus 241# to operate acceptably. 242# 243 244# sun4/300 SCSI - an NCR53c94 or equivalent behind 245# an LSI Logic DMA controller 246#dma0 at obio0 addr 0xfa001000 level 4 # sun4/300 247#esp0 at obio0 addr 0xfa000000 level 4 flags 0xff0f # 248 249# sun4c or sun4m SCSI - an NCR53c94 or equivalent behind 250# specialised DMA glue 251dma0 at sbus0 # on-board SCSI 252esp0 at sbus0 flags 0xff0f # sun4c 253esp0 at dma0 flags 0xff0f # sun4m 254 255# FSBE/S SCSI - an NCR53c94 or equivalent behind 256dma* at sbus? # SBus SCSI 257esp* at sbus? flags 0xff0f # two flavours 258esp* at dma? flags 0xff0f # depending on model 259 260# sun4c, sun4m 261isp* at sbus? 262options ISP_COMPILE_1000_FW=1 263 264# sun4m Ethernet - an AMD 7990 LANCE behind 265# specialised DMA glue 266ledma0 at sbus? # sun4m on-board 267le0 at ledma0 # 268 269# Additional SBus LANCE devices - glued on by lebuffer 270lebuffer0 at sbus0 # sun4m SBus 271lebuffer* at sbus? # sun4m SBus 272le0 at lebuffer0 # 273le* at lebuffer? # 274 275# sun4/300 and sun4c Ethernet - an AMD 7990 LANCE 276le0 at sbus0 # sun4c on-board 277le* at sbus? 278 279#le0 at obio0 addr 0xf9000000 level 6 # sun4/300 280 281# sun4/100 and sun4/200 Ethernet - an Intel 82586 on-board 282# or on a Multibus/VME card. 283#ie0 at obio0 addr 0xf6000000 level 6 # sun4/200 on-board 284#ie0 at obio0 addr 0x06000000 level 6 # sun4/100 on-board 285 286#ie1 at vmes0 addr 0xffe88000 level 5 vect 0x75 287#ie2 at vmes0 addr 0xff31ff02 level 5 vect 0x76 288#ie3 at vmes0 addr 0xff35ff02 level 5 vect 0x77 289#ie4 at vmes0 addr 0xff2dff02 level 5 vect 0x7c 290 291# HappyMeal ethernet (will not work on sun4c) 292hme* at sbus? 293 294# Quad-ethernet glue device, and sub-devices 295qec* at sbus? 296qe* at qec? 297be* at qec? 298 299# Xylogics 753 or 7053 VME SMD disk controllers and disks, found 300# on sun4 systems. 301#xdc0 at vmel0 addr 0xffffee80 level 3 vect 0x44 302#xdc1 at vmel0 addr 0xffffee90 level 3 vect 0x45 303#xdc2 at vmel0 addr 0xffffeea0 level 3 vect 0x46 304#xdc3 at vmel0 addr 0xffffeeb0 level 3 vect 0x47 305#xd* at xdc? drive ? 306 307# Xylogics 451 or 451 VME SMD disk controllers and disks, found 308# on sun4 systems. 309#xyc0 at vmes0 addr 0xffffee40 level 3 vect 0x48 310#xyc1 at vmes0 addr 0xffffee48 level 3 vect 0x49 311#xy* at xyc? drive ? 312 313# NCR5380-based "Sun SCSI 3" VME SCSI controller. 314# This driver has several flags which may be enabled by OR'ing 315# the values and using the "flags" directive. 316# Valid flags are: 317# 318# 0x01 Use DMA (may be polled) 319# 0x02 Use DMA completion interrupts 320# 0x04 Allow disconnect/reselect 321# 322# E.g. the following would enable DMA, interrupts, and reselect: 323# si0 at vmes0 addr 0xff200000 level 3 vect 0x40 flags 0x07 324# 325# By default, DMA is enabled in the driver. 326#si0 at vmes0 addr 0xff200000 level 3 vect 0x40 327 328# NCR5380-based "SCSI Weird" on-board SCSI interface found 329# on sun4/100 systems. The flags are the same as the "si" 330# controller. Note, while DMA is enabled by default, only 331# polled DMA works at this time, and reselects do not work 332# on this particular controller. 333sw0 at obio0 addr 0x0a000000 level 3 334 335# Sun "bwtwo" black and white framebuffer, found on sun4, sun4c, and sun4m 336# systems. 337bwtwo0 at sbus0 # sun4c on-board 338bwtwo* at sbus? # sun4c and sun4m 339#bwtwo0 at obio0 addr 0xfd000000 level 4 # sun4/200 340#bwtwo0 at obio0 addr 0xfb300000 level 4 # sun4/300 in P4 slot 341#bwtwo0 at obio0 addr 0x0b300000 level 4 # sun4/100 in P4 slot 342wsdisplay* at bwtwo? 343 344# Sun "cgtwo" VME color framebuffer. 345#cgtwo0 at vmes0 addr 0xff400000 level 4 vect 0xa8 346#wsdisplay* at cgtwo? 347 348# Sun "cgthree" Sbus color framebuffer. 349cgthree* at sbus? 350wsdisplay* at cgthree? 351 352# Sun "cgfour" color framebuffer. 353#cgfour0 at obio0 addr 0xfb300000 level 4 # sun4/300 P4 354#cgfour0 at obio0 addr 0x0b300000 level 4 # sun4/100 P4 355#wsdisplay* at cgfour? 356 357# Sun "cgsix" accelerated color framebuffer. 358cgsix0 at sbus? 359cgsix* at sbus? 360#cgsix0 at obio0 addr 0xfb000000 level 4 # sun4/300 P4 361#cgsix0 at obio0 addr 0x0b000000 level 4 # sun4/100 P4 362wsdisplay* at cgsix? 363 364# Sun "cgeight" 24-bit framebuffer. 365#cgeight0 at obio0 addr 0xfb300000 level 4 # sun4/300 P4 366#cgeight0 at obio0 addr 0x0b300000 level 4 # sun4/100 P4 367#wsdisplay* at cgeight? 368 369# Sun "tcx" accelerated color framebuffer. 370tcx* at sbus? 371wsdisplay* at tcx? 372 373# Sun "cgfourteen" accelerated 24-bit framebuffer. 374cgfourteen0 at obio0 addr 0x9c000000 # sun4m 375cgfourteen1 at obio0 addr 0x90000000 # sun4m 376wsdisplay* at cgfourteen? 377 378# Sun "cgtwelve" (GS) accelerated 24-bit framebuffer. 379cgtwelve* at sbus? 380wsdisplay* at cgtwelve? 381 382# Sun "leo" (ZX) accelerated 24-bit framebuffer. 383zx* at sbus? 384wsdisplay* at zx? 385 386# Vigra VS10 or VS12 framebuffer. 387vigra* at sbus? 388wsdisplay* at vigra? 389 390# Weitek P9000 found on Tadpole SPARCbook 3, with external "Chameleon" RAMDAC 391pninek0 at sbus? 392btcham0 at obio? 393wsdisplay* at pninek? 394 395# Weitek P9100 found on Tadpole SPARCbook 3GS/3GX/3TX/3XP 396pnozz0 at sbus? 397wsdisplay* at pnozz? 398 399# Parallax XVideo and PowerVideo 400tvtwo* at sbus? 401wsdisplay* at tvtwo? 402 403# Fujitsu AG-10e framebuffer. 404agten* at sbus? 405wsdisplay* at agten? 406 407# Southland Media Systems MGX/MGXPlus framebuffer. 408mgx* at sbus? 409wsdisplay* at mgx? 410 411# Vitec/Connectware/AP&D RasterFlex framebuffer series. 412rfx* at sbus? 413wsdisplay* at rfx? 414 415# Microcontroller found on Tadpole SPARCbook 416tctrl0 at obio0 417 418# Sun PCMCIA bridge 419stp* at sbus? 420pcmcia* at stp? socket ? 421 422# PCMCIA controller found on Tadpole SPARCbook 423tslot* at sbus? 424pcmcia* at tslot? socket ? 425 426# PCMCIA devices 427wi* at pcmcia? function ? # WaveLAN IEEE 802.11DS 428#an* at pcmcia? function ? # Aironet IEEE 802.11DS 429ne* at pcmcia? function ? # NE2000-compat ethernet 430ep* at pcmcia? function ? # PCMCIA based 3C5xx ethernet 431#com* at pcmcia? function ? # PCMCIA modems/serial ports 432 433# Media Independent Interface (mii) drivers (required by hme, ne, ep) 434bmtphy* at mii? phy ? # Broadcom 10/100 PHYs 435lxtphy* at mii? phy ? # Level1 LXT970 PHYs 436nsphy* at mii? phy ? # NS and compatible PHYs 437nsphyter* at mii? phy ? 438qsphy* at mii? phy ? # Quality Semi QS6612 PHYs 439tqphy* at mii? phy ? # TDK 78Q212x PHYs 440ukphy* at mii? phy ? 441 442# SCSI bus layer. SCSI devices attach to the SCSI bus, which attaches 443# to the underlying hardware controller. 444scsibus* at esp? 445#scsibus* at si? 446scsibus* at sw? 447scsibus* at isp? 448 449# These entries find devices on all SCSI busses and assign 450# unit numers dynamically. 451sd* at scsibus? target ? lun ? # SCSI disks 452st* at scsibus? target ? lun ? # SCSI tapes 453cd* at scsibus? target ? lun ? # SCSI CD-ROMs 454ch* at scsibus? target ? lun ? # SCSI changer devices 455ss* at scsibus? target ? lun ? # SCSI scanners 456uk* at scsibus? target ? lun ? # unknown SCSI devices 457 458# Floppy controller and drive found on SPARCstations. 459fdc0 at mainbus0 # sun4c controller 460fdc0 at obio0 # sun4m controller 461fd* at fdc0 # the drive itself 462 463# flash memory, sysconfig regs, and VME for Force boards 464#scf0 at mainbus0 # FORCE CPU-5V sysconfig 465#flash0 at obio0 # FORCE CPU-5V flash-memory 466#fga0 at iommu0 # FORCE CPU-5V VME/SBus bridge 467#fvme* at fga0 # FORCE CPU-5V 468#daadio* at fvme? addr 0x0 level 1 vect 0x1f # Matrix MD-DAADIO board 469 470# Prestoserve NVRAM 471#presto* at sbus? 472 473# Software RAID, pretty large, will not fit into RELOC on the ramdisc 474option RAIDDEBUG # be verbose about what it does 475option RAID_AUTOCONFIG # automatically configure devices 476pseudo-device raid 4 # RAIDframe disk driver 477