NOTES revision 21769
1# 2# LINT -- config file for checking all the sources, tries to pull in 3# as much of the source tree as it can. 4# 5# $FreeBSD: head/sys/conf/NOTES 21769 1997-01-16 12:19:21Z jkh $ 6# 7# NB: You probably don't want to try running a kernel built from this 8# file. Instead, you should start from GENERIC, and add options from 9# this file as required. 10# 11 12# 13# This directive is mandatory; it defines the architecture to be 14# configured for; in this case, the 386 family. You must also specify 15# at least one CPU (the one you intend to run on); deleting the 16# specification for CPUs you don't need to use may make parts of the 17# system run faster. This is especially true removing I386_CPU. 18# 19machine "i386" 20cpu "I386_CPU" 21cpu "I486_CPU" 22cpu "I586_CPU" # aka Pentium(tm) 23cpu "I686_CPU" # aka Pentium Pro(tm) 24 25# 26# This is the ``identification'' of the kernel. Usually this should 27# be the same as the name of your kernel. 28# 29ident LINT 30 31# 32# The `maxusers' parameter controls the static sizing of a number of 33# internal system tables by a complicated formula defined in param.c. 34# 35maxusers 10 36 37# 38# Under some circumstances it is convenient to increase the defaults 39# for the maximum number of processes per user and the maximum number 40# of open files files per user. E.g., (1) in a large news server, user 41# `news' may need more than 100 concurrent processes. (2) a user may 42# need lots of windows under X. In both cases, it may be inconvenient 43# to start all the processes from a parent whose soft rlimit on the 44# number of processes is large enough. The following options work by 45# changing the soft rlimits for init. 46# 47options CHILD_MAX=128 48options OPEN_MAX=128 49 50# 51# Certain applications can grow to be larger than the 128M limit 52# that FreeBSD initially imposes. Below are some options to 53# allow that limit to grow to 256MB, and can be increased further 54# with changing the parameters. MAXDSIZ is the maximum that the 55# limit can be set to, and the DFLDSIZ is the default value for 56# the limit. You might want to set the default lower than the 57# max, and explicitly set the maximum with a shell command for processes 58# that regularly exceed the limit like INND. 59# 60options "MAXDSIZ=(256*1024*1024)" 61options "DFLDSIZ=(256*1024*1024)" 62 63# 64# Under some circumstances it is useful to have an extra number of 65# vnode data structures allocated at boot time. In particular, 66# usenet news servers can benefit if there are enough vnodes to 67# cache the busiest newsgroup and overview directories. Beware that 68# this is an expensive option, it consumes physical non-pageable ram. 69# A busy news server may benefit from 10,000 extra vnodes or so. 70# 71options EXTRAVNODES=1 72 73# 74# A math emulator is mandatory if you wish to run on hardware which 75# does not have a floating-point processor. Pick either the original, 76# bogus (but freely-distributable) math emulator, or a much more 77# fully-featured but GPL-licensed emulator taken from Linux. 78# 79options MATH_EMULATE #Support for x87 emulation 80# Don't enable both of these in a real config. 81options GPL_MATH_EMULATE #Support for x87 emulation via 82 #new math emulator 83 84# When this is set, be extra conservative in various parts of the kernel 85# and choose functionality over speed (on the widest variety of systems). 86options FAILSAFE 87 88# This allows you to actually store this configuration file into 89# the kernel binary itself, where it may be later read by saying: 90# strings /kernel | grep ^___ | sed -e 's/^___//' > MYKERNEL 91# 92options INCLUDE_CONFIG_FILE # Include this file in kernel 93 94# 95# This directive defines a number of things: 96# - The compiled kernel is to be called `kernel' 97# - The root filesystem might be on partition wd0a 98# - Crash dumps will be written to wd0b, if possible. Specifying the 99# dump device here is not recommended. Use dumpon(8). 100# 101config kernel root on wd0 dumps on wd0 102 103 104##################################################################### 105# COMPATIBILITY OPTIONS 106 107# 108# Implement system calls compatible with 4.3BSD and older versions of 109# FreeBSD. You probably do NOT want to remove this as much current code 110# still relies on the 4.3 emulation. 111# 112options "COMPAT_43" 113 114# 115# Allow user-mode programs to manipulate their local descriptor tables. 116# This option is required for the WINE Windows(tm) emulator, and is 117# not used by anything else (that we know of). 118# 119options USER_LDT #allow user-level control of i386 ldt 120 121# 122# These three options provide support for System V Interface 123# Definition-style interprocess communication, in the form of shared 124# memory, semaphores, and message queues, respectively. 125# 126options SYSVSHM 127options SYSVSEM 128options SYSVMSG 129 130# 131# This option includes a MD5 routine in the kernel, this is used for 132# various authentication and privacy uses. 133# 134options "MD5" 135 136 137##################################################################### 138# DEBUGGING OPTIONS 139 140# 141# Enable the kernel debugger. 142# 143options DDB 144 145# 146# Don't drop into DDB for a panic. Intended for unattended operation 147# where you may want to drop to DDB from the console, but still want 148# the machine to recover from a panic 149# 150options DDB_UNATTENDED 151 152# 153# KTRACE enables the system-call tracing facility ktrace(2). 154# 155options KTRACE #kernel tracing 156 157# 158# The DIAGNOSTIC option is used in a number of source files to enable 159# extra sanity checking of internal structures. This support is not 160# enabled by default because of the extra time it would take to check 161# for these conditions, which can only occur as a result of 162# programming errors. 163# 164options DIAGNOSTIC 165 166# 167# PERFMON causes the driver for Pentium/Pentium Pro performance counters 168# to be compiled. See perfmon(4) for more information. 169# 170options PERFMON 171 172# XXX - this doesn't belong here. 173# Allow ordinary users to take the console - this is useful for X. 174options UCONSOLE 175 176# XXX - this doesn't belong here either 177options USERCONFIG #boot -c editor 178options USERCONFIG_BOOT #imply -c and parse info area 179options VISUAL_USERCONFIG #visual boot -c editor 180 181##################################################################### 182# NETWORKING OPTIONS 183 184# 185# Protocol families: 186# Only the INET (Internet) family is officially supported in FreeBSD. 187# Source code for the NS (Xerox Network Service) is provided for amusement 188# value. 189# 190options INET #Internet communications protocols 191 192options IPX #IPX/SPX communications protocols 193options IPXIP #IPX in IP encapsulation (not available) 194options IPTUNNEL #IP in IPX encapsulation (not available) 195options IPXPRINTFS=0 #IPX/SPX Console Debugging Information 196options IPX_ERRPRINTFS=0 #IPX/SPX Console Debugging Information 197 198options NETATALK #Appletalk communications protocols 199 200# These are currently broken but are shipped due to interest. 201#options NS #Xerox NS protocols 202 203# These are currently broken and are no longer shipped due to lack 204# of interest. 205#options CCITT #X.25 network layer 206#options ISO 207#options TPIP #ISO TP class 4 over IP 208#options TPCONS #ISO TP class 0 over X.25 209#options LLC #X.25 link layer for Ethernets 210#options HDLC #X.25 link layer for serial lines 211#options EON #ISO CLNP over IP 212#options NSIP #XNS over IP 213 214# 215# Network interfaces: 216# The `loop' pseudo-device is MANDATORY when networking is enabled. 217# The `ether' pseudo-device provides generic code to handle 218# Ethernets; it is MANDATORY when a Ethernet device driver is 219# configured. 220# The 'fddi' pseudo-device provides generic code to support FDDI. 221# The `sppp' pseudo-device serves a similar role for certain types 222# of synchronous PPP links (like `cx', `ar'). 223# The `sl' pseudo-device implements the Serial Line IP (SLIP) service. 224# The `ppp' pseudo-device implements the Point-to-Point Protocol. 225# The `bpfilter' pseudo-device enables the Berkeley Packet Filter. Be 226# aware of the legal and administrative consequences of enabling this 227# option. The number of devices determines the maximum number of 228# simultaneous BPF clients programs runnable. 229# The `disc' pseudo-device implements a minimal network interface, 230# which throws away all packets sent and never receives any. It is 231# included for testing purposes. 232# The `tun' pseudo-device implements the User Process PPP (iijppp) 233# 234pseudo-device ether #Generic Ethernet 235pseudo-device fddi #Generic FDDI 236pseudo-device sppp #Generic Synchronous PPP 237pseudo-device loop #Network loopback device 238pseudo-device sl 2 #Serial Line IP 239pseudo-device ppp 2 #Point-to-point protocol 240pseudo-device bpfilter 4 #Berkeley packet filter 241pseudo-device disc #Discard device 242pseudo-device tun 1 #Tunnel driver(user process ppp) 243 244# 245# Internet family options: 246# 247# TCP_COMPAT_42 causes the TCP code to emulate certain bugs present in 248# 4.2BSD. This option should not be used unless you have a 4.2BSD 249# machine and TCP connections fail. 250# 251# MROUTING enables the kernel multicast packet forwarder, which works 252# with mrouted(8). 253# 254# IPFIREWALL enables support for IP firewall construction, in 255# conjunction with the `ipfw' program. IPFIREWALL_VERBOSE sends 256# logged packets to the system logger. IPFIREWALL_VERBOSE_LIMIT 257# limits the number of times a matching entry can be logged. 258# 259# IPDIVERT enables the divert IP sockets, used by ``ipfw divert'' 260# 261# TCPDEBUG is undocumented. 262# 263options "TCP_COMPAT_42" #emulate 4.2BSD TCP bugs 264options MROUTING # Multicast routing 265options IPFIREWALL #firewall 266options IPFIREWALL_VERBOSE #print information about 267 # dropped packets 268options "IPFIREWALL_VERBOSE_LIMIT=100" #limit verbosity 269options IPDIVERT #divert sockets 270options TCPDEBUG 271 272 273##################################################################### 274# FILESYSTEM OPTIONS 275 276# 277# Only the root, /usr, and /tmp filesystems need be statically 278# compiled; everything else will be automatically loaded at mount 279# time. (Exception: the UFS family---FFS, MFS, and LFS---cannot 280# currently be demand-loaded.) Some people still prefer to statically 281# compile other filesystems as well. 282# 283# NB: The LFS, PORTAL, and UNION filesystems are known to be buggy, 284# and WILL panic your system if you attempt to do anything with them. 285# They are included here as an incentive for some enterprising soul to 286# sit down and fix them. 287# 288# Note: 4.4BSD NQNFS lease checking has relatively high cost for 289# _local_ I/O as well as remote I/O. Don't use it unless you will 290# using NQNFS. 291# 292 293# One of these is mandatory: 294options FFS #Fast filesystem 295options NFS #Network File System 296 297# The rest are optional: 298options NQNFS #Enable NQNFS lease checking 299# options NFS_NOSERVER #Disable the NFS-server code. 300options "CD9660" #ISO 9660 filesystem 301options FDESC #File descriptor filesystem 302options KERNFS #Kernel filesystem 303options LFS #Log filesystem 304options MFS #Memory File System 305options MSDOSFS #MS DOS File System 306options NULLFS #NULL filesystem 307options PORTAL #Portal filesystem 308options PROCFS #Process filesystem 309options UMAPFS #UID map filesystem 310options UNION #Union filesystem 311# This DEVFS is experimental but seems to work 312options DEVFS #devices filesystem 313 314# Make space in the kernel for a MFS root filesystem. Define to the number 315# of kilobytes to reserve for the filesystem. 316options MFS_ROOT=10 317# Allow the MFS_ROOT code to load the MFS image from floppy if it is missing. 318options MFS_AUTOLOAD 319 320# Allow this many swap-devices. 321options NSWAPDEV=20 322 323# Disk quotas are supported when this option is enabled. If you 324# change the value of this option, you must do a `make clean' in your 325# kernel compile directory in order to get a working kernel. 326# 327options QUOTA #enable disk quotas 328 329# Add more checking code to various filesystems 330#options NULLFS_DIAGNOSTIC 331#options KERNFS_DIAGNOSTIC 332#options UMAPFS_DIAGNOSTIC 333#options UNION_DIAGNOSTIC 334 335# Add some error checking code to the null_bypass routine 336# in nthe NULL filesystem 337#options SAFETY 338 339 340##################################################################### 341# SCSI DEVICES 342 343# SCSI DEVICE CONFIGURATION 344 345# The SCSI subsystem consists of the `base' SCSI code, a number of 346# high-level SCSI device `type' drivers, and the low-level host-adapter 347# device drivers. The host adapters are listed in the ISA and PCI 348# device configuration sections below. 349# 350# Beginning with FreeBSD 2.0.5 you can wire down your SCSI devices so 351# that a given bus, target, and LUN always come on line as the same 352# device unit. In earlier versions the unit numbers were assigned 353# in the order that the devices were probed on the SCSI bus. This 354# means that if you removed a disk drive, you may have had to rewrite 355# your /etc/fstab file, and also that you had to be careful when adding 356# a new disk as it may have been probed earlier and moved your device 357# configuration around. 358 359# This old behavior is maintained as the default behavior. The unit 360# assignment begins with the first non-wired down unit for a device 361# type. For example, if you wire a disk as "sd3" then the first 362# non-wired disk will be assigned sd4. 363 364# The syntax for wiring down devices is: 365 366# controller scbus0 at ahc0 # Single bus device 367# controller scbus1 at ahc1 bus 0 # Single bus device 368# controller scbus3 at ahc2 bus 0 # Twin bus device 369# controller scbus2 at ahc2 bus 1 # Twin bus device 370# disk sd0 at scbus0 target 0 unit 0 371# disk sd1 at scbus3 target 1 372# disk sd2 at scbus2 target 3 373# tape st1 at scbus1 target 6 374# device cd0 at scbus? 375 376# "units" (SCSI logical unit number) that are not specified are 377# treated as if specified as LUN 0. 378 379# All SCSI devices allocate as many units as are required. 380 381# The "unknown" device (uk? in pre-2.0.5) is now part of the base SCSI 382# configuration and doesn't have to be explicitly configured. 383 384controller scbus0 #base SCSI code 385device ch0 #SCSI media changers 386device sd0 #SCSI disks 387device st0 #SCSI tapes 388device cd0 #SCSI CD-ROMs 389device od0 #SCSI optical disk 390 391# The previous devices (ch, sd, st, cd) are recognized by config. 392# config doesn't (and shouldn't) know about these newer ones, 393# so we have to specify that they are on a SCSI bus with the "at scbus?" 394# clause. 395 396device worm0 at scbus? # SCSI worm 397device pt0 at scbus? # SCSI processor type 398device sctarg0 at scbus? # SCSI target 399 400# SCSI OPTIONS: 401 402# SCSIDEBUG: When defined enables debugging macros 403# NO_SCSI_SENSE: When defined disables sense descriptions (about 4k) 404# SCSI_REPORT_GEOMETRY: Always report disk geometry at boot up instead 405# of only when booting verbosely. 406options SCSIDEBUG 407#options NO_SCSI_SENSE 408options SCSI_REPORT_GEOMETRY 409 410# Options for the `od' optical disk driver: 411# 412# If drive returns sense key as 0x02 with vendor specific additional 413# sense code (ASC) and additional sense code qualifier (ASCQ), or 414# illegal ASC and ASCQ. This cause an error (NOT READY) and retrying. 415# To suppress this, use the following option. 416# 417options OD_BOGUS_NOT_READY 418# 419# For an automatic spindown, try this. Again, preferrably as an 420# option in your config file. 421# WARNING! Use at your own risk. Joerg's ancient SONY SMO drive 422# groks it fine, while Shunsuke's Fujitsu chokes on it and times 423# out. 424# 425options OD_AUTO_TURNOFF 426 427 428 429##################################################################### 430# MISCELLANEOUS DEVICES AND OPTIONS 431 432# 433# Of these, only the `log' device is truly mandatory. The `pty' 434# device usually turns out to be ``effectively mandatory'', as it is 435# required for `telnetd', `rlogind', `screen', `emacs', and `xterm', 436# among others. 437# If you wish to run certain 438# system utilities which are compressed by default (like /stand/sysinstall) 439# then `gzip' becomes mandatory too. 440# 441pseudo-device pty 16 #Pseudo ttys - can go as high as 256 442pseudo-device speaker #Play IBM BASIC-style noises out your speaker 443pseudo-device log #Kernel syslog interface (/dev/klog) 444pseudo-device gzip #Exec gzipped a.out's 445pseudo-device vn #Vnode driver (turns a file into a device) 446pseudo-device snp 3 #Snoop device - to look at pty/vty/etc.. 447pseudo-device ccd 4 #Concatenated disk driver 448 449# These are only for watching for bitrot in old tty code. 450# broken 451#pseudo-device tb 452 453# These are only for watching for bitrot in old SCSI code. 454pseudo-device su #scsi user 455pseudo-device ssc #super scsi 456 457 458##################################################################### 459# HARDWARE DEVICE CONFIGURATION 460 461# ISA and EISA devices: 462# Currently there is no separate support for EISA. There should be. 463# Micro Channel is not supported at all. 464 465# 466# Mandatory ISA devices: isa, sc or vt, npx 467# 468controller isa0 469 470# 471# Options for `isa': 472# 473# AUTO_EOI_1 enables the `automatic EOI' feature for the master 8259A 474# interrupt controller. This saves about 0.7-1.25 usec for each interrupt. 475# This option breaks suspend/resume on some portables. 476# 477# AUTO_EOI_2 enables the `automatic EOI' feature for the slave 8259A 478# interrupt controller. This saves about 0.7-1.25 usec for each interrupt. 479# Automatic EOI is documented not to work for for the slave with the 480# original i8259A, but it works for some clones and some integrated 481# versions. 482# 483# BOUNCE_BUFFERS provides support for ISA DMA on machines with more 484# than 16 megabytes of memory. It doesn't hurt on other machines. 485# Some broken EISA and VLB hardware may need this, too. 486# 487# MAXMEM specifies the amount of RAM on the machine; if this is not 488# specified, FreeBSD will read the amount of memory from the CMOS RAM, 489# so the amount of memory will be limited to 64MB or 16MB depending on 490# the BIOS. The amount is in kilobytes, so for a machine with 128MB of 491# RAM, it would be 131072 (128 * 1024). 492# 493# TUNE_1542 enables the automatic ISA bus speed selection for the 494# Adaptec 1542 boards. Does not work for all boards, use it with caution. 495# 496# BROKEN_KEYBOARD_RESET disables the use of the keyboard controller to 497# reset the CPU for reboot. This is needed on some systems with broken 498# keyboard controllers. 499# 500# PAS_JOYSTICK_ENABLE enables the gameport on the ProAudio Spectrum 501 502options "AUTO_EOI_1" 503#options "AUTO_EOI_2" 504options BOUNCE_BUFFERS 505options "MAXMEM=(128*1024)" 506#options "TUNE_1542" 507#options BROKEN_KEYBOARD_RESET 508#options PAS_JOYSTICK_ENABLE 509 510# Enable this and PCVT_FREEBSD for pcvt vt220 compatible console driver 511device vt0 at isa? port "IO_KBD" tty irq 1 vector pcrint 512options PCVT_FREEBSD=210 # pcvt running on FreeBSD >= 2.0.5 513options XSERVER # include code for XFree86 514options FAT_CURSOR # start with block cursor 515# This PCVT option is for keyboards such as those used on IBM ThinkPad laptops 516options PCVT_SCANSET=2 # IBM keyboards are non-std 517 518# The syscons console driver (sco color console compatible) - default. 519device sc0 at isa? port "IO_KBD" tty irq 1 vector scintr 520options MAXCONS=16 # number of virtual consoles 521options SLOW_VGA # do byte-wide i/o's to TS and GDC regs 522 523# 524# `flags' for sc0: 525# 0x01 Use a 'visual' bell 526# 0x02 Use a 'blink' cursor 527# 0x04 Use a 'block' cursor 528# 0x08 Force detection of keyboard, else we always assume a keyboard 529# 0x10 Old-style (XT) keyboard support, useful for older ThinkPads 530 531# 532# This device is mandatory. 533# 534# The Numeric Processing eXtension is used to either enable the 535# coprocessor or enable math emulation. If your machine doesn't contain 536# a math co-processor, you must *also* add the option "MATH_EMULATE". 537# THIS IS NOT AN OPTIONAL ENTRY, DO NOT REMOVE IT 538device npx0 at isa? port "IO_NPX" iosiz 0x0 flags 0x0 irq 13 vector npxintr 539 540# 541# `flags' for npx0: 542# 0x01 don't use the npx registers to optimize bcopy 543# 0x02 don't use the npx registers to optimize bzero 544# 0x04 don't use the npx registers to optimize copyin or copyout. 545# The npx registers are normally used to optimize copying and zeroing when 546# all of the following conditions are satisfied: 547# "I586_CPU" is an option 548# the cpu is an i586 (perhaps not a Pentium) 549# the probe for npx0 succeeds 550# INT 16 exception handling works. 551# Then copying and zeroing using the npx registers is normally 30-100% faster. 552# The flags can be used to control cases where it doesn't work or is slower. 553# Setting them at boot time using userconfig works right (the optimizations 554# are not used until later in the bootstrap when npx0 is attached). 555# 556 557# 558# `iosiz' for npx0: 559# This can be used instead of the MAXMEM option to set the memory size. If 560# it is nonzero, then it overrides both the MAXMEM option and the memory 561# size reported by the BIOS. Setting it at boot time using userconfig takes 562# effect on the next reboot after the change has been recorded in the kernel 563# binary (the size is used early in the boot before userconfig has a chance 564# to change it). 565# 566 567# 568# Optional ISA and EISA devices: 569# 570 571# 572# SCSI host adapters: `aha', `aic', `bt', `nca' 573# 574# aha: Adaptec 154x 575# ahc: Adaptec 274x/284x/294x 576# aic: Adaptec 152x and sound cards using the Adaptec AIC-6360 (slow!) 577# bt: Most Buslogic controllers 578# nca: ProAudioSpectrum cards using the NCR 5380 or Trantor T130 579# uha: UltraStore 14F and 34F 580# sea: Seagate ST01/02 8 bit controller (slow!) 581# wds: Western Digital WD7000 controller (no scatter/gather!). 582# 583# Note that the order is important in order for Buslogic cards to be 584# probed correctly. 585# 586 587controller bt0 at isa? port "IO_BT0" bio irq ? vector bt_isa_intr 588controller aha0 at isa? port "IO_AHA0" bio irq ? drq 5 vector ahaintr 589controller uha0 at isa? port "IO_UHA0" bio irq ? drq 5 vector uhaintr 590 591controller aic0 at isa? port 0x340 bio irq 11 vector aicintr 592controller nca0 at isa? port 0x1f88 bio irq 10 vector ncaintr 593controller nca1 at isa? port 0x1f84 594controller nca2 at isa? port 0x1f8c 595controller nca3 at isa? port 0x1e88 596controller nca4 at isa? port 0x350 bio irq 5 vector ncaintr 597 598controller sea0 at isa? bio irq 5 iomem 0xdc000 iosiz 0x2000 vector seaintr 599controller wds0 at isa? port 0x350 bio irq 15 drq 6 vector wdsintr 600 601# 602# ST-506, ESDI, and IDE hard disks: `wdc' and `wd' 603# 604# NB: ``Enhanced IDE'' is NOT supported at this time. 605# 606# The flags fields are used to enable the multi-sector I/O and 607# the 32BIT I/O modes. The flags may be used in either the controller 608# definition or in the individual disk definitions. The controller 609# definition is supported for the boot configuration stuff. 610# 611# Each drive has a 16 bit flags value defined: 612# The low 8 bits are the maximum value for the multi-sector I/O, 613# where 0xff defaults to the maximum that the drive can handle. 614# The high bit of the 16 bit flags (0x8000) allows probing for 615# 32 bit transfers. 616# 617# The flags field for the drives can be specified in the controller 618# specification with the low 16 bits for drive 0, and the high 16 bits 619# for drive 1. 620# e.g.: 621#controller wdc0 at isa? port "IO_WD1" bio irq 14 flags 0x00ff8004 vector wdintr 622# 623# specifies that drive 0 will be allowed to probe for 32 bit transfers and 624# a maximum multi-sector transfer of 4 sectors, and drive 1 will not be 625# allowed to probe for 32 bit transfers, but will allow multi-sector 626# transfers up to the maximum that the drive supports. 627# 628 629# 630controller wdc0 at isa? port "IO_WD1" bio irq 14 vector wdintr 631disk wd0 at wdc0 drive 0 632disk wd1 at wdc0 drive 1 633controller wdc1 at isa? port "IO_WD2" bio irq 15 vector wdintr 634disk wd2 at wdc1 drive 0 635disk wd3 at wdc1 drive 1 636 637# 638# Options for `wdc': 639# 640# ATAPI enables the support for ATAPI-compatible IDE devices 641# 642options ATAPI #Enable ATAPI support for IDE bus 643options ATAPI_STATIC #Don't do it as an LKM 644 645# IDE CD-ROM driver - requires wdc controller and ATAPI option 646device wcd0 647 648# 649# Standard floppy disk controllers and floppy tapes: `fdc', `fd', and `ft' 650# 651controller fdc0 at isa? port "IO_FD1" bio irq 6 drq 2 vector fdintr 652# 653# Activate this line instead of the fdc0 line above if you happen to 654# have an Insight floppy tape. Probing them proved to be dangerous 655# for people with floppy disks only, so it's "hidden" behind a flag: 656#controller fdc0 at isa? port "IO_FD1" bio flags 1 irq 6 drq 2 vector fdintr 657 658disk fd0 at fdc0 drive 0 659disk fd1 at fdc0 drive 1 660tape ft0 at fdc0 drive 2 661 662 663# 664# Options for `fd': 665# 666# FDSEEKWAIT selects a non-default head-settle time (i.e., the time to 667# wait after a seek is performed). The default value (1/32 s) is 668# usually sufficient. The units are inverse seconds, so a value of 16 669# here means to wait 1/16th of a second; you should choose a power of 670# two. 671# XXX: this seems to be missing! 672options FDSEEKWAIT=16 673 674# 675# Other standard PC hardware: `lpt', `mse', `psm', `sio', etc. 676# 677# lpt: printer port 678# lpt specials: 679# port can be specified as ?, this will cause the driver to scan 680# the BIOS port list; 681# the irq and vector clauses may be omitted, this 682# will force the port into polling mode. 683# mse: Logitech and ATI InPort bus mouse ports 684# psm: PS/2 mouse port [note: conflicts with sc0/vt0, thus "conflicts" keywd] 685# sio: serial ports (see sio(4)) 686 687device lpt0 at isa? port? tty irq 7 vector lptintr 688device lpt1 at isa? port "IO_LPT3" tty irq 5 vector lptintr 689device mse0 at isa? port 0x23c tty irq 5 vector mseintr 690device psm0 at isa? port "IO_KBD" conflicts tty irq 12 vector psmintr 691# Options for psm: 692options PSM_NO_RESET #don't reset mouse hardware (some laptops) 693 694device sio0 at isa? port "IO_COM1" tty irq 4 vector siointr 695 696# Options for sio: 697options COMCONSOLE #prefer serial console to video console 698options COM_ESP #code for Hayes ESP 699options COM_MULTIPORT #code for some cards with shared IRQs 700options DSI_SOFT_MODEM #code for DSI Softmodems 701options BREAK_TO_DEBUGGER #a BREAK on a comconsole goes to 702 #DDB, if available. 703 704# 705# Network interfaces: `cx', `ed', `el', `ep', `ie', `is', `le', `lnc' 706# 707# ar: Arnet SYNC/570i hdlc sync 2/4 port V.35/X.21 serial driver (requires sppp) 708# cx: Cronyx/Sigma multiport sync/async (with Cisco or PPP framing) 709# ed: Western Digital and SMC 80xx; Novell NE1000 and NE2000; 3Com 3C503 710# el: 3Com 3C501 (slow!) 711# ep: 3Com 3C509 (buggy) 712# fe: Fujitsu MB86960A/MB86965A Ethernet 713# fea: DEC DEFEA EISA FDDI adapter 714# ie: AT&T StarLAN 10 and EN100; 3Com 3C507; unknown NI5210 715# le: Digital Equipment EtherWorks 2 and EtherWorks 3 (DEPCA, DE100, 716# DE101, DE200, DE201, DE202, DE203, DE204, DE205, DE422) 717# lnc: Lance/PCnet cards (Isolan, Novell NE2100, NE32-VL) 718# sr: RISCom/N2 hdlc sync 1/2 port V.35/X.21 serial driver (requires sppp) 719# ze: IBM/National Semiconductor PCMCIA ethernet controller. 720# zp: 3Com PCMCIA Etherlink III (It does not require shared memory for 721# send/receive operation, but it needs 'iomem' to read/write the 722# attribute memory) 723# 724 725device ar0 at isa? port 0x300 net irq 10 iomem 0xd0000 vector arintr 726device cx0 at isa? port 0x240 net irq 15 drq 7 vector cxintr 727device ed0 at isa? port 0x280 net irq 5 iomem 0xd8000 vector edintr 728device eg0 at isa? port 0x310 net irq 5 vector egintr 729device el0 at isa? port 0x300 net irq 9 vector elintr 730device ep0 at isa? port 0x300 net irq 10 vector epintr 731#device ex0 at isa? port 0x300 net irq 10 iomem 0xd0000 vector exintr 732device fe0 at isa? port 0x300 net irq ? vector feintr 733device fea0 at isa? net irq ? vector feaintr 734device ie0 at isa? port 0x360 net irq 7 iomem 0xd0000 vector ieintr 735device ix0 at isa? port 0x300 net irq 10 iomem 0xd0000 iosiz 32768 vector ixintr 736device le0 at isa? port 0x300 net irq 5 iomem 0xd0000 vector le_intr 737device lnc0 at isa? port 0x300 net irq 10 drq 0 vector lncintr 738device sr0 at isa? port 0x300 net irq 5 iomem 0xd0000 vector srintr 739# Needed so that we can (bogusly) include both the dedicated PCCARD 740# drivers and the generic support 741options LINT_PCCARD_HACK 742device ze0 at isa? port 0x300 net irq 5 iomem 0xd8000 vector zeintr 743device zp0 at isa? port 0x300 net irq 10 iomem 0xd8000 vector zpintr 744 745 746# 747# Audio drivers: `snd', `sb', `pas', `gus', `pca' 748# 749# snd: Voxware sound support code 750# sb: SoundBlaster PCM - SoundBlaster, SB Pro, SB16, ProAudioSpectrum 751# sbxvi: SoundBlaster 16 752# sbmidi: SoundBlaster 16 MIDI interface 753# pas: ProAudioSpectrum PCM and MIDI 754# gus: Gravis Ultrasound - Ultrasound, Ultrasound 16, Ultrasound MAX 755# gusxvi: Gravis Ultrasound 16-bit PCM (do not use) 756# mss: Microsoft Sound System 757# opl: Yamaha OPL-2 and OPL-3 FM - SB, SB Pro, SB 16, ProAudioSpectrum 758# uart: stand-alone 6850 UART for MIDI 759# mpu: Roland MPU-401 stand-alone card 760# 761# Beware! The addresses specified below are also hard-coded in 762# i386/isa/sound/sound_config.h. If you change the values here, you 763# must also change the values in the include file. 764# 765# pca: PCM audio through your PC speaker 766# 767# If you don't have a lpt0 device at IRQ 7, you can remove the 768# ``conflicts'' specification in the appropriate device entries below. 769# 770# If you have a GUS-MAX card and want to use the CS4231 codec on the 771# card the drqs for the gus max must be 8 bit (1, 2, or 3). 772# 773# If you would like to use the full duplex option on the gus, then define 774# flags to be the ``read dma channel''. 775# 776# options BROKEN_BUS_CLOCK #PAS-16 isn't working and OPTI chipset 777# options SYMPHONY_PAS #PAS-16 isn't working and SYMPHONY chipset 778# options EXCLUDE_SBPRO #PAS-16 779# options SBC_IRQ=5 #PAS-16. Must match irq on sb0 line. 780# PAS16: The order of the pas0/sb0/opl0 is important since the 781# sb emulation is enabled in the pas-16 attach. 782# 783# The i386/isa/sound/sound.doc has more information. 784 785# Controls all sound devices 786controller snd0 787device pas0 at isa? port 0x388 irq 10 drq 6 vector pasintr 788device sb0 at isa? port 0x220 irq 7 conflicts drq 1 vector sbintr 789device sbxvi0 at isa? drq 5 790device sbmidi0 at isa? port 0x330 791#device awe0 at isa? port 0x620 792device gus0 at isa? port 0x220 irq 12 drq 1 vector gusintr 793#device gus0 at isa? port 0x220 irq 12 drq 1 flags 0x3 vector gusintr 794device mss0 at isa? port 0x530 irq 10 drq 1 vector adintr 795# Use this line for PAS avoid port conflict 796device opl0 at isa? port 0x38a 797# For normal case use next line 798# device opl0 at isa? port 0x388 799device mpu0 at isa? port 0x330 irq 6 drq 0 800device uart0 at isa? port 0x330 irq 5 vector "m6850intr" 801 802# More undocumented sound devices with bogus configurations for linting. 803# broken 804#device sscape0 at isa? port 0x330 irq 6 drq 0 805#device trix0 at isa? port 0x330 irq 6 drq 0 vector sscapeintr 806 807# Not controlled by `snd' 808device pca0 at isa? port IO_TIMER1 tty 809 810# 811# Miscellaneous hardware: 812# 813# mcd: Mitsumi CD-ROM 814# scd: Sony CD-ROM 815# matcd: Matsushita/Panasonic CD-ROM 816# wt: Wangtek and Archive QIC-02/QIC-36 tape drives 817# ctx: Cortex-I frame grabber 818# apm: Laptop Advanced Power Management (experimental) 819# spigot: The Creative Labs Video Spigot video-acquisition board 820# meteor: Matrox Meteor video capture board 821# cy: Cyclades serial driver 822# dgb: Digiboard PC/Xi and PC/Xe series driver (ALPHA QUALITY!) 823# gp: National Instruments AT-GPIB and AT-GPIB/TNT board 824# asc: GI1904-based hand scanners, e.g. the Trust Amiscan Grey 825# gsc: Genius GS-4500 hand scanner. 826# joy: joystick 827# labpc: National Instrument's Lab-PC and Lab-PC+ 828# rc: RISCom/8 multiport card 829# tw: TW-523 power line interface for use with X-10 home control products 830# si: Specialix SI/XIO 4-32 port terminal multiplexor 831# stl: Stallion EasyIO and EasyConnection 8/32 (cd1400 based) 832# stli: Stallion EasyConnection 8/64, ONboard, Brumby (intelligent) 833 834# 835# Notes on APM 836# Some APM implementations will not work with the `statistics clock' 837# enabled, so it's disabled by default if the APM driver is enabled. 838# However, this is not true for all laptops. Try removing the option 839# APM_BROKEN_STATCLOCK and see if suspend/resume work 840# 841 842options APM_IDLE_CPU # Tell APM to idle rather than halt'ing the cpu 843 844# 845# Notes on the spigot: 846# The video spigot is at 0xad6. This port address can not be changed. 847# The irq values may only be 10, 11, or 15 848# I/O memory is an 8kb region. Possible values are: 849# 0a0000, 0a2000, ..., 0fffff, f00000, f02000, ..., ffffff 850# The start address must be on an even boundary. 851# Add the following option if you want to allow non-root users to be able 852# to access the spigot. This option is not secure because it allows users 853# direct access to the I/O page. 854# options SPIGOT_UNSECURE 855# 856 857# Notes on the Digiboard driver: 858# 859# The following flag values have special meanings: 860# 0x01 - alternate layout of pins 861# 0x02 - use the windowed PC/Xe in 64K mode 862 863# Notes on the Specialix SI/XIO driver: 864# **This is NOT a Specialix supported Driver!** 865# The host card is memory, not IO mapped. 866# The Rev 1 host cards use a 64K chunk, on a 32K boundary. 867# The Rev 2 host cards use a 32K chunk, on a 32K boundary. 868# The cards can use an IRQ of 11, 12 or 15. 869 870# Notes on the Stallion stl and stli drivers: 871# See src/i386/isa/README.stl for complete instructions. 872# This is version 0.0.5alpha, unsupported by Stallion. 873# The stl driver has a secondary IO port hard coded at 0x280. You need 874# to change src/i386/isa/stallion.c if you reconfigure this on the boards. 875# The "flags" and "iosiz" settings on the stli driver depend on the board: 876# EasyConnection 8/64 ISA: flags 23 iosiz 0x1000 877# EasyConnection 8/64 EISA: flags 24 iosiz 0x10000 878# EasyConnection 8/64 MCA: flags 25 iosiz 0x1000 879# ONboard ISA: flags 4 iosiz 0x10000 880# ONboard EISA: flags 7 iosiz 0x10000 881# ONboard MCA: flags 3 iosiz 0x10000 882# Brumby: flags 2 iosiz 0x4000 883# Stallion: flags 1 iosiz 0x10000 884 885device mcd0 at isa? port 0x300 bio irq 10 vector mcdintr 886# for the Sony CDU31/33A CDROM 887device scd0 at isa? port 0x230 bio 888# for the SoundBlaster 16 multicd - up to 4 devices 889controller matcd0 at isa? port 0x230 bio 890device wt0 at isa? port 0x300 bio irq 5 drq 1 vector wtintr 891device ctx0 at isa? port 0x230 iomem 0xd0000 892device spigot0 at isa? port 0xad6 irq 15 iomem 0xee000 vector spigintr 893device qcam0 at isa? port "IO_LPT3" tty 894device apm0 at isa? 895options APM_BROKEN_STATCLOCK 896device gp0 at isa? port 0x2c0 tty 897device gsc0 at isa? port "IO_GSC1" tty drq 3 898device joy0 at isa? port "IO_GAME" 899device cy0 at isa? tty irq 10 iomem 0xd4000 iosiz 0x2000 vector cyintr 900device dgb0 at isa? port 0x220 iomem 0xfc0000 iosiz ? tty 901device labpc0 at isa? port 0x260 tty irq 5 vector labpcintr 902device rc0 at isa? port 0x220 tty irq 12 vector rcintr 903# the port and irq for tw0 are fictitious 904device tw0 at isa? port 0x380 tty irq 11 vector twintr 905device si0 at isa? iomem 0xd0000 tty irq 12 vector siintr 906device asc0 at isa? port IO_ASC1 tty drq 3 irq 10 vector ascintr 907device bqu0 at isa? port 0x150 908device stl0 at isa? port 0x2a0 tty irq 10 vector stlintr 909device stli0 at isa? port 0x2a0 tty iomem 0xcc000 flags 23 iosiz 0x1000 910 911# 912# EISA devices: 913# 914# The EISA bus device is eisa0. It provides auto-detection and 915# configuration support for all devices on the EISA bus. 916# 917# The `ahb' device provides support for the Adaptec 174X adapter. 918# 919# The `ahc' device provides support for the Adaptec 274X and 284X 920# adapters. The 284X, although a VLB card responds to EISA probes. 921# 922controller eisa0 923controller ahb0 924controller ahc0 925 926# enable tagged command queueing, which is a major performance win on 927# devices that support it (and controllers with enough SCB's) 928options AHC_TAGENABLE 929 930# enable SCB paging - See the ahc.4 man page 931options AHC_SCBPAGING_ENABLE 932 933# The aic7xxx driver will attempt to use memory mapped I/O for all PCI 934# controllers that have it configured only if this option is set. Unfortunately, 935# this doesn't work on some motherboards, which prevents it from being the 936# default. 937options AHC_ALLOW_MEMIO 938 939# 940# PCI devices: 941# 942# The main PCI bus device is `pci'. It provides auto-detection and 943# configuration support for all devices on the PCI bus, using either 944# configuration mode defined in the PCI specification. 945# 946# The `ahc' device provides support for the Adaptec 29/3940(U)(W) 947# and motherboard based AIC7870/AIC7880 adapters. 948# 949# The `ncr' device provides support for the NCR 53C810 and 53C825 950# self-contained SCSI host adapters. 951# 952# The `amd' device provides support for the Tekram DC-390 and 390T 953# SCSI host adapters, but is expected to work with any AMD 53c974 954# PCI SCSI chip and the AMD Ethernet+SCSI Combo chip, after some 955# local patches were applied to the sources (that had originally 956# been written by Tekram and limited to work with their SCSI cards). 957# 958# The `de' device provides support for the Digital Equipment DC21040 959# self-contained Ethernet adapter. 960# 961# The `fxp' device provides support for the Intel EtherExpress Pro/100B 962# PCI Fast Ethernet adapters. 963# 964# The `vx' device provides support for the 3Com 3C590 and 3C595 965# early support 966# 967# The `fpa' device provides support for the Digital DEFPA PCI FDDI 968# adapter. pseudo-device fddi is also needed. 969# 970# The `meteor' device is a PCI video capture board. It can also have the 971# following options: 972# options METEOR_ALLOC_PAGES=xxx preallocate kernel pages for data entry 973# figure (ROWS*COLUMN*BYTES_PER_PIXEL*FRAME+PAGE_SIZE-1)/PAGE_SIZE 974# options METEOR_DEALLOC_PAGES remove all allocated pages on close(2) 975# options METEOR_DEALLOC_ABOVE=xxx remove all allocated pages above the 976# specified amount. If this value is below the allocated amount no action 977# taken 978# option METEOR_SYSTEM_DEFAULT={METEOR_PAL|METEOR_NTSC|METEOR_SECAM}, used 979# for initialization of fps routine when a signal is not present. 980# 981controller pci0 982controller ahc1 983controller ncr0 984controller amd0 985device de0 986device fxp0 987device vx0 988device fpa0 989device meteor0 990 991 992# 993# PCCARD/PCMCIA 994# 995# crd: slot controller 996# pcic: slots 997controller crd0 998controller pcic0 at crd? 999controller pcic1 at crd? 1000 1001# 1002# Laptop/Notebook options: 1003# 1004# See also: 1005# apm under `Miscellaneous hardware' 1006# options PSM_NO_RESET for the `psm' driver 1007# above. 1008 1009# For older notebooks that signal a powerfail condition (external 1010# power supply dropped, or battery state low) by issuing an NMI: 1011 1012options POWERFAIL_NMI # make it beep instead of panicing 1013 1014# More undocumented options for linting. 1015 1016options CLK_CALIBRATION_LOOP 1017options "CLK_USE_I8254_CALIBRATION" 1018options "CLK_USE_I586_CALIBRATION" 1019options COMPAT_LINUX 1020options DEBUG 1021options DEVFS_ROOT 1022options "EXT2FS" 1023options "I586_CTR_GUPROF" 1024options "I586_PMC_GUPROF=0x70000" 1025options "IBCS2" 1026options "SCSI_2_DEF" 1027options SCSI_DELAY=8 # Be pessimistic about Joe SCSI device 1028options SCSI_NCR_DEBUG 1029options SCSI_NCR_DFLT_TAGS=4 1030options SCSI_NCR_MAX_SYNC=10000 1031options SCSI_NCR_MAX_WIDE=1 1032options SCSI_NCR_MYADDR=7 1033options SHOW_BUSYBUFS # List buffers that prevent root unmount 1034options SI_DEBUG 1035options SPX_HACK 1036