15# 16 17# 18# This directive is mandatory; it defines the architecture to be 19# configured for; in this case, the 386 family based IBM-PC and 20# compatibles. 21# 22machine i386 23 24# 25# This is the ``identification'' of the kernel. Usually this should 26# be the same as the name of your kernel. 27# 28ident LINT 29 30# 31# The `maxusers' parameter controls the static sizing of a number of 32# internal system tables by a complicated formula defined in param.c. 33# 34maxusers 10 35 36# 37# We want LINT to cover profiling as well 38profile 2 39 40# 41# The `makeoptions' parameter allows variables to be passed to the 42# generated Makefile in the build area. 43# 44# CONF_CFLAGS gives some extra compiler flags that are added to ${CFLAGS} 45# after most other flags. Here we use it to inhibit use of non-optimal 46# gcc builtin functions (e.g., memcmp). 47# 48# DEBUG happens to be magic. 49# The following is equivalent to 'config -g KERNELNAME' and creates 50# 'kernel.debug' compiled with -g debugging as well as a normal 51# 'kernel'. Use 'make install.debug' to install the debug kernel 52# but that isn't normally necessary as the debug symbols are not loaded 53# by the kernel and are not useful there anyway. 54# 55# KERNEL can be overridden so that you can change the default name of your 56# kernel. 57# 58makeoptions CONF_CFLAGS=-fno-builtin #Don't allow use of memcmp, etc. 59#makeoptions DEBUG=-g #Build kernel with gdb(1) debug symbols 60#makeoptions KERNEL=foo #Build kernel "foo" and install "/foo" 61 62# 63# Certain applications can grow to be larger than the 512M limit 64# that FreeBSD initially imposes. Below are some options to 65# allow that limit to grow to 1GB, and can be increased further 66# with changing the parameters. MAXDSIZ is the maximum that the 67# limit can be set to, and the DFLDSIZ is the default value for 68# the limit. You might want to set the default lower than the 69# max, and explicitly set the maximum with a shell command for processes 70# that regularly exceed the limit like INND. 71# 72options MAXDSIZ="(1024UL*1024*1024)" 73options DFLDSIZ="(1024UL*1024*1024)" 74 75# 76# BLKDEV_IOSIZE sets the default block size used in user block 77# device I/O. Note that this value will be overriden by the label 78# when specifying a block device from a label with a non-0 79# partition blocksize. The default is PAGE_SIZE. 80# 81options BLKDEV_IOSIZE=8192 82 83# Options for the VM subsystem 84options PQ_CACHESIZE=512 # color for 512k/16k cache 85# Deprecated options supported for backwards compatibility 86#options PQ_NOOPT # No coloring 87#options PQ_LARGECACHE # color for 512k/16k cache 88#options PQ_HUGECACHE # color for 1024k/16k cache 89#options PQ_MEDIUMCACHE # color for 256k/16k cache 90#options PQ_NORMALCACHE # color for 64k/16k cache 91 92# This allows you to actually store this configuration file into 93# the kernel binary itself, where it may be later read by saying: 94# strings -n 3 /boot/kernel/kernel | sed -n 's/^___//p' > MYKERNEL 95# 96options INCLUDE_CONFIG_FILE # Include this file in kernel 97 98# 99# The root device and filesystem type can be compiled in; 100# this provides a fallback option if the root device cannot 101# be correctly guesst by the bootstrap code, or an override if 102# the RB_DFLTROOT flag (-r) is specified when booting the kernel. 103# 104options ROOTDEVNAME=\"ufs:da0s2e\" 105 106 107##################################################################### 108# SMP OPTIONS: 109# 110# SMP enables building of a Symmetric MultiProcessor Kernel. 111# APIC_IO enables the use of the IO APIC for Symmetric I/O. 112# 113# Notes: 114# 115# An SMP kernel will ONLY run on an Intel MP spec. qualified motherboard. 116# 117# Be sure to disable 'cpu I386_CPU' && 'cpu I486_CPU' for SMP kernels. 118# 119# Check the 'Rogue SMP hardware' section to see if additional options 120# are required by your hardware. 121# 122 123# Mandatory: 124options SMP # Symmetric MultiProcessor Kernel 125options APIC_IO # Symmetric (APIC) I/O 126 127# 128# Rogue SMP hardware: 129# 130 131# Bridged PCI cards: 132# 133# The MP tables of most of the current generation MP motherboards 134# do NOT properly support bridged PCI cards. To use one of these 135# cards you should refer to ??? 136 137# SMP Debugging Options: 138# 139# MUTEX_DEBUG enables various extra assertions in the mutex code. 140# WITNESS enables the mutex witness code which detects deadlocks and cycles 141# during locking operations. 142# WITNESS_DDB causes the witness code to drop into the kernel debugger if 143# a lock heirarchy violation occurs or if locks are held when going to 144# sleep. 145# WITNESS_SKIPSPIN disables the witness checks on spin mutexes. 146options MUTEX_DEBUG 147options WITNESS 148options WITNESS_DDB 149options WITNESS_SKIPSPIN 150 151 152##################################################################### 153# CPU OPTIONS 154 155# 156# You must specify at least one CPU (the one you intend to run on); 157# deleting the specification for CPUs you don't need to use may make 158# parts of the system run faster. 159# I386_CPU is mutually exclusive with the other CPU types. 160# 161#cpu I386_CPU 162cpu I486_CPU 163cpu I586_CPU # aka Pentium(tm) 164cpu I686_CPU # aka Pentium Pro(tm) 165 166# 167# Options for CPU features. 168# 169# CPU_BLUELIGHTNING_FPU_OP_CACHE enables FPU operand cache on IBM 170# BlueLightning CPU. It works only with Cyrix FPU, and this option 171# should not be used with Intel FPU. 172# 173# CPU_BLUELIGHTNING_3X enables triple-clock mode on IBM Blue Lightning 174# CPU if CPU supports it. The default is double-clock mode on 175# BlueLightning CPU box. 176# 177# CPU_BTB_EN enables branch target buffer on Cyrix 5x86 (NOTE 1). 178# 179# CPU_DIRECT_MAPPED_CACHE sets L1 cache of Cyrix 486DLC CPU in direct 180# mapped mode. Default is 2-way set associative mode. 181# 182# CPU_CYRIX_NO_LOCK enables weak locking for the entire address space 183# of Cyrix 6x86 and 6x86MX CPUs by setting the NO_LOCK bit of CCR1. 184# Otherwise, the NO_LOCK bit of CCR1 is cleared. (NOTE 3) 185# 186# CPU_DISABLE_5X86_LSSER disables load store serialize (i.e. enables 187# reorder). This option should not be used if you use memory mapped 188# I/O device(s). 189# 190# CPU_FASTER_5X86_FPU enables faster FPU exception handler. 191# 192# CPU_I486_ON_386 enables CPU cache on i486 based CPU upgrade products 193# for i386 machines. 194# 195# CPU_IORT defines I/O clock delay time (NOTE 1). Default values of 196# I/O clock delay time on Cyrix 5x86 and 6x86 are 0 and 7,respectively 197# (no clock delay). 198# 199# CPU_L2_LATENCY specifed the L2 cache latency value. This option is used 200# only when CPU_PPRO2CELERON is defined and Mendocino Celeron is detected. 201# The default value is 5. 202# 203# CPU_LOOP_EN prevents flushing the prefetch buffer if the destination 204# of a jump is already present in the prefetch buffer on Cyrix 5x86(NOTE 205# 1). 206# 207# CPU_PPRO2CELERON enables L2 cache of Mendocino Celeron CPUs. This option 208# is useful when you use Socket 8 to Socket 370 converter, because most Pentium 209# Pro BIOSs do not enable L2 cache of Mendocino Celeron CPUs. 210# 211# CPU_RSTK_EN enables return stack on Cyrix 5x86 (NOTE 1). 212# 213# CPU_SUSP_HLT enables suspend on HALT. If this option is set, CPU 214# enters suspend mode following execution of HALT instruction. 215# 216# CPU_WT_ALLOC enables write allocation on Cyrix 6x86/6x86MX and AMD 217# K5/K6/K6-2 cpus. 218# 219# CYRIX_CACHE_WORKS enables CPU cache on Cyrix 486 CPUs with cache 220# flush at hold state. 221# 222# CYRIX_CACHE_REALLY_WORKS enables (1) CPU cache on Cyrix 486 CPUs 223# without cache flush at hold state, and (2) write-back CPU cache on 224# Cyrix 6x86 whose revision < 2.7 (NOTE 2). 225# 226# NO_F00F_HACK disables the hack that prevents Pentiums (and ONLY 227# Pentiums) from locking up when a LOCK CMPXCHG8B instruction is 228# executed. This option is only needed if I586_CPU is also defined, 229# and should be included for any non-Pentium CPU that defines it. 230# 231# NO_MEMORY_HOLE is an optimisation for systems with AMD K6 processors 232# which indicates that the 15-16MB range is *definitely* not being 233# occupied by an ISA memory hole. 234# 235# NOTE 1: The options, CPU_BTB_EN, CPU_LOOP_EN, CPU_IORT, 236# CPU_LOOP_EN and CPU_RSTK_EN should not be used because of CPU bugs. 237# These options may crash your system. 238# 239# NOTE 2: If CYRIX_CACHE_REALLY_WORKS is not set, CPU cache is enabled 240# in write-through mode when revision < 2.7. If revision of Cyrix 241# 6x86 >= 2.7, CPU cache is always enabled in write-back mode. 242# 243# NOTE 3: This option may cause failures for software that requires 244# locked cycles in order to operate correctly. 245# 246options CPU_BLUELIGHTNING_FPU_OP_CACHE 247options CPU_BLUELIGHTNING_3X 248options CPU_BTB_EN 249options CPU_DIRECT_MAPPED_CACHE 250options CPU_DISABLE_5X86_LSSER 251options CPU_FASTER_5X86_FPU 252options CPU_I486_ON_386 253options CPU_IORT 254options CPU_L2_LATENCY=5 255options CPU_LOOP_EN 256options CPU_PPRO2CELERON 257options CPU_RSTK_EN 258options CPU_SUSP_HLT 259options CPU_WT_ALLOC 260options CYRIX_CACHE_WORKS 261options CYRIX_CACHE_REALLY_WORKS 262#options NO_F00F_HACK 263 264# 265# A math emulator is mandatory if you wish to run on hardware which 266# does not have a floating-point processor. Pick either the original, 267# bogus (but freely-distributable) math emulator, or a much more 268# fully-featured but GPL-licensed emulator taken from Linux. 269# 270options MATH_EMULATE #Support for x87 emulation 271# Don't enable both of these in a real config. 272options GPL_MATH_EMULATE #Support for x87 emulation via 273 #new math emulator 274 275 276##################################################################### 277# COMPATIBILITY OPTIONS 278 279# 280# Implement system calls compatible with 4.3BSD and older versions of 281# FreeBSD. You probably do NOT want to remove this as much current code 282# still relies on the 4.3 emulation. 283# 284options COMPAT_43 285 286# 287# These three options provide support for System V Interface 288# Definition-style interprocess communication, in the form of shared 289# memory, semaphores, and message queues, respectively. 290# 291options SYSVSHM 292options SYSVSEM 293options SYSVMSG 294 295 296##################################################################### 297# DEBUGGING OPTIONS 298 299# 300# Enable the kernel debugger. 301# 302options DDB 303 304# 305# Don't drop into DDB for a panic. Intended for unattended operation 306# where you may want to drop to DDB from the console, but still want 307# the machine to recover from a panic 308# 309options DDB_UNATTENDED 310 311# 312# If using GDB remote mode to debug the kernel, there's a non-standard 313# extension to the remote protocol that can be used to use the serial 314# port as both the debugging port and the system console. It's non- 315# standard and you're on your own if you enable it. See also the 316# "remotechat" variables in the FreeBSD specific version of gdb. 317# 318options GDB_REMOTE_CHAT 319 320# 321# KTRACE enables the system-call tracing facility ktrace(2). 322# 323options KTRACE #kernel tracing 324 325# 326# KTR is a kernel tracing mechanism imported from BSD/OS. Currently it 327# has no userland interface aside from a few sysctl's. It is enabled with 328# the KTR option. The KTR_EXTEND option causes trace events to be generated 329# as a string from snprintf rather than as a string and up to 5 argument 330# pointers. KTR_ENTRIES defines the number of entries in the circular trace 331# buffer. KTR_COMPILE defines the mask of events to compile into the kernel 332# as defined by the KTR_* constants in <sys/ktr.h>. KTR_MASK defines the 333# initial value of the ktr_mask variable which determines at runtime what 334# events to trace. KTR_CPUMASK determines which CPU's log events, with 335# bit X corresponding to cpu X. KTR_VERBOSE enables dumping of KTR events 336# to the console by default. This functionality can be toggled via the 337# debug.ktr_verbose sysctl and defaults to off if KTR_VERBOSE is not defined. 338# 339options KTR 340options KTR_EXTEND 341options KTR_ENTRIES=1024 342options KTR_COMPILE="(KTR_INTR|KTR_PROC)" 343options KTR_MASK=KTR_INTR 344options KTR_CPUMASK=0x3 345options KTR_VERBOSE 346 347# 348# The INVARIANTS option is used in a number of source files to enable 349# extra sanity checking of internal structures. This support is not 350# enabled by default because of the extra time it would take to check 351# for these conditions, which can only occur as a result of 352# programming errors. 353# 354options INVARIANTS 355 356# 357# The INVARIANT_SUPPORT option makes us compile in support for 358# verifying some of the internal structures. It is a prerequisite for 359# 'INVARIANTS', as enabling 'INVARIANTS' will make these functions be 360# called. The intent is that you can set 'INVARIANTS' for single 361# source files (by changing the source file or specifying it on the 362# command line) if you have 'INVARIANT_SUPPORT' enabled. Also, if you 363# wish to build a kernel module with 'INVARIANTS', then adding 364# 'INVARIANT_SUPPORT' to your kernel will provide all the necessary 365# infrastructure without the added overhead. 366# 367options INVARIANT_SUPPORT 368 369# 370# The DIAGNOSTIC option is used to enable extra debugging information 371# from some parts of the kernel. As this makes everything more noisy, 372# it is disabled by default. 373# 374options DIAGNOSTIC 375 376# 377# REGRESSION causes optional kernel interfaces necessary only for regression 378# testing to be enabled. These interfaces may consitute security risks 379# when enabled, as they permit processes to easily modify aspects of the 380# run-time environment to reproduce unlikely or unusual (possibly normally 381# impossible) scenarios. 382# 383options REGRESSION 384 385# 386# PERFMON causes the driver for Pentium/Pentium Pro performance counters 387# to be compiled. See perfmon(4) for more information. 388# 389options PERFMON 390 391 392# 393# This option let some drivers co-exist that can't co-exist in a running 394# system. This is used to be able to compile all kernel code in one go for 395# quality assurance purposes (like this file, which the option takes it name 396# from.) 397# 398options COMPILING_LINT 399 400 401# XXX - this doesn't belong here. 402# Allow ordinary users to take the console - this is useful for X. 403options UCONSOLE 404 405# XXX - this doesn't belong here either 406#options USERCONFIG #boot -c editor 407#options INTRO_USERCONFIG #imply -c and show intro screen 408#options VISUAL_USERCONFIG #visual boot -c editor 409 410##################################################################### 411# NETWORKING OPTIONS 412 413# 414# Protocol families: 415# Only the INET (Internet) family is officially supported in FreeBSD. 416# Source code for the NS (Xerox Network Service) is provided for amusement 417# value. 418# 419options INET #Internet communications protocols 420options INET6 #IPv6 communications protocols 421options IPSEC #IP security 422options IPSEC_ESP #IP security (crypto; define w/ IPSEC) 423options IPSEC_DEBUG #debug for IP security 424 425options IPX #IPX/SPX communications protocols 426options IPXIP #IPX in IP encapsulation (not available) 427options IPTUNNEL #IP in IPX encapsulation (not available) 428 429options NCP #NetWare Core protocol 430 431options NETATALK #Appletalk communications protocols 432options NETATALKDEBUG #Appletalk debugging 433 434# These are currently broken but are shipped due to interest. 435#options NS #Xerox NS protocols 436#options NSIP #XNS over IP 437 438# mchain library. It can be either loaded as KLD or compiled into kernel 439options LIBMCHAIN 440 441# netgraph(4). Enable the base netgraph code with the NETGRAPH option. 442# Individual node types can be enabled with the corresponding option 443# listed below; however, this is not strictly necessary as netgraph 444# will automatically load the corresponding KLD module if the node type 445# is not already compiled into the kernel. Each type below has a 446# corresponding man page, e.g., ng_async(8). 447options NETGRAPH #netgraph(4) system 448options NETGRAPH_ASYNC 449options NETGRAPH_BPF 450options NETGRAPH_CISCO 451options NETGRAPH_ECHO 452options NETGRAPH_ETHER 453options NETGRAPH_FRAME_RELAY 454options NETGRAPH_HOLE 455options NETGRAPH_IFACE 456options NETGRAPH_KSOCKET 457options NETGRAPH_LMI 458# MPPC compression requires proprietary files (not included) 459#options NETGRAPH_MPPC_COMPRESSION 460options NETGRAPH_MPPC_ENCRYPTION 461options NETGRAPH_ONE2MANY 462options NETGRAPH_PPP 463options NETGRAPH_PPPOE 464options NETGRAPH_PPTPGRE 465options NETGRAPH_RFC1490 466options NETGRAPH_SOCKET 467options NETGRAPH_TEE 468options NETGRAPH_TTY 469options NETGRAPH_UI 470options NETGRAPH_VJC 471 472device mn # Munich32x/Falc54 Nx64kbit/sec cards. 473device lmc # tulip based LanMedia WAN cards 474device musycc # LMC/SBE LMC1504 quad T1/E1 475 476# 477# Network interfaces: 478# The `loop' device is MANDATORY when networking is enabled. 479# The `ether' device provides generic code to handle 480# Ethernets; it is MANDATORY when a Ethernet device driver is 481# configured or token-ring is enabled. 482# The `fddi' device provides generic code to support FDDI. 483# The `sppp' device serves a similar role for certain types 484# of synchronous PPP links (like `cx', `ar'). 485# The `sl' device implements the Serial Line IP (SLIP) service. 486# The `ppp' device implements the Point-to-Point Protocol. 487# The `bpf' device enables the Berkeley Packet Filter. Be 488# aware of the legal and administrative consequences of enabling this 489# option. The number of devices determines the maximum number of 490# simultaneous BPF clients programs runnable. 491# The `disc' device implements a minimal network interface, 492# which throws away all packets sent and never receives any. It is 493# included for testing purposes. This shows up as the `ds' interface. 494# The `tap' device is a pty-like virtual Ethernet interface 495# The `tun' device implements (user-)ppp and nos-tun 496# The `gif' device implements IPv6 over IP4 tunneling, 497# IPv4 over IPv6 tunneling, IPv4 over IPv4 tunneling and 498# IPv6 over IPv6 tunneling. 499# The XBONEHACK option allows the same pair of addresses to be configured on 500# multiple gif interfaces. 501# The `faith' device captures packets sent to it and diverts them 502# to the IPv4/IPv6 translation daemon. 503# The `stf' device implements 6to4 encapsulation. 504# The `ef' device provides support for multiple ethernet frame types 505# specified via ETHER_* options. See ef(4) for details. 506# 507# The PPP_BSDCOMP option enables support for compress(1) style entire 508# packet compression, the PPP_DEFLATE is for zlib/gzip style compression. 509# PPP_FILTER enables code for filtering the ppp data stream and selecting 510# events for resetting the demand dial activity timer - requires bpf. 511# See pppd(8) for more details. 512# 513device ether #Generic Ethernet 514device vlan 1 #VLAN support 515device token #Generic TokenRing 516device fddi #Generic FDDI 517device sppp #Generic Synchronous PPP 518device loop 1 #Network loopback device 519device bpf #Berkeley packet filter 520device disc #Discard device (ds0, ds1, etc) 521device tap #Virtual Ethernet driver 522device tun #Tunnel driver (ppp(8), nos-tun(8)) 523device sl #Serial Line IP 524device ppp 2 #Point-to-point protocol 525options PPP_BSDCOMP #PPP BSD-compress support 526options PPP_DEFLATE #PPP zlib/deflate/gzip support 527options PPP_FILTER #enable bpf filtering (needs bpf) 528 529device ef # Multiple ethernet frames support 530options ETHER_II # enable Ethernet_II frame 531options ETHER_8023 # enable Ethernet_802.3 (Novell) frame 532options ETHER_8022 # enable Ethernet_802.2 frame 533options ETHER_SNAP # enable Ethernet_802.2/SNAP frame 534 535# for IPv6 536device gif 4 #IPv6 and IPv4 tunneling 537options XBONEHACK 538device faith 1 #for IPv6 and IPv4 translation 539device stf #6to4 IPv6 over IPv4 encapsulation 540 541# 542# Internet family options: 543# 544# MROUTING enables the kernel multicast packet forwarder, which works 545# with mrouted(8). 546# 547# IPFIREWALL enables support for IP firewall construction, in 548# conjunction with the `ipfw' program. IPFIREWALL_VERBOSE sends 549# logged packets to the system logger. IPFIREWALL_VERBOSE_LIMIT 550# limits the number of times a matching entry can be logged. 551# 552# WARNING: IPFIREWALL defaults to a policy of "deny ip from any to any" 553# and if you do not add other rules during startup to allow access, 554# YOU WILL LOCK YOURSELF OUT. It is suggested that you set firewall_type=open 555# in /etc/rc.conf when first enabling this feature, then refining the 556# firewall rules in /etc/rc.firewall after you've tested that the new kernel 557# feature works properly. 558# 559# IPFIREWALL_DEFAULT_TO_ACCEPT causes the default rule (at boot) to 560# allow everything. Use with care, if a cracker can crash your 561# firewall machine, they can get to your protected machines. However, 562# if you are using it as an as-needed filter for specific problems as 563# they arise, then this may be for you. Changing the default to 'allow' 564# means that you won't get stuck if the kernel and /sbin/ipfw binary get 565# out of sync. 566# 567# IPDIVERT enables the divert IP sockets, used by ``ipfw divert'' 568# 569# IPSTEALTH enables code to support stealth forwarding (i.e., forwarding 570# packets without touching the ttl). This can be useful to hide firewalls 571# from traceroute and similar tools. 572# 573# TCPDEBUG enables code which keeps traces of the TCP state machine 574# for sockets with the SO_DEBUG option set, which can then be examined 575# using the trpt(8) utility. 576# 577options MROUTING # Multicast routing 578options IPFIREWALL #firewall 579options IPFIREWALL_VERBOSE #print information about 580 # dropped packets 581options IPFIREWALL_FORWARD #enable transparent proxy support 582options IPFIREWALL_VERBOSE_LIMIT=100 #limit verbosity 583options IPFIREWALL_DEFAULT_TO_ACCEPT #allow everything by default 584options IPV6FIREWALL #firewall for IPv6 585options IPV6FIREWALL_VERBOSE 586options IPV6FIREWALL_VERBOSE_LIMIT=100 587options IPV6FIREWALL_DEFAULT_TO_ACCEPT 588options IPDIVERT #divert sockets 589options IPFILTER #ipfilter support 590options IPFILTER_LOG #ipfilter logging 591options IPFILTER_DEFAULT_BLOCK #block all packets by default 592options IPSTEALTH #support for stealth forwarding 593options TCPDEBUG 594 595# RANDOM_IP_ID causes the ID field in IP packets to be randomized 596# instead of incremented by 1 with each packet generated. This 597# option closes a minor information leak which allows remote 598# observers to determine the rate of packet generation on the 599# machine by watching the counter. 600options RANDOM_IP_ID 601 602# Statically Link in accept filters 603options ACCEPT_FILTER_DATA 604options ACCEPT_FILTER_HTTP 605 606# TCP_DROP_SYNFIN adds support for ignoring TCP packets with SYN+FIN. This 607# prevents nmap et al. from identifying the TCP/IP stack, but breaks support 608# for RFC1644 extensions and is not recommended for web servers. 609# 610options TCP_DROP_SYNFIN #drop TCP packets with SYN+FIN 611 612# DUMMYNET enables the "dummynet" bandwidth limiter. You need 613# IPFIREWALL as well. See the dummynet(4) manpage for more info. 614# BRIDGE enables bridging between ethernet cards -- see bridge(4). 615# You can use IPFIREWALL and dummynet together with bridging. 616options DUMMYNET 617options BRIDGE 618 619# 620# ATM (HARP version) options 621# 622# ATM_CORE includes the base ATM functionality code. This must be included 623# for ATM support. 624# 625# ATM_IP includes support for running IP over ATM. 626# 627# At least one (and usually only one) of the following signalling managers 628# must be included (note that all signalling managers include PVC support): 629# ATM_SIGPVC includes support for the PVC-only signalling manager `sigpvc'. 630# ATM_SPANS includes support for the `spans' signalling manager, which runs 631# the FORE Systems's proprietary SPANS signalling protocol. 632# ATM_UNI includes support for the `uni30' and `uni31' signalling managers, 633# which run the ATM Forum UNI 3.x signalling protocols. 634# 635# The `hea' driver provides support for the Efficient Networks, Inc. 636# ENI-155p ATM PCI Adapter. 637# 638# The `hfa' driver provides support for the FORE Systems, Inc. 639# PCA-200E ATM PCI Adapter. 640# 641options ATM_CORE #core ATM protocol family 642options ATM_IP #IP over ATM support 643options ATM_SIGPVC #SIGPVC signalling manager 644options ATM_SPANS #SPANS signalling manager 645options ATM_UNI #UNI signalling manager 646device hea #Efficient ENI-155p ATM PCI 647device hfa #FORE PCA-200E ATM PCI 648 649 650##################################################################### 651# FILESYSTEM OPTIONS 652 653# 654# Only the root, /usr, and /tmp filesystems need be statically 655# compiled; everything else will be automatically loaded at mount 656# time. (Exception: the UFS family--- FFS --- cannot 657# currently be demand-loaded.) Some people still prefer to statically 658# compile other filesystems as well. 659# 660# NB: The NULL, PORTAL, UMAP and UNION filesystems are known to be 661# buggy, and WILL panic your system if you attempt to do anything with 662# them. They are included here as an incentive for some enterprising 663# soul to sit down and fix them. 664# 665 666# One of these is mandatory: 667options FFS #Fast filesystem 668options NFS #Network File System 669 670# The rest are optional: 671#options NFS_NOSERVER #Disable the NFS-server code. 672options CD9660 #ISO 9660 filesystem 673options FDESCFS #File descriptor filesystem 674options HPFS #OS/2 File system 675options MSDOSFS #MS DOS File System (FAT, FAT32) 676options NTFS #NT File System 677options NULLFS #NULL filesystem 678options NWFS #NetWare filesystem 679options PORTALFS #Portal filesystem 680options PROCFS #Process filesystem 681options PSEUDOFS #Pseudo-filesystem framework 682options UMAPFS #UID map filesystem 683options UNIONFS #Union filesystem 684# options NODEVFS #disable devices filesystem 685# The xFS_ROOT options REQUIRE the associated ``options xFS'' 686options NFS_ROOT #NFS usable as root device 687# This code enables IFS, an FFS which exports inodes as the namespace. 688# You can find details in src/sys/ufs/ifs/README . 689options IFS 690 691# Soft updates is a technique for improving file system speed and 692# making abrupt shutdown less risky. 693# 694options SOFTUPDATES 695 696# Extended attributes allow additional data to be associated with files, 697# and is used for ACLs, Capabilities, and MAC labels. 698# See src/sys/ufs/ufs/README.extattr for more information. 699options UFS_EXTATTR 700options UFS_EXTATTR_AUTOSTART 701 702# Access Control List support for UFS filesystems. The current ACL 703# implementation requires extended attribute support, UFS_EXTATTR, 704# for the underlying filesystem. 705# See src/sys/ufs/ufs/README.acls for more information. 706options UFS_ACL 707
|
712# Make space in the kernel for a root filesystem on a md device. 713# Define to the number of kilobytes to reserve for the filesystem. 714options MD_ROOT_SIZE=10 715 716# Make the md device a potential root device, either with preloaded 717# images of type mfs_root or md_root. 718options MD_ROOT 719 720# Allow this many swap-devices. 721# 722# In order to manage swap, the system must reserve bitmap space that 723# scales with the largest mounted swap device multiplied by NSWAPDEV, 724# irregardless of whether other swap devices exist or not. So it 725# is not a good idea to make this value too large. 726options NSWAPDEV=5 727 728# Disk quotas are supported when this option is enabled. 729options QUOTA #enable disk quotas 730 731# If you are running a machine just as a fileserver for PC and MAC 732# users, using SAMBA or Netatalk, you may consider setting this option 733# and keeping all those users' directories on a filesystem that is 734# mounted with the suiddir option. This gives new files the same 735# ownership as the directory (similar to group). It's a security hole 736# if you let these users run programs, so confine it to file-servers 737# (but it'll save you lots of headaches in those cases). Root owned 738# directories are exempt and X bits are cleared. The suid bit must be 739# set on the directory as well; see chmod(1) PC owners can't see/set 740# ownerships so they keep getting their toes trodden on. This saves 741# you all the support calls as the filesystem it's used on will act as 742# they expect: "It's my dir so it must be my file". 743# 744options SUIDDIR 745 746# NFS options: 747options NFS_MINATTRTIMO=3 # VREG attrib cache timeout in sec 748options NFS_MAXATTRTIMO=60 749options NFS_MINDIRATTRTIMO=30 # VDIR attrib cache timeout in sec 750options NFS_MAXDIRATTRTIMO=60 751options NFS_GATHERDELAY=10 # Default write gather delay (msec) 752options NFS_UIDHASHSIZ=29 # Tune the size of nfssvc_sock with this 753options NFS_WDELAYHASHSIZ=16 # and with this 754options NFS_MUIDHASHSIZ=63 # Tune the size of nfsmount with this 755options NFS_DEBUG # Enable NFS Debugging 756 757# Coda stuff: 758options CODA #CODA filesystem. 759device vcoda 4 #coda minicache <-> venus comm. 760 761# 762# Add support for the EXT2FS filesystem of Linux fame. Be a bit 763# careful with this - the ext2fs code has a tendency to lag behind 764# changes and not be exercised very much, so mounting read/write could 765# be dangerous (and even mounting read only could result in panics.) 766# 767options EXT2FS 768 769# Use real implementations of the aio_* system calls. There are numerous 770# stability issues in the current aio code that make it unsuitable for 771# inclusion on shell boxes. 772options VFS_AIO 773 774# Enable the code UFS IO optimization through the VM system. This allows 775# use VM operations instead of copying operations when possible. 776# 777# Even with this enabled, actual use of the code is still controlled by the 778# sysctl vfs.ioopt. 0 gives no optimization, 1 gives normal (use VM 779# operations if a request happens to fit), 2 gives agressive optimization 780# (the operations are split to do as much as possible through the VM system.) 781# 782# Enabling this will probably not give an overall speedup except for 783# special workloads. 784options ENABLE_VFS_IOOPT 785 786# Cryptographically secure random number generator; /dev/[u]random 787device random 788 789 790##################################################################### 791# POSIX P1003.1B 792 793# Real time extensions added in the 1993 Posix 794# P1003_1B: Infrastructure 795# _KPOSIX_PRIORITY_SCHEDULING: Build in _POSIX_PRIORITY_SCHEDULING 796# _KPOSIX_VERSION: Version kernel is built for 797 798options P1003_1B 799options _KPOSIX_PRIORITY_SCHEDULING 800options _KPOSIX_VERSION=199309L 801 802 803##################################################################### 804# CLOCK OPTIONS 805 806# The granularity of operation is controlled by the kernel option HZ whose 807# default value (100) means a granularity of 10ms. For an accurate simulation 808# of high data rates it might be necessary to reduce the timer granularity to 809# 1ms or less. Consider, however, that some interfaces using programmed I/O 810# may require a considerable time to output packets. So, reducing the 811# granularity too much might actually cause ticks to be missed thus reducing 812# the accuracy of operation. 813 814options HZ=100 815 816# Other clock options 817 818options CLK_CALIBRATION_LOOP 819options CLK_USE_I8254_CALIBRATION 820options CLK_USE_TSC_CALIBRATION 821 822 823##################################################################### 824# SCSI DEVICES 825 826# SCSI DEVICE CONFIGURATION 827 828# The SCSI subsystem consists of the `base' SCSI code, a number of 829# high-level SCSI device `type' drivers, and the low-level host-adapter 830# device drivers. The host adapters are listed in the ISA and PCI 831# device configuration sections below. 832# 833# Beginning with FreeBSD 2.0.5 you can wire down your SCSI devices so 834# that a given bus, target, and LUN always come on line as the same 835# device unit. In earlier versions the unit numbers were assigned 836# in the order that the devices were probed on the SCSI bus. This 837# means that if you removed a disk drive, you may have had to rewrite 838# your /etc/fstab file, and also that you had to be careful when adding 839# a new disk as it may have been probed earlier and moved your device 840# configuration around. 841 842# This old behavior is maintained as the default behavior. The unit 843# assignment begins with the first non-wired down unit for a device 844# type. For example, if you wire a disk as "da3" then the first 845# non-wired disk will be assigned da4. 846 847# The syntax for wiring down devices is: 848 849hint.scbus.0.at="ahc0" 850hint.scbus.1.at="ahc1" 851hint.scbus.1.bus="0" 852hint.scbus.3.at="ahc2" 853hint.scbus.3.bus="0" 854hint.scbus.2.at="ahc2" 855hint.scbus.2.bus="1" 856hint.da.0.at="scbus0" 857hint.da.0.target="0" 858hint.da.0.unit="0" 859hint.da.1.at="scbus3" 860hint.da.1.target="1" 861hint.da.2.at="scbus2" 862hint.da.2.target="3" 863hint.sa.1.at="scbus1" 864hint.sa.1.target="6" 865 866# "units" (SCSI logical unit number) that are not specified are 867# treated as if specified as LUN 0. 868 869# All SCSI devices allocate as many units as are required. 870 871# The ch driver drives SCSI Media Changer ("jukebox") devices. 872# 873# The da driver drives SCSI Direct Access ("disk") and Optical Media 874# ("WORM") devices. 875# 876# The sa driver drives SCSI Sequential Access ("tape") devices. 877# 878# The cd driver drives SCSI Read Only Direct Access ("cd") devices. 879# 880# The ses driver drives SCSI Envinronment Services ("ses") and 881# SAF-TE ("SCSI Accessable Fault-Tolerant Enclosure") devices. 882# 883# The pt driver drives SCSI Processor devices. 884# 885# 886# Target Mode support is provided here but also requires that a SIM 887# (SCSI Host Adapter Driver) provide support as well. 888# 889# The targ driver provides target mode support as a Processor type device. 890# It exists to give the minimal context necessary to respond to Inquiry 891# commands. There is a sample user application that shows how the rest 892# of the command support might be done in /usr/share/examples/scsi_target. 893# 894# The targbh driver provides target mode support and exists to respond 895# to incoming commands that do not otherwise have a logical unit assigned 896# to them. 897# 898# The "unknown" device (uk? in pre-2.0.5) is now part of the base SCSI 899# configuration as the "pass" driver. 900 901device scbus #base SCSI code 902device ch #SCSI media changers 903device da #SCSI direct access devices (aka disks) 904device sa #SCSI tapes 905device cd #SCSI CD-ROMs 906device ses #SCSI Environmental Services (and SAF-TE) 907device pt #SCSI processor 908device targ #SCSI Target Mode Code 909device targbh #SCSI Target Mode Blackhole Device 910device pass #CAM passthrough driver 911 912# CAM OPTIONS: 913# debugging options: 914# -- NOTE -- If you specify one of the bus/target/lun options, you must 915# specify them all! 916# CAMDEBUG: When defined enables debugging macros 917# CAM_DEBUG_BUS: Debug the given bus. Use -1 to debug all busses. 918# CAM_DEBUG_TARGET: Debug the given target. Use -1 to debug all targets. 919# CAM_DEBUG_LUN: Debug the given lun. Use -1 to debug all luns. 920# CAM_DEBUG_FLAGS: OR together CAM_DEBUG_INFO, CAM_DEBUG_TRACE, 921# CAM_DEBUG_SUBTRACE, and CAM_DEBUG_CDB 922# 923# CAM_MAX_HIGHPOWER: Maximum number of concurrent high power (start unit) cmds 924# CAM_NEW_TRAN_CODE: this is the new transport layer code that will be switched 925# to soon 926# SCSI_NO_SENSE_STRINGS: When defined disables sense descriptions 927# SCSI_NO_OP_STRINGS: When defined disables opcode descriptions 928# SCSI_DELAY: The number of MILLISECONDS to freeze the SIM (scsi adapter) 929# queue after a bus reset, and the number of milliseconds to 930# freeze the device queue after a bus device reset. 931options CAMDEBUG 932options CAM_DEBUG_BUS=-1 933options CAM_DEBUG_TARGET=-1 934options CAM_DEBUG_LUN=-1 935options CAM_DEBUG_FLAGS="CAM_DEBUG_INFO|CAM_DEBUG_TRACE|CAM_DEBUG_CDB" 936options CAM_MAX_HIGHPOWER=4 937options SCSI_NO_SENSE_STRINGS 938options SCSI_NO_OP_STRINGS 939options SCSI_DELAY=8000 # Be pessimistic about Joe SCSI device 940 941# Options for the CAM CDROM driver: 942# CHANGER_MIN_BUSY_SECONDS: Guaranteed minimum time quantum for a changer LUN 943# CHANGER_MAX_BUSY_SECONDS: Maximum time quantum per changer LUN, only 944# enforced if there is I/O waiting for another LUN 945# The compiled in defaults for these variables are 2 and 10 seconds, 946# respectively. 947# 948# These can also be changed on the fly with the following sysctl variables: 949# kern.cam.cd.changer.min_busy_seconds 950# kern.cam.cd.changer.max_busy_seconds 951# 952options CHANGER_MIN_BUSY_SECONDS=2 953options CHANGER_MAX_BUSY_SECONDS=10 954 955# Options for the CAM sequential access driver: 956# SA_IO_TIMEOUT: Timeout for read/write/wfm operations, in minutes 957# SA_SPACE_TIMEOUT: Timeout for space operations, in minutes 958# SA_REWIND_TIMEOUT: Timeout for rewind operations, in minutes 959# SA_ERASE_TIMEOUT: Timeout for erase operations, in minutes 960# SA_1FM_AT_EOD: Default to model which only has a default one filemark at EOT. 961options SA_IO_TIMEOUT="(4)" 962options SA_SPACE_TIMEOUT="(60)" 963options SA_REWIND_TIMEOUT="(2*60)" 964options SA_ERASE_TIMEOUT="(4*60)" 965options SA_1FM_AT_EOD 966 967# Optional timeout for the CAM processor target (pt) device 968# This is specified in seconds. The default is 60 seconds. 969options SCSI_PT_DEFAULT_TIMEOUT="60" 970 971# Optional enable of doing SES passthrough on other devices (e.g., disks) 972# 973# Normally disabled because a lot of newer SCSI disks report themselves 974# as having SES capabilities, but this can then clot up attempts to build 975# build a topology with the SES device that's on the box these drives 976# are in.... 977options SES_ENABLE_PASSTHROUGH 978 979 980##################################################################### 981# MISCELLANEOUS DEVICES AND OPTIONS 982 983# The `pty' device usually turns out to be ``effectively mandatory'', 984# as it is required for `telnetd', `rlogind', `screen', `emacs', and 985# `xterm', among others. 986 987device pty #Pseudo ttys 988device speaker #Play IBM BASIC-style noises out your speaker 989device gzip #Exec gzipped a.out's 990device md #Memory/malloc disk 991device snp #Snoop device - to look at pty/vty/etc.. 992device ccd 4 #Concatenated disk driver 993 994# Configuring Vinum into the kernel is not necessary, since the kld 995# module gets started automatically when vinum(8) starts. This 996# device is also untested. Use at your own risk. 997# 998# The option VINUMDEBUG must match the value set in CFLAGS 999# in src/sbin/vinum/Makefile. Failure to do so will result in 1000# the following message from vinum(8): 1001# 1002# Can't get vinum config: Invalid argument 1003# 1004# see vinum(4) for more reasons not to use these options. 1005device vinum #Vinum concat/mirror/raid driver 1006options VINUMDEBUG #enable Vinum debugging hooks 1007 1008# Kernel side iconv library 1009options LIBICONV 1010 1011# Size of the kernel message buffer. Should be N * pagesize. 1012options MSGBUF_SIZE=40960 1013 1014 1015##################################################################### 1016# HARDWARE BUS CONFIGURATION 1017 1018# ISA, EISA, MCA and PCI bus: 1019 1020# 1021# Mandatory ISA devices: isa, npx 1022# 1023device isa 1024 1025# 1026# Options for `isa': 1027# 1028# AUTO_EOI_1 enables the `automatic EOI' feature for the master 8259A 1029# interrupt controller. This saves about 0.7-1.25 usec for each interrupt. 1030# This option breaks suspend/resume on some portables. 1031# 1032# AUTO_EOI_2 enables the `automatic EOI' feature for the slave 8259A 1033# interrupt controller. This saves about 0.7-1.25 usec for each interrupt. 1034# Automatic EOI is documented not to work for for the slave with the 1035# original i8259A, but it works for some clones and some integrated 1036# versions. 1037# 1038# MAXMEM specifies the amount of RAM on the machine; if this is not 1039# specified, FreeBSD will first read the amount of memory from the CMOS 1040# RAM, so the amount of memory will initially be limited to 64MB or 16MB 1041# depending on the BIOS. If the BIOS reports 64MB, a memory probe will 1042# then attempt to detect the installed amount of RAM. If this probe 1043# fails to detect >64MB RAM you will have to use the MAXMEM option. 1044# The amount is in kilobytes, so for a machine with 128MB of RAM, it would 1045# be 131072 (128 * 1024). 1046# 1047# BROKEN_KEYBOARD_RESET disables the use of the keyboard controller to 1048# reset the CPU for reboot. This is needed on some systems with broken 1049# keyboard controllers. 1050 1051options COMPAT_OLDISA #Use ISA shims and glue for old drivers 1052options AUTO_EOI_1 1053#options AUTO_EOI_2 1054 1055options MAXMEM="(128*1024)" 1056#options BROKEN_KEYBOARD_RESET 1057 1058# Enable support for the kernel PLL to use an external PPS signal, 1059# under supervision of [x]ntpd(8) 1060# More info in ntpd documentation: http://www.eecis.udel.edu/~ntp 1061 1062options PPS_SYNC 1063 1064# If you see the "calcru: negative time of %ld usec for pid %d (%s)\n" 1065# message you probably have some broken sw/hw which disables interrupts 1066# for too long. You can make the system more resistant to this by 1067# choosing a high value for NTIMECOUNTER. The default is 5, there 1068# is no upper limit but more than a couple of hundred are not productive. 1069# A better strategy may be to sysctl -w kern.timecounter.method=1 1070 1071options NTIMECOUNTER=20 1072 1073# 1074# EISA bus 1075# 1076# The EISA bus device is `eisa'. It provides auto-detection and 1077# configuration support for all devices on the EISA bus. 1078 1079device eisa 1080 1081# By default, only 10 EISA slots are probed, since the slot numbers 1082# above clash with the configuration address space of the PCI subsystem, 1083# and the EISA probe is not very smart about this. This is sufficient 1084# for most machines, but in particular the HP NetServer LC series comes 1085# with an onboard AIC7770 dual-channel SCSI controller on EISA slot #11, 1086# thus you need to bump this figure to 12 for them. 1087options EISA_SLOTS=12 1088 1089# 1090# MCA bus: 1091# 1092# The MCA bus device is `mca'. It provides auto-detection and 1093# configuration support for all devices on the MCA bus. 1094# No hints are required for MCA. 1095 1096device mca 1097 1098# 1099# PCI bus & PCI options: 1100# 1101# The main PCI bus device is `pci'. It provides auto-detection and 1102# configuration support for all devices on the PCI bus, using either 1103# configuration mode defined in the PCI specification. 1104 1105device pci 1106 1107# 1108# AGP GART support 1109device agp 1110 1111# PCI options 1112# 1113#options PCI_QUIET #quiets PCI code on chipset settings 1114 1115 1116##################################################################### 1117# HARDWARE DEVICE CONFIGURATION 1118 1119# EISA support is available for some device, so they can be auto-probed. 1120# MicroChannel (MCA) support is available for some devices. 1121# For ISA the required hints are listed. 1122# EISA, MCA, PCI and pccard are self identifying buses, so no hints 1123# are needed. 1124 1125# 1126# Mandatory devices: 1127# 1128 1129# The keyboard controller; it controls the keyboard and the PS/2 mouse. 1130device atkbdc 1 1131hint.atkbdc.0.at="isa" 1132hint.atkbdc.0.port="0x060" 1133 1134# The AT keyboard 1135device atkbd 1136hint.atkbd.0.at="atkbdc" 1137hint.atkbd.0.irq="1" 1138 1139# Options for atkbd: 1140options ATKBD_DFLT_KEYMAP # specify the built-in keymap 1141makeoptions ATKBD_DFLT_KEYMAP="jp.106" 1142 1143# These options are valid for other keyboard drivers as well. 1144options KBD_DISABLE_KEYMAP_LOAD # refuse to load a keymap 1145options KBD_INSTALL_CDEV # install a CDEV entry in /dev 1146 1147# `flags' for atkbd: 1148# 0x01 Force detection of keyboard, else we always assume a keyboard 1149# 0x02 Don't reset keyboard, useful for some newer ThinkPads 1150# 0x04 Old-style (XT) keyboard support, useful for older ThinkPads 1151 1152# PS/2 mouse 1153device psm 1154hint.psm.0.at="atkbdc" 1155hint.psm.0.irq="12" 1156 1157# Options for psm: 1158options PSM_HOOKRESUME #hook the system resume event, useful 1159 #for some laptops 1160options PSM_RESETAFTERSUSPEND #reset the device at the resume event 1161 1162# The video card driver. 1163device vga 1164hint.vga.0.at="isa" 1165 1166# Options for vga: 1167# Try the following option if the mouse pointer is not drawn correctly 1168# or font does not seem to be loaded properly. May cause flicker on 1169# some systems. 1170options VGA_ALT_SEQACCESS 1171 1172# If you can dispense with some vga driver features, you may want to 1173# use the following options to save some memory. 1174#options VGA_NO_FONT_LOADING # don't save/load font 1175#options VGA_NO_MODE_CHANGE # don't change video modes 1176 1177# Older video cards may require this option for proper operation. 1178options VGA_SLOW_IOACCESS # do byte-wide i/o's to TS and GDC regs 1179 1180# The following option probably won't work with the LCD displays. 1181options VGA_WIDTH90 # support 90 column modes 1182 1183# To include support for VESA video modes 1184options VESA 1185 1186options FB_DEBUG # Frame buffer debugging 1187options FB_INSTALL_CDEV # install a CDEV entry in /dev 1188 1189# Splash screen at start up! Screen savers require this too. 1190device splash 1191 1192# The pcvt console driver (vt220 compatible). 1193device vt 1194hint.vt.0.at="isa" 1195options XSERVER # support for running an X server on vt 1196options FAT_CURSOR # start with block cursor 1197# This PCVT option is for keyboards such as those used on IBM ThinkPad laptops 1198options PCVT_SCANSET=2 # IBM keyboards are non-std 1199# Other PCVT options are documented in pcvt(4). 1200options PCVT_24LINESDEF 1201options PCVT_CTRL_ALT_DEL 1202options PCVT_META_ESC 1203options PCVT_NSCREENS=9 1204options PCVT_PRETTYSCRNS 1205options PCVT_SCREENSAVER 1206options PCVT_USEKBDSEC 1207options PCVT_VT220KEYB 1208options PCVT_GREENSAVER 1209 1210# The syscons console driver (sco color console compatible). 1211device sc 1 1212hint.sc.0.at="isa" 1213options MAXCONS=16 # number of virtual consoles 1214options SC_ALT_MOUSE_IMAGE # simplified mouse cursor in text mode 1215options SC_DFLT_FONT # compile font in 1216makeoptions SC_DFLT_FONT=cp850 1217options SC_DISABLE_DDBKEY # disable `debug' key 1218options SC_DISABLE_REBOOT # disable reboot key sequence 1219options SC_HISTORY_SIZE=200 # number of history buffer lines 1220options SC_MOUSE_CHAR=0x3 # char code for text mode mouse cursor 1221options SC_PIXEL_MODE # add support for the raster text mode 1222 1223# The following options will let you change the default colors of syscons. 1224options SC_NORM_ATTR="(FG_GREEN|BG_BLACK)" 1225options SC_NORM_REV_ATTR="(FG_YELLOW|BG_GREEN)" 1226options SC_KERNEL_CONS_ATTR="(FG_RED|BG_BLACK)" 1227options SC_KERNEL_CONS_REV_ATTR="(FG_BLACK|BG_RED)" 1228 1229# If you have a two button mouse, you may want to add the following option 1230# to use the right button of the mouse to paste text. 1231options SC_TWOBUTTON_MOUSE 1232 1233# You can selectively disable features in syscons. 1234options SC_NO_CUTPASTE 1235options SC_NO_FONT_LOADING 1236options SC_NO_HISTORY 1237options SC_NO_SYSMOUSE 1238 1239# `flags' for sc 1240# 0x80 Put the video card in the VESA 800x600 dots, 16 color mode 1241# 0x100 Probe for a keyboard device periodically if one is not present 1242 1243# 3Dfx Voodoo Graphics, Voodoo II /dev/3dfx CDEV support. This will create 1244# the /dev/3dfx0 device to work with glide implementations. This should get 1245# linked to /dev/3dfx and /dev/voodoo. Note that this is not the same as 1246# the tdfx DRI module from XFree86 and is completely unrelated. 1247# 1248# To enable Linuxulator support, one must also include COMPAT_LINUX in the 1249# config as well, or you will not have the dependencies. The other option 1250# is to load both as modules. 1251 1252device tdfx # Enable 3Dfx Voodoo support 1253options TDFX_LINUX # Enable Linuxulator support 1254 1255# 1256# The Numeric Processing eXtension driver. In addition to this, you 1257# may configure a math emulator (see above). If your machine has a 1258# hardware FPU and the kernel configuration includes the npx device 1259# *and* a math emulator compiled into the kernel, the hardware FPU 1260# will be used, unless it is found to be broken or unless "flags" to 1261# npx0 includes "0x08", which requests preference for the emulator. 1262device npx 1263hint.npx.0.at="nexus" 1264hint.npx.0.port="0x0F0" 1265hint.npx.0.flags="0x0" 1266hint.npx.0.irq="13" 1267 1268# 1269# `flags' for npx0: 1270# 0x01 don't use the npx registers to optimize bcopy. 1271# 0x02 don't use the npx registers to optimize bzero. 1272# 0x04 don't use the npx registers to optimize copyin or copyout. 1273# 0x08 use emulator even if hardware FPU is available. 1274# The npx registers are normally used to optimize copying and zeroing when 1275# all of the following conditions are satisfied: 1276# I586_CPU is an option 1277# the cpu is an i586 (perhaps not a Pentium) 1278# the probe for npx0 succeeds 1279# INT 16 exception handling works. 1280# Then copying and zeroing using the npx registers is normally 30-100% faster. 1281# The flags can be used to control cases where it doesn't work or is slower. 1282# Setting them at boot time using userconfig works right (the optimizations 1283# are not used until later in the bootstrap when npx0 is attached). 1284# Flag 0x08 automatically disables the i586 optimized routines. 1285# 1286 1287# 1288# ACPI support using the Intel ACPI Component Architecture reference 1289# implementation. 1290# 1291# ACPI_DEBUG enables the use of the debug.acpi.level and debug.acpi.layer 1292# kernel environment variables to select initial debugging levels for the 1293# Intel ACPICA code. (Note that the Intel code must also have USE_DEBUGGER 1294# defined when it is built). 1295# 1296device acpica 1297options ACPI_DEBUG 1298 1299# 1300# Optional devices: 1301# 1302 1303# 1304# SCSI host adapters: 1305# 1306# adv: All Narrow SCSI bus AdvanSys controllers. 1307# adw: Second Generation AdvanSys controllers including the ADV940UW. 1308# aha: Adaptec 154x/1535/1640 1309# ahb: Adaptec 174x EISA controllers 1310# ahc: Adaptec 274x/284x/2910/293x/294x/394x/3950x/3960x/398X/4944/ 1311# 19160x/29160x, aic7770/aic78xx 1312# aic: Adaptec 6260/6360, APA-1460 (PC Card), NEC PC9801-100 (C-BUS) 1313# amd: Support for the AMD 53C974 SCSI host adapter chip as found on devices 1314# such as the Tekram DC-390(T). 1315# bt: Most Buslogic controllers: including BT-445, BT-54x, BT-64x, BT-74x, 1316# BT-75x, BT-946, BT-948, BT-956, BT-958, SDC3211B, SDC3211F, SDC3222F 1317# isp: Qlogic ISP 1020, 1040 and 1040B PCI SCSI host adapters, 1318# ISP 1240 Dual Ultra SCSI, ISP 1080 and 1280 (Dual) Ultra2, 1319# ISP 12160 Ultra3 SCSI, 1320# Qlogic ISP 2100 and ISP 2200 Fibre Channel host adapters. 1321# ispfw: Firmware module for Qlogic host adapters 1322# ncr: NCR 53C810, 53C825 self-contained SCSI host adapters. 1323# ncv: NCR 53C500 based SCSI host adapters. 1324# nsp: Workbit Ninja SCSI-3 based PC Card SCSI host adapters. 1325# sym: Symbios/Logic 53C8XX family of PCI-SCSI I/O processors: 1326# 53C810, 53C810A, 53C815, 53C825, 53C825A, 53C860, 53C875, 1327# 53C876, 53C885, 53C895, 53C895A, 53C896, 53C897, 53C1510D, 1328# 53C1010-33, 53C1010-66. 1329# stg: TMC 18C30, 18C50 based SCSI host adapters. 1330# wds: WD7000 1331 1332# 1333# Note that the order is important in order for Buslogic ISA/EISA cards to be 1334# probed correctly. 1335# 1336device bt 1337hint.bt.0.at="isa" 1338hint.bt.0.port="0x330" 1339device adv 1340hint.adv.0.at="isa" 1341device adw 1342device aha 1343hint.aha.0.at="isa" 1344device aic 1345hint.aic.0.at="isa" 1346device ahb 1347device ahc 1348device amd 1349device isp 1350hint.isp.0.disable="1" 1351hint.isp.0.role="3" 1352hint.isp.0.prefer_iomap="1" 1353hint.isp.0.prefer_memmap="1" 1354hint.isp.0.fwload_disable="1" 1355hint.isp.0.ignore_nvram="1" 1356hint.isp.0.fullduplex="1" 1357hint.isp.0.topology="lport" 1358hint.isp.0.topology="nport" 1359hint.isp.0.topology="lport-only" 1360hint.isp.0.topology="nport-only" 1361# we can't get u_int64_t types, nor can we get strings if it's got 1362# a leading 0x, hence this silly dodge. 1363hint.isp.0.portwnn="w50000000aaaa0000" 1364hint.isp.0.nodewnn="w50000000aaaa0001" 1365device ispfw 1366device ncr 1367device ncv 1368device nsp 1369device sym 1370device stg 1371hint.stg.0.at="isa" 1372hint.stg.0.port="0x140" 1373hint.stg.0.port="11" 1374device wds 1375hint.wds.0.at="isa" 1376hint.wds.0.port="0x350" 1377hint.wds.0.irq="11" 1378hint.wds.0.drq="6" 1379 1380# The aic7xxx driver will attempt to use memory mapped I/O for all PCI 1381# controllers that have it configured only if this option is set. Unfortunately, 1382# this doesn't work on some motherboards, which prevents it from being the 1383# default. 1384options AHC_ALLOW_MEMIO 1385 1386# Enable diagnostic sequencer code. 1387options AHC_DEBUG_SEQUENCER 1388 1389# Dump the contents of the ahc controller configuration PROM. 1390options AHC_DUMP_EEPROM 1391 1392# Bitmap of units to enable targetmode operations. 1393options AHC_TMODE_ENABLE 1394 1395# The adw driver will attempt to use memory mapped I/O for all PCI 1396# controllers that have it configured only if this option is set. 1397options ADW_ALLOW_MEMIO 1398 1399# Options used in dev/isp/ (Qlogic SCSI/FC driver). 1400# 1401# ISP_TARGET_MODE - enable target mode operation 1402# 1403#options ISP_TARGET_MODE=1 1404 1405# Options used in dev/sym/ (Symbios SCSI driver). 1406#options SYM_SETUP_LP_PROBE_MAP #-Low Priority Probe Map (bits) 1407 # Allows the ncr to take precedence 1408 # 1 (1<<0) -> 810a, 860 1409 # 2 (1<<1) -> 825a, 875, 885, 895 1410 # 4 (1<<2) -> 895a, 896, 1510d 1411#options SYM_SETUP_SCSI_DIFF #-HVD support for 825a, 875, 885 1412 # disabled:0 (default), enabled:1 1413#options SYM_SETUP_PCI_PARITY #-PCI parity checking 1414 # disabled:0, enabled:1 (default) 1415#options SYM_SETUP_MAX_LUN #-Number of LUNs supported 1416 # default:8, range:[1..64] 1417 1418# The 'asr' driver provides support for current DPT/Adaptec SCSI RAID 1419# controllers (SmartRAID V and VI and later). 1420# These controllers require the CAM infrastructure. 1421# 1422device asr 1423 1424# The 'dpt' driver provides support for old DPT controllers (http://www.dpt.com/). 1425# These have hardware RAID-{0,1,5} support, and do multi-initiator I/O. 1426# The DPT controllers are commonly re-licensed under other brand-names - 1427# some controllers by Olivetti, Dec, HP, AT&T, SNI, AST, Alphatronic, NEC and 1428# Compaq are actually DPT controllers. 1429# 1430# See src/sys/dev/dpt for debugging and other subtle options. 1431# DPT_MEASURE_PERFORMANCE Enables a set of (semi)invasive metrics. Various 1432# instruments are enabled. The tools in 1433# /usr/sbin/dpt_* assume these to be enabled. 1434# DPT_HANDLE_TIMEOUTS Normally device timeouts are handled by the DPT. 1435# If you ant the driver to handle timeouts, enable 1436# this option. If your system is very busy, this 1437# option will create more trouble than solve. 1438# DPT_TIMEOUT_FACTOR Used to compute the excessive amount of time to 1439# wait when timing out with the above option. 1440# DPT_DEBUG_xxxx These are controllable from sys/dev/dpt/dpt.h 1441# DPT_LOST_IRQ When enabled, will try, once per second, to catch 1442# any interrupt that got lost. Seems to help in some 1443# DPT-firmware/Motherboard combinations. Minimal 1444# cost, great benefit. 1445# DPT_RESET_HBA Make "reset" actually reset the controller 1446# instead of fudging it. Only enable this if you 1447# are 100% certain you need it. 1448 1449device dpt 1450 1451# DPT options 1452#!CAM# options DPT_MEASURE_PERFORMANCE 1453#!CAM# options DPT_HANDLE_TIMEOUTS 1454options DPT_TIMEOUT_FACTOR=4 1455options DPT_LOST_IRQ 1456options DPT_RESET_HBA 1457options DPT_ALLOW_MEMIO 1458 1459# 1460# Mylex AcceleRAID and eXtremeRAID controllers with v6 and later 1461# firmware. These controllers have a SCSI-like interface, and require 1462# the CAM infrastructure. 1463# 1464device mly 1465 1466# 1467# Adaptec FSA RAID controllers, including integrated DELL controllers, 1468# the Dell PERC 2/QC and the HP NetRAID-4M 1469# 1470# AAC_COMPAT_LINUX Include code to support Linux-binary management 1471# utilities (requires Linux compatibility 1472# support). 1473# 1474device aac 1475 1476# 1477# Compaq Smart RAID, Mylex DAC960 and AMI MegaRAID controllers. Only 1478# one entry is needed; the code will find and configure all supported 1479# controllers. 1480# 1481device ida # Compaq Smart RAID 1482device mlx # Mylex DAC960 1483device amr # AMI MegaRAID 1484 1485# 1486# 3ware ATA RAID 1487# 1488device twe # 3ware ATA RAID 1489 1490# 1491# The 'ATA' driver supports all ATA and ATAPI devices, including PC Card 1492# devices. You only need one "device ata" for it to find all 1493# PCI and PC Card ATA/ATAPI devices on modern machines. 1494device ata 1495device atadisk # ATA disk drives 1496device atapicd # ATAPI CDROM drives 1497device atapifd # ATAPI floppy drives 1498device atapist # ATAPI tape drives 1499 1500# 1501# For older non-PCI, non-PnPBIOS systems, these are the hints lines to add: 1502hint.ata.0.at="isa" 1503hint.ata.0.port="0x1f0" 1504hint.ata.0.irq="14" 1505hint.ata.1.at="isa" 1506hint.ata.1.port="0x170" 1507hint.ata.1.irq="15" 1508 1509# 1510# The following options are valid on the ATA driver: 1511# 1512# ATA_STATIC_ID: controller numbering is static ie depends on location 1513# else the device numbers are dynamically allocated. 1514 1515options ATA_STATIC_ID 1516 1517# 1518# Standard floppy disk controllers and floppy tapes, supports 1519# the Y-E DATA External FDD (PC Card) 1520# 1521device fdc 1522hint.fdc.0.at="isa" 1523hint.fdc.0.port="0x3F0" 1524hint.fdc.0.irq="6" 1525hint.fdc.0.drq="2" 1526# 1527# FDC_DEBUG enables floppy debugging. Since the debug output is huge, you 1528# gotta turn it actually on by setting the variable fd_debug with DDB, 1529# however. 1530options FDC_DEBUG 1531# 1532# Activate this line if you happen to have an Insight floppy tape. 1533# Probing them proved to be dangerous for people with floppy disks only, 1534# so it's "hidden" behind a flag: 1535#hint.fdc.0.flags="1" 1536 1537# Specify floppy devices 1538hint.fd.0.at="fdc0" 1539hint.fd.0.drive="0" 1540hint.fd.1.at="fdc0" 1541hint.fd.1.drive="1" 1542 1543# M-systems DiskOnchip products see src/sys/contrib/dev/fla/README 1544device fla 1545hint.fla.0.at="isa" 1546 1547# 1548# Other standard PC hardware: 1549# 1550# mse: Logitech and ATI InPort bus mouse ports 1551# sio: serial ports (see sio(4)), including support for various 1552# PC Card devices, such as Modem and NICs (see etc/defaults/pccard.conf) 1553 1554device mse 1555hint.mse.0.at="isa" 1556hint.mse.0.port="0x23c" 1557hint.mse.0.irq="5" 1558 1559device sio 1560hint.sio.0.at="isa" 1561hint.sio.0.port="0x3F8" 1562hint.sio.0.flags="0x10" 1563hint.sio.0.irq="4" 1564 1565# 1566# `flags' for serial drivers that support consoles (only for sio now): 1567# 0x10 enable console support for this unit. The other console flags 1568# are ignored unless this is set. Enabling console support does 1569# not make the unit the preferred console - boot with -h or set 1570# the 0x20 flag for that. Currently, at most one unit can have 1571# console support; the first one (in config file order) with 1572# this flag set is preferred. Setting this flag for sio0 gives 1573# the old behaviour. 1574# 0x20 force this unit to be the console (unless there is another 1575# higher priority console). This replaces the COMCONSOLE option. 1576# 0x40 reserve this unit for low level console operations. Do not 1577# access the device in any normal way. 1578# 0x80 use this port for serial line gdb support in ddb. 1579# 1580# PnP `flags' (set via userconfig using pnp x flags y) 1581# 0x1 disable probing of this device. Used to prevent your modem 1582# from being attached as a PnP modem. 1583# 1584 1585# Options for serial drivers that support consoles (only for sio now): 1586options BREAK_TO_DEBUGGER #a BREAK on a comconsole goes to 1587 #DDB, if available. 1588options CONSPEED=115200 # speed for serial console 1589 # (default 9600) 1590 1591# Solaris implements a new BREAK which is initiated by a character 1592# sequence CR ~ ^b which is similar to a familiar pattern used on 1593# Sun servers by the Remote Console. 1594options ALT_BREAK_TO_DEBUGGER 1595 1596# Options for sio: 1597options COM_ESP #code for Hayes ESP 1598options COM_MULTIPORT #code for some cards with shared IRQs 1599 1600# Other flags for sio that aren't documented in the man page. 1601# 0x20000 enable hardware RTS/CTS and larger FIFOs. Only works for 1602# ST16650A-compatible UARTs. 1603 1604# 1605# Network interfaces: 1606# 1607# MII bus support is required for some PCI 10/100 ethernet NICs, 1608# namely those which use MII-compliant transceivers or implement 1609# tranceiver control interfaces that operate like an MII. Adding 1610# "device miibus0" to the kernel config pulls in support for 1611# the generic miibus API and all of the PHY drivers, including a 1612# generic one for PHYs that aren't specifically handled by an 1613# individual driver. 1614device miibus 1615 1616# an: Aironet 4500/4800 802.11 wireless adapters. Supports the PCMCIA, 1617# PCI and ISA varieties. 1618# ar: Arnet SYNC/570i hdlc sync 2/4 port V.35/X.21 serial driver 1619# (requires sppp) 1620# awi: Support for IEEE 802.11 PC Card devices using the AMD Am79C930 and 1621# Harris (Intersil) Chipset with PCnetMobile firmware by AMD. 1622# cnw: Xircom CNW/Netware Airsurfer PC Card adapter 1623# cs: IBM Etherjet and other Crystal Semi CS89x0-based adapters 1624# cx: Cronyx/Sigma multiport sync/async (with Cisco or PPP framing) 1625# dc: Support for PCI fast ethernet adapters based on the DEC/Intel 21143 1626# and various workalikes including: 1627# the ADMtek AL981 Comet and AN985 Centaur, the ASIX Electronics 1628# AX88140A and AX88141, the Davicom DM9100 and DM9102, the Lite-On 1629# 82c168 and 82c169 PNIC, the Lite-On/Macronix LC82C115 PNIC II 1630# and the Macronix 98713/98713A/98715/98715A/98725 PMAC. This driver 1631# replaces the old al, ax, dm, pn and mx drivers. List of brands: 1632# Digital DE500-BA, Kingston KNE100TX, D-Link DFE-570TX, SOHOware SFA110, 1633# SVEC PN102-TX, CNet Pro110B, 120A, and 120B, Compex RL100-TX, 1634# LinkSys LNE100TX, LNE100TX V2.0, Jaton XpressNet, Alfa Inc GFC2204, 1635# KNE110TX. 1636# de: Digital Equipment DC21040 1637# ed: Western Digital and SMC 80xx; Novell NE1000 and NE2000; 3Com 3C503 1638# HP PC Lan+, various PC Card devices (refer to etc/defauls/pccard.conf) 1639# el: 3Com 3C501 (slow!) 1640# ep: 3Com 3C509, 3C529, 3C556, 3C562D, 3C563D, 3C572, 3C574X, 3C579, 3C589 1641# and PC Card devices using these chipsets. 1642# ex: Intel EtherExpress Pro/10 and other i82595-based adapters, 1643# Olicom Ethernet PC Card devices. 1644# fe: Fujitsu MB86960A/MB86965A Ethernet 1645# fea: DEC DEFEA EISA FDDI adapter 1646# fpa: Support for the Digital DEFPA PCI FDDI. `device fddi' is also needed. 1647# fxp: Intel EtherExpress Pro/100B 1648# (hint of prefer_iomap can be done to prefer I/O instead of Mem mapping) 1649# ie: AT&T StarLAN 10 and EN100; 3Com 3C507; unknown NI5210; 1650# Intel EtherExpress 1651# le: Digital Equipment EtherWorks 2 and EtherWorks 3 (DEPCA, DE100, 1652# DE101, DE200, DE201, DE202, DE203, DE204, DE205, DE422) 1653# lnc: Lance/PCnet cards (Isolan, Novell NE2100, NE32-VL, AMD Am7990 and 1654# Am79C960) 1655# lge: Support for PCI gigabit ethernet adapters based on the Level 1 1656# LXT1001 NetCellerator chipset. This includes the D-Link DGE-500SX, 1657# SMC TigerCard 1000 (SMC9462SX), and some Addtron cards. 1658# nge: Support for PCI gigabit ethernet adapters based on the National 1659# Semiconductor DP83820 and DP83821 chipset. This includes the 1660# SMC EZ Card 1000 (SMC9462TX), D-Link DGE-500T, Asante FriendlyNet 1661# GigaNIX 1000TA and 1000TPC, and the Addtron AEG320T. 1662# oltr: Olicom ISA token-ring adapters OC-3115, OC-3117, OC-3118 and OC-3133 1663# (no hints needed). 1664# Olicom PCI token-ring adapters OC-3136, OC-3137, OC-3139, OC-3140, 1665# OC-3141, OC-3540, OC-3250 1666# rdp: RealTek RTL 8002-based pocket ethernet adapters 1667# pcn: Support for PCI fast ethernet adapters based on the AMD Am79c97x 1668# chipsets, including the PCnet/FAST, PCnet/FAST+, PCnet/PRO and 1669# PCnet/Home. These were previously handled by the lnc driver (and 1670# still will be if you leave this driver out of the kernel). 1671# rl: Support for PCI fast ethernet adapters based on the RealTek 8129/8139 1672# chipset. Note that the RealTek driver defaults to using programmed 1673# I/O to do register accesses because memory mapped mode seems to cause 1674# severe lockups on SMP hardware. This driver also supports the 1675# Accton EN1207D `Cheetah' adapter, which uses a chip called 1676# the MPX 5030/5038, which is either a RealTek in disguise or a 1677# RealTek workalike. Note that the D-Link DFE-530TX+ uses the RealTek 1678# chipset and is supported by this driver, not the 'vr' driver. 1679# sf: Support for Adaptec Duralink PCI fast ethernet adapters based on the 1680# Adaptec AIC-6915 "starfire" controller. 1681# This includes dual and quad port cards, as well as one 100baseFX card. 1682# Most of these are 64-bit PCI devices, except for one single port 1683# card which is 32-bit. 1684# sis: Support for NICs based on the Silicon Integrated Systems SiS 900, 1685# SiS 7016 and NS DP83815 PCI fast ethernet controller chips. 1686# sk: Support for the SysKonnect SK-984x series PCI gigabit ethernet NICs. 1687# This includes the SK-9841 and SK-9842 single port cards (single mode 1688# and multimode fiber) and the SK-9843 and SK-9844 dual port cards 1689# (also single mode and multimode). 1690# The driver will autodetect the number of ports on the card and 1691# attach each one as a separate network interface. 1692# sn: Support for ISA and PC Card Ethernet devices using the 1693# SMC91C90/92/94/95 chips. 1694# sr: RISCom/N2 hdlc sync 1/2 port V.35/X.21 serial driver (requires sppp) 1695# ste: Sundance Technologies ST201 PCI fast ethernet controller, includes 1696# the D-Link DFE-550TX. 1697# ti: Support for PCI gigabit ethernet NICs based on the Alteon Networks 1698# Tigon 1 and Tigon 2 chipsets. This includes the Alteon AceNIC, the 1699# 3Com 3c985, the Netgear GA620 and various others. Note that you will 1700# probably want to bump up NMBCLUSTERS a lot to use this driver. 1701# tl: Support for the Texas Instruments TNETE100 series 'ThunderLAN' 1702# cards and integrated ethernet controllers. This includes several 1703# Compaq Netelligent 10/100 cards and the built-in ethernet controllers 1704# in several Compaq Prosignia, Proliant and Deskpro systems. It also 1705# supports several Olicom 10Mbps and 10/100 boards. 1706# tx: SMC 9432 TX, BTX and FTX cards. (SMC EtherPower II serie) 1707# vr: Support for various fast ethernet adapters based on the VIA 1708# Technologies VT3043 `Rhine I' and VT86C100A `Rhine II' chips, 1709# including the D-Link DFE530TX (see 'rl' for DFE530TX+), the Hawking 1710# Technologies PN102TX, and the AOpen/Acer ALN-320. 1711# vx: 3Com 3C590 and 3C595 1712# wb: Support for fast ethernet adapters based on the Winbond W89C840F chip. 1713# Note: this is not the same as the Winbond W89C940F, which is a 1714# NE2000 clone. 1715# wl: Lucent Wavelan (ISA card only). 1716# wi: Lucent WaveLAN/IEEE 802.11 PCMCIA adapters. Note: this supports both 1717# the PCMCIA and ISA cards: the ISA card is really a PCMCIA to ISA 1718# bridge with a PCMCIA adapter plugged into it. 1719# wx: Intel Gigabit Ethernet PCI card (`Wiseman') 1720# xe: Xircom/Intel EtherExpress Pro100/16 PC Card ethernet controller, 1721# Accton Fast EtherCard-16, Compaq Netelligent 10/100 PC Card, 1722# Toshiba 10/100 Ethernet PC Card, Xircom 16-bit Ethernet + Modem 56 1723# xl: Support for the 3Com 3c900, 3c905, 3c905B and 3c905C (Fast) 1724# Etherlink XL cards and integrated controllers. This includes the 1725# integrated 3c905B-TX chips in certain Dell Optiplex and Dell 1726# Precision desktop machines and the integrated 3c905-TX chips 1727# in Dell Latitude laptop docking stations. 1728# Also supported: 3Com 3c980(C)-TX, 3Com 3cSOHO100-TX, 3Com 3c450-TX 1729 1730# Order for ISA/EISA devices is important here 1731 1732device ar 1 1733hint.ar.0.at="isa" 1734hint.ar.0.port="0x300" 1735hint.ar.0.irq="10" 1736hint.ar.0.maddr="0xd0000" 1737device cs 1738hint.cs.0.at="isa" 1739hint.cs.0.port="0x300" 1740device cx 1 1741hint.cx.0.at="isa" 1742hint.cx.0.port="0x240" 1743hint.cx.0.irq="15" 1744hint.cx.0.drq="7" 1745device ed 1746hint.ed.0.at="isa" 1747hint.ed.0.port="0x280" 1748hint.ed.0.irq="5" 1749hint.ed.0.maddr="0xd8000" 1750device el 1 1751hint.el.0.at="isa" 1752hint.el.0.port="0x300" 1753hint.el.0.irq="9" 1754device ep 1755device ex 1756device fe 1 1757options FE_8BIT_SUPPORT # LAC-98 support 1758hint.fe.0.at="isa" 1759hint.fe.0.port="0x300" 1760device fea 1761device ie 2 1762hint.ie.0.at="isa" 1763hint.ie.0.port="0x300" 1764hint.ie.0.irq="5" 1765hint.ie.0.maddr="0xd0000" 1766hint.ie.1.at="isa" 1767hint.ie.1.port="0x360" 1768hint.ie.1.irq="7" 1769hint.ie.1.maddr="0xd0000" 1770device le 1 1771hint.le.0.at="isa" 1772hint.le.0.port="0x300" 1773hint.le.0.irq="5" 1774hint.le.0.maddr="0xd0000" 1775device lnc 1 1776hint.lnc.0.at="isa" 1777hint.lnc.0.port="0x280" 1778hint.lnc.0.irq="10" 1779hint.lnc.0.drq="0" 1780device rdp 1 1781hint.rdp.0.at="isa" 1782hint.rdp.0.port="0x378" 1783hint.rdp.0.irq="7" 1784hint.rdp.0.flags="2" 1785device sr 1 1786hint.sr.0.at="isa" 1787hint.sr.0.port="0x300" 1788hint.sr.0.irq="5" 1789hint.sr.0.maddr="0xd0000" 1790device sn 1791hint.sn.0.at="isa" 1792hint.sn.0.port="0x300" 1793hint.sn.0.irq="10" 1794device an 1795device awi 1796device cnw 1797device wi 1798options WLCACHE # enables the signal-strength cache 1799options WLDEBUG # enables verbose debugging output 1800device wl 1 1801hint.wl.0.at="isa" 1802hint.wl.0.port="0x300" 1803device xe 1804 1805device oltr 1806options OLTR_NO_BULLSEYE_MAC 1807options OLTR_NO_HAWKEYE_MAC 1808options OLTR_NO_TMS_MAC 1809hint.oltr.0.at="isa" 1810 1811# PCI Ethernet NICs that use the common MII bus controller code. 1812device dc # DEC/Intel 21143 and various workalikes 1813device fxp # Intel EtherExpress PRO/100B (82557, 82558) 1814hint.fxp.0.prefer_iomap="0" 1815device rl # RealTek 8129/8139 1816device pcn # AMD Am79C79x PCI 10/100 NICs 1817device sf # Adaptec AIC-6915 (``Starfire'') 1818device sis # Silicon Integrated Systems SiS 900/SiS 7016 1819device ste # Sundance ST201 (D-Link DFE-550TX) 1820device tl # Texas Instruments ThunderLAN 1821device tx # SMC EtherPower II (83c170 ``EPIC'') 1822device vr # VIA Rhine, Rhine II 1823device wb # Winbond W89C840F 1824device xl # 3Com 3c90x (``Boomerang'', ``Cyclone'') 1825 1826# PCI Ethernet NICs. 1827device de # DEC/Intel DC21x4x (``Tulip'') 1828device vx # 3Com 3c590, 3c595 (``Vortex'') 1829 1830# PCI Gigabit & FDDI NICs. 1831device lge 1832device nge 1833device sk 1834device ti 1835device wx 1836device fpa 1 1837 1838# 1839# ATM related options (Cranor version) 1840# (note: this driver cannot be used with the HARP ATM stack) 1841# 1842# The `en' device provides support for Efficient Networks (ENI) 1843# ENI-155 PCI midway cards, and the Adaptec 155Mbps PCI ATM cards (ANA-59x0). 1844# 1845# atm device provides generic atm functions and is required for 1846# atm devices. 1847# NATM enables the netnatm protocol family that can be used to 1848# bypass TCP/IP. 1849# 1850# the current driver supports only PVC operations (no atm-arp, no multicast). 1851# for more details, please read the original documents at 1852# http://www.ccrc.wustl.edu/pub/chuck/tech/bsdatm/bsdatm.html 1853# 1854device atm 1855device en 1856options NATM #native ATM 1857 1858# 1859# Audio drivers: `pcm', `sbc', `gusc', `pca' 1860# 1861# pcm: PCM audio through various sound cards. 1862# 1863# This has support for a large number of new audio cards, based on 1864# CS423x, OPTi931, Yamaha OPL-SAx, and also for SB16, GusPnP. 1865# For more information about this driver and supported cards, 1866# see the pcm.4 man page. 1867# 1868# The flags of the device tells the device a bit more info about the 1869# device that normally is obtained through the PnP interface. 1870# bit 2..0 secondary DMA channel; 1871# bit 4 set if the board uses two dma channels; 1872# bit 15..8 board type, overrides autodetection; leave it 1873# zero if don't know what to put in (and you don't, 1874# since this is unsupported at the moment...). 1875# 1876# This driver will use the new PnP code if it's available. 1877# 1878# pca: PCM audio through your PC speaker 1879# 1880# Supported cards include: 1881# Creative SoundBlaster ISA PnP/non-PnP 1882# Supports ESS and Avance ISA chips as well. 1883# Gravis UltraSound ISA PnP/non-PnP 1884# Crystal Semiconductor CS461x/428x PCI 1885# Neomagic 256AV (ac97) 1886# Most of the more common ISA/PnP sb/mss/ess compatable cards. 1887 1888device pcm 1889 1890# For non-pnp sound cards with no bridge drivers only: 1891hint.pcm.0.at="isa" 1892hint.pcm.0.irq="10" 1893hint.pcm.0.drq="1" 1894hint.pcm.0.flags="0x0" 1895 1896# For PnP/PCI sound cards, no hints are required. 1897 1898# 1899# midi: MIDI interfaces and synthesizers 1900# 1901 1902device midi 1903 1904# For non-pnp sound cards with no bridge drivers: 1905hint.midi.0.at="isa" 1906hint.midi.0.irq="5" 1907hint.midi.0.flags="0x0" 1908 1909# For serial ports (this example configures port 2): 1910# TODO: implement generic tty-midi interface so that we can use 1911# other uarts. 1912hint.midi.0.at="isa" 1913hint.midi.0.port="0x2F8" 1914hint.midi.0.irq="3" 1915 1916# 1917# seq: MIDI sequencer 1918# 1919 1920device seq 1921 1922# The bridge drivers for sound cards. These can be separately configured 1923# for providing services to the likes of new-midi. 1924# When used with 'device pcm' they also provide pcm sound services. 1925# 1926# sbc: Creative SoundBlaster ISA PnP/non-PnP 1927# Supports ESS and Avance ISA chips as well. 1928# gusc: Gravis UltraSound ISA PnP/non-PnP 1929# csa: Crystal Semiconductor CS461x/428x PCI 1930 1931# For non-PnP cards: 1932device sbc 1933hint.sbc.0.at="isa" 1934hint.sbc.0.port="0x220" 1935hint.sbc.0.irq="5" 1936hint.sbc.0.drq="1" 1937hint.sbc.0.flags="0x15" 1938device gusc 1939hint.gusc.0.at="isa" 1940hint.gusc.0.port="0x220" 1941hint.gusc.0.irq="5" 1942hint.gusc.0.drq="1" 1943hint.gusc.0.flags="0x13" 1944 1945device pca 1946hint.pca.0.at="isa" 1947hint.pca.0.port="0x040" 1948 1949# 1950# Miscellaneous hardware: 1951# 1952# mcd: Mitsumi CD-ROM using proprietary (non-ATAPI) interface 1953# scd: Sony CD-ROM using proprietary (non-ATAPI) interface 1954# matcd: Matsushita/Panasonic CD-ROM using proprietary (non-ATAPI) interface 1955# wt: Wangtek and Archive QIC-02/QIC-36 tape drives 1956# ctx: Cortex-I frame grabber 1957# apm: Laptop Advanced Power Management (experimental) 1958# pmtimer: Timer device driver for power management events (APM or ACPI) 1959# spigot: The Creative Labs Video Spigot video-acquisition board 1960# meteor: Matrox Meteor video capture board 1961# bktr: Brooktree bt848/848a/849a/878/879 video capture and TV Tuner board 1962# cy: Cyclades serial driver 1963# dgb: Digiboard PC/Xi and PC/Xe series driver (ALPHA QUALITY!) 1964# digi: Digiboard driver 1965# gp: National Instruments AT-GPIB and AT-GPIB/TNT board, PCMCIA-GPIB 1966# asc: GI1904-based hand scanners, e.g. the Trust Amiscan Grey 1967# gsc: Genius GS-4500 hand scanner. 1968# joy: joystick (including IO DATA PCJOY PC Card joystick) 1969# The LOUTB option specifies a slower outb() for debugging purposes. 1970# rc: RISCom/8 multiport card 1971# rp: Comtrol Rocketport(ISA) - single card 1972# tw: TW-523 power line interface for use with X-10 home control products 1973# si: Specialix SI/XIO 4-32 port terminal multiplexor 1974# spic: Sony Programmable I/O controller (VAIO notebooks) 1975# stl: Stallion EasyIO and EasyConnection 8/32 (cd1400 based) 1976# stli: Stallion EasyConnection 8/64, ONboard, Brumby (intelligent) 1977 1978# Notes on APM 1979# The flags takes the following meaning for apm0: 1980# 0x0020 Statclock is broken. 1981# If apm is omitted, some systems require sysctl -w kern.timecounter.method=1 1982# for correct timekeeping. 1983 1984# Notes on the spigot: 1985# The video spigot is at 0xad6. This port address can not be changed. 1986# The irq values may only be 10, 11, or 15 1987# I/O memory is an 8kb region. Possible values are: 1988# 0a0000, 0a2000, ..., 0fffff, f00000, f02000, ..., ffffff 1989# The start address must be on an even boundary. 1990# Add the following option if you want to allow non-root users to be able 1991# to access the spigot. This option is not secure because it allows users 1992# direct access to the I/O page. 1993# options SPIGOT_UNSECURE 1994 1995# Notes on the Comtrol Rocketport driver: 1996# 1997# The exact values used for rp0 depend on how many boards you have 1998# in the system. The manufacturer's sample configs are listed as: 1999# 2000# device rp # core driver support 2001# 2002# Comtrol Rocketport ISA single card 2003# hints.rp.0.at="isa" 2004# hints.rp.0.port="0x280" 2005# 2006# If instead you have two ISA cards, one installed at 0x100 and the 2007# second installed at 0x180, then you should add the following to 2008# your kernel probe hints: 2009# hints.rp.0.at="isa" 2010# hints.rp.0.port="0x100" 2011# hints.rp.1.at="isa" 2012# hints.rp.1.port="0x180" 2013# 2014# For 4 ISA cards, it might be something like this: 2015# hints.rp.0.at="isa" 2016# hints.rp.0.port="0x180" 2017# hints.rp.1.at="isa" 2018# hints.rp.1.port="0x100" 2019# hints.rp.2.at="isa" 2020# hints.rp.2.port="0x340" 2021# hints.rp.3.at="isa" 2022# hints.rp.3.port="0x240" 2023# 2024# And for PCI cards, you need no hints. 2025 2026# Notes on the Digiboard driver: 2027# 2028# The following flag values have special meanings in dgb: 2029# 0x01 - alternate layout of pins 2030# 0x02 - use the windowed PC/Xe in 64K mode 2031 2032# Notes on the Specialix SI/XIO driver: 2033# The host card is memory, not IO mapped. 2034# The Rev 1 host cards use a 64K chunk, on a 32K boundary. 2035# The Rev 2 host cards use a 32K chunk, on a 32K boundary. 2036# The cards can use an IRQ of 11, 12 or 15. 2037 2038# Notes on the Sony Programmable I/O controller 2039# This is a temporary driver that should someday be replaced by something 2040# that hooks into the ACPI layer. The device is hooked to the PIIX4's 2041# General Device 10 decoder, which means you have to fiddle with PCI 2042# registers to map it in, even though it is otherwise treated here as 2043# an ISA device. At the moment, the driver polls, although the device 2044# is capable of generating interrupts. It largely undocumented. 2045# The port location in the hint is where you WANT the device to be 2046# mapped. 0x10a0 seems to be traditional. At the moment the jogdial 2047# is the only thing truly supported, but aparently a fair percentage 2048# of the Vaio extra features are controlled by this device. 2049 2050# Notes on the Stallion stl and stli drivers: 2051# See src/i386/isa/README.stl for complete instructions. 2052# This is version 0.0.5alpha, unsupported by Stallion. 2053# The stl driver has a secondary IO port hard coded at 0x280. You need 2054# to change src/i386/isa/stallion.c if you reconfigure this on the boards. 2055# The "flags" and "msize" settings on the stli driver depend on the board: 2056# EasyConnection 8/64 ISA: flags 23 msize 0x1000 2057# EasyConnection 8/64 EISA: flags 24 msize 0x10000 2058# EasyConnection 8/64 MCA: flags 25 msize 0x1000 2059# ONboard ISA: flags 4 msize 0x10000 2060# ONboard EISA: flags 7 msize 0x10000 2061# ONboard MCA: flags 3 msize 0x10000 2062# Brumby: flags 2 msize 0x4000 2063# Stallion: flags 1 msize 0x10000 2064 2065device mcd 1 2066hint.mcd.0.at="isa" 2067hint.mcd.0.port="0x300" 2068hint.mcd.0.irq="10" 2069# for the Sony CDU31/33A CDROM 2070device scd 1 2071hint.scd.0.at="isa" 2072hint.scd.0.port="0x230" 2073# for the SoundBlaster 16 multicd - up to 4 devices 2074device matcd 1 2075hint.matcd.0.at="isa" 2076hint.matcd.0.port="0x230" 2077device wt 1 2078hint.wt.0.at="isa" 2079hint.wt.0.port="0x300" 2080hint.wt.0.irq="5" 2081hint.wt.0.drq="1" 2082device ctx 1 2083hint.ctx.0.at="isa" 2084hint.ctx.0.port="0x230" 2085hint.ctx.0.maddr="0xd0000" 2086device spigot 1 2087hint.spigot.0.at="isa" 2088hint.spigot.0.port="0xad6" 2089hint.spigot.0.irq="15" 2090hint.spigot.0.maddr="0xee000" 2091device apm 2092hint.apm.0.flags="0x20" 2093device pmtimer # Adjust system timer at wakeup time 2094hint.pmtimer.0.at="isa" 2095device gp 2096hint.gp.0.at="isa" 2097hint.gp.0.port="0x2c0" 2098device gsc 1 2099hint.gsc.0.at="isa" 2100hint.gsc.0.port="0x270" 2101hint.gsc.0.drq="3" 2102device joy # PnP aware, hints for nonpnp only 2103hint.joy.0.at="isa" 2104hint.joy.0.port="0x201" 2105device cy 1 2106options CY_PCI_FASTINTR # Use with cy_pci unless irq is shared 2107hint.cy.0.at="isa" 2108hint.cy.0.irq="10" 2109hint.cy.0.maddr="0xd4000" 2110hint.cy.0.msize="0x2000" 2111device dgb 1 2112options NDGBPORTS=16 # Defaults to 16*NDGB 2113hint.dgb.0.at="isa" 2114hint.dgb.0.port="0x220" 2115hint.dgb.0.maddr="0xfc000" 2116device digi 2117hint.digi.0.at="isa" 2118hint.digi.0.port="0x104" 2119hint.digi.0.maddr="0xd0000" 2120# BIOS & FEP/OS components of device digi. Normally left as modules 2121device digi_CX 2122device digi_CX_PCI 2123device digi_EPCX 2124device digi_EPCX_PCI 2125device digi_Xe 2126device digi_Xem 2127device digi_Xr 2128device rc 1 2129hint.rc.0.at="isa" 2130hint.rc.0.port="0x220" 2131hint.rc.0.irq="12" 2132device rp 2133hint.rp.0.at="isa" 2134hint.rp.0.port="0x280" 2135# the port and irq for tw0 are fictitious 2136device tw 1 2137hint.tw.0.at="isa" 2138hint.tw.0.port="0x380" 2139hint.tw.0.irq="11" 2140device si 2141options SI_DEBUG 2142hint.si.0.at="isa" 2143hint.si.0.maddr="0xd0000" 2144hint.si.0.irq="12" 2145device asc 1 2146hint.asc.0.at="isa" 2147hint.asc.0.port="0x3EB" 2148hint.asc.0.drq="3" 2149hint.asc.0.irq="10" 2150device spic 2151hint.spic.0.at="isa" 2152hint.spic.0.port="0x10a0" 2153device stl 2154hint.stl.0.at="isa" 2155hint.stl.0.port="0x2a0" 2156hint.stl.0.irq="10" 2157device stli 2158hint.stli.0.at="isa" 2159hint.stli.0.port="0x2a0" 2160hint.stli.0.maddr="0xcc000" 2161hint.stli.0.flags="23" 2162hint.stli.0.msize="0x1000" 2163# You are unlikely to have the hardware for loran <phk@FreeBSD.org> 2164device loran 2165hint.loran.0.at="isa" 2166hint.loran.0.irq="5" 2167# HOT1 Xilinx 6200 card (http://www.vcc.com/) 2168device xrpu 2169 2170# 2171# The `meteor' device is a PCI video capture board. It can also have the 2172# following options: 2173# options METEOR_ALLOC_PAGES=xxx preallocate kernel pages for data entry 2174# figure (ROWS*COLUMN*BYTES_PER_PIXEL*FRAME+PAGE_SIZE-1)/PAGE_SIZE 2175# options METEOR_DEALLOC_PAGES remove all allocated pages on close(2) 2176# options METEOR_DEALLOC_ABOVE=xxx remove all allocated pages above the 2177# specified amount. If this value is below the allocated amount no action 2178# taken 2179# options METEOR_SYSTEM_DEFAULT={METEOR_PAL|METEOR_NTSC|METEOR_SECAM}, used 2180# for initialization of fps routine when a signal is not present. 2181# 2182# The 'bktr' device is a PCI video capture device using the Brooktree 2183# bt848/bt848a/bt849a/bt878/bt879 chipset. When used with a TV Tuner it forms a 2184# TV card, eg Miro PC/TV, Hauppauge WinCast/TV WinTV, VideoLogic Captivator, 2185# Intel Smart Video III, AverMedia, IMS Turbo, FlyVideo. 2186# 2187# options OVERRIDE_CARD=xxx 2188# options OVERRIDE_TUNER=xxx 2189# options OVERRIDE_MSP=1 2190# options OVERRIDE_DBX=1 2191# These options can be used to override the auto detection 2192# The current values for xxx are found in src/sys/dev/bktr/bktr_card.h 2193# Using sysctl(8) run-time overrides on a per-card basis can be made 2194# 2195# options BROOKTREE_SYSTEM_DEFAULT=BROOKTREE_PAL 2196# or 2197# options BROOKTREE_SYSTEM_DEFAULT=BROOKTREE_NTSC 2198# Specifes the default video capture mode. 2199# This is required for Dual Crystal (28&35Mhz) boards where PAL is used 2200# to prevent hangs during initialisation. eg VideoLogic Captivator PCI. 2201# 2202# options BKTR_USE_PLL 2203# PAL or SECAM users who have a 28Mhz crystal (and no 35Mhz crystal) 2204# must enable PLL mode with this option. eg some new Bt878 cards. 2205# 2206# options BKTR_GPIO_ACCESS 2207# This enable IOCTLs which give user level access to the GPIO port. 2208# 2209# options BKTR_NO_MSP_RESET 2210# Prevents the MSP34xx reset. Good if you initialise the MSP in another OS first 2211# 2212# options BKTR_430_FX_MODE 2213# Switch Bt878/879 cards into Intel 430FX chipset compatibility mode. 2214# 2215# options BKTR_SIS_VIA_MODE 2216# Switch Bt878/879 cards into SIS/VIA chipset compatibility mode which is 2217# needed for some old SiS and VIA chipset motherboards. 2218# This also allows Bt878/879 chips to work on old OPTi (<1997) chipset 2219# motherboards and motherboards with bad or incomplete PCI 2.1 support. 2220# As a rough guess, old = before 1998 2221# 2222 2223device meteor 1 2224 2225# Brooktree driver has been ported to the new I2C framework. Thus, 2226# you'll need to have the following 3 lines in the kernel config. 2227# device smbus 2228# device iicbus 2229# device iicbb 2230# The iic and smb devices are only needed if you want to control other 2231# I2C slaves connected to the external connector of some cards. 2232# 2233device bktr 1 2234 2235# 2236# PC Card/PCMCIA 2237# (OLDCARD) 2238# 2239# card: pccard slots 2240# pcic: isa/pccard bridge 2241device pcic 2242hint.pcic.0.at="isa" 2243hint.pcic.1.at="isa" 2244device card 2245 2246# 2247# PC Card/PCMCIA and Cardbus 2248# (NEWCARD) 2249# 2250# Note that NEWCARD and OLDCARD are incompatible. Do not use both at the same 2251# time. 2252# 2253# pccbb: isa/pccard and pci/cardbus bridge 2254# pccard: pccard slots 2255# cardbus: cardbus slots 2256#device pccbb 2257#device pccard 2258#device cardbus 2259 2260# You may need to reset all pccards after resuming 2261options PCIC_RESUME_RESET # reset after resume 2262 2263# 2264# Laptop/Notebook options: 2265# 2266# See also: 2267# apm under `Miscellaneous hardware' 2268# above. 2269 2270# For older notebooks that signal a powerfail condition (external 2271# power supply dropped, or battery state low) by issuing an NMI: 2272 2273options POWERFAIL_NMI # make it beep instead of panicing 2274 2275# 2276# SMB bus 2277# 2278# System Management Bus support is provided by the 'smbus' device. 2279# Access to the SMBus device is via the 'smb' device (/dev/smb*), 2280# which is a child of the 'smbus' device. 2281# 2282# Supported devices: 2283# smb standard io through /dev/smb* 2284# 2285# Supported SMB interfaces: 2286# iicsmb I2C to SMB bridge with any iicbus interface 2287# bktr brooktree848 I2C hardware interface 2288# intpm Intel PIIX4 Power Management Unit 2289# alpm Acer Aladdin-IV/V/Pro2 Power Management Unit 2290# ichsmb Intel ICH SMBus controller chips (82801AA, 82801AB, 82801BA) 2291# 2292device smbus # Bus support, required for smb below. 2293 2294device intpm 2295device alpm 2296device ichsmb 2297 2298device smb 2299 2300# 2301# I2C Bus 2302# 2303# Philips i2c bus support is provided by the `iicbus' device. 2304# 2305# Supported devices: 2306# ic i2c network interface 2307# iic i2c standard io 2308# iicsmb i2c to smb bridge. Allow i2c i/o with smb commands. 2309# 2310# Supported interfaces: 2311# pcf Philips PCF8584 ISA-bus controller 2312# bktr brooktree848 I2C software interface 2313# 2314# Other: 2315# iicbb generic I2C bit-banging code (needed by lpbb, bktr) 2316# 2317device iicbus # Bus support, required for ic/iic/iicsmb below. 2318device iicbb 2319 2320device ic 2321device iic 2322device iicsmb # smb over i2c bridge 2323 2324device pcf 2325hint.pcf.0.at="isa" 2326hint.pcf.0.port="0x320" 2327hint.pcf.0.irq="5" 2328 2329#--------------------------------------------------------------------------- 2330# ISDN4BSD 2331# 2332# See /usr/share/examples/isdn/ROADMAP for an introduction to isdn4bsd. 2333# 2334# i4b passive ISDN cards support contains the following hardware drivers: 2335# 2336# isic - Siemens/Infineon ISDN ISAC/HSCX/IPAC chipset driver 2337# iwic - Winbond W6692 PCI bus ISDN S/T interface controller 2338# ifpi - AVM Fritz!Card PCI driver 2339# ihfc - Cologne Chip HFC ISA/ISA-PnP chipset driver 2340# ifpnp - AVM Fritz!Card PnP driver 2341# itjc - Siemens ISAC / TJNet Tiger300/320 chipset 2342# 2343# i4b active ISDN cards support contains the following hardware drivers: 2344# 2345# iavc - AVM B1 PCI, AVM B1 ISA, AVM T1 2346# 2347# Note that the ``options'' (if given) and ``device'' lines must BOTH 2348# be uncommented to enable support for a given card ! 2349# 2350# In addition to a hardware driver (and probably an option) the mandatory 2351# ISDN protocol stack devices and the mandatory support device must be 2352# enabled as well as one or more devices from the optional devices section. 2353# 2354#--------------------------------------------------------------------------- 2355# isic driver (Siemens/Infineon chipsets) 2356# 2357device isic 2358# 2359# ISA bus non-PnP Cards: 2360# ---------------------- 2361# 2362# Teles S0/8 or Niccy 1008 2363options TEL_S0_8 2364hint.isic.0.at="isa" 2365hint.isic.0.maddr="0xd0000" 2366hint.isic.0.irq="5" 2367hint.isic.0.flags="1" 2368# 2369# Teles S0/16 or Creatix ISDN-S0 or Niccy 1016 2370options TEL_S0_16 2371hint.isic.0.at="isa" 2372hint.isic.0.port="0xd80" 2373hint.isic.0.maddr="0xd0000" 2374hint.isic.0.irq="5" 2375hint.isic.0.flags="2" 2376# 2377# Teles S0/16.3 2378options TEL_S0_16_3 2379hint.isic.0.at="isa" 2380hint.isic.0.port="0xd80" 2381hint.isic.0.irq="5" 2382hint.isic.0.flags="3" 2383# 2384# AVM A1 or AVM Fritz!Card 2385options AVM_A1 2386hint.isic.0.at="isa" 2387hint.isic.0.port="0x340" 2388hint.isic.0.irq="5" 2389hint.isic.0.flags="4" 2390# 2391# USRobotics Sportster ISDN TA intern 2392options USR_STI 2393hint.isic.0.at="isa" 2394hint.isic.0.port="0x268" 2395hint.isic.0.irq="5" 2396hint.isic.0.flags="7" 2397# 2398# ITK ix1 Micro ( < V.3, non-PnP version ) 2399options ITKIX1 2400hint.isic.0.at="isa" 2401hint.isic.0.port="0x398" 2402hint.isic.0.irq="10" 2403hint.isic.0.flags="18" 2404# 2405# ELSA PCC-16 2406options ELSA_PCC16 2407hint.isic.0.at="isa" 2408hint.isic.0.port="0x360" 2409hint.isic.0.irq="10" 2410hint.isic.0.flags="20" 2411# 2412# ISA bus PnP Cards: 2413# ------------------ 2414# 2415# Teles S0/16.3 PnP 2416options TEL_S0_16_3_P 2417# 2418# Creatix ISDN-S0 P&P 2419options CRTX_S0_P 2420# 2421# Dr. Neuhaus Niccy Go@ 2422options DRN_NGO 2423# 2424# Sedlbauer Win Speed 2425options SEDLBAUER 2426# 2427# Dynalink IS64PH 2428options DYNALINK 2429# 2430# ELSA QuickStep 1000pro ISA 2431options ELSA_QS1ISA 2432# 2433# Siemens I-Surf 2.0 2434options SIEMENS_ISURF2 2435# 2436# Asuscom ISDNlink 128K ISA 2437options ASUSCOM_IPAC 2438# 2439# Eicon Diehl DIVA 2.0 and 2.02 2440options EICON_DIVA 2441# 2442# PCI bus Cards: 2443# -------------- 2444# 2445# ELSA MicroLink ISDN/PCI (same as ELSA QuickStep 1000pro PCI) 2446options ELSA_QS1PCI 2447# 2448# 2449#--------------------------------------------------------------------------- 2450# ifpnp driver for AVM Fritz!Card PnP 2451# 2452# AVM Fritz!Card PnP 2453device ifpnp 2454# 2455#--------------------------------------------------------------------------- 2456# ihfc driver for Cologne Chip ISA chipsets (experimental!) 2457# 2458# Teles 16.3c ISA PnP 2459# AcerISDN P10 ISA PnP 2460# TELEINT ISDN SPEED No.1 2461device ihfc 2462# 2463#--------------------------------------------------------------------------- 2464# ifpi driver for AVM Fritz!Card PCI 2465# 2466# AVM Fritz!Card PCI 2467device ifpi 2468# 2469#--------------------------------------------------------------------------- 2470# iwic driver for Winbond W6692 chipset 2471# 2472# ASUSCOM P-IN100-ST-D (and other Winbond W6692 based cards) 2473device iwic 2474# 2475#--------------------------------------------------------------------------- 2476# itjc driver for Simens ISAC / TJNet Tiger300/320 chipset 2477# 2478# Traverse Technologies NETjet-S 2479# Teles PCI-TJ 2480device itjc 2481# 2482#--------------------------------------------------------------------------- 2483# iavc driver (AVM active cards, needs i4bcapi driver!) 2484# 2485device iavc 2486# 2487# AVM B1 ISA bus (PnP mode not supported!) 2488# ---------------------------------------- 2489hint.iavc.0.at="isa" 2490hint.iavc.0.port="0x150" 2491hint.iavc.0.irq="5" 2492# 2493#--------------------------------------------------------------------------- 2494# ISDN Protocol Stack - mandatory for all hardware drivers 2495# 2496# Q.921 / layer 2 - i4b passive cards D channel handling 2497device "i4bq921" 2498# 2499# Q.931 / layer 3 - i4b passive cards D channel handling 2500device "i4bq931" 2501# 2502# layer 4 - i4b common passive and active card handling 2503device "i4b" 2504# 2505#--------------------------------------------------------------------------- 2506# ISDN devices - mandatory for all hardware drivers 2507# 2508# userland driver to do ISDN tracing (for passive cards only) 2509device "i4btrc" 4 2510# 2511# userland driver to control the whole thing 2512device "i4bctl" 2513# 2514#--------------------------------------------------------------------------- 2515# ISDN devices - optional 2516# 2517# userland driver for access to raw B channel 2518device "i4brbch" 4 2519# 2520# userland driver for telephony 2521device "i4btel" 2 2522# 2523# network driver for IP over raw HDLC ISDN 2524device "i4bipr" 4 2525# enable VJ header compression detection for ipr i/f 2526options IPR_VJ 2527# enable logging of the first n IP packets to isdnd (n=32 here) 2528options IPR_LOG=32 2529# 2530# network driver for sync PPP over ISDN; requires an equivalent 2531# number of sppp device to be configured 2532device "i4bisppp" 4 2533# 2534# B-channel interface to the netgraph subsystem 2535device "i4bing" 2 2536# 2537# CAPI driver needed for active ISDN cards (see iavc driver above) 2538device "i4bcapi" 2539# 2540#--------------------------------------------------------------------------- 2541 2542# Parallel-Port Bus 2543# 2544# Parallel port bus support is provided by the `ppbus' device. 2545# Multiple devices may be attached to the parallel port, devices 2546# are automatically probed and attached when found. 2547# 2548# Supported devices: 2549# vpo Iomega Zip Drive 2550# Requires SCSI disk support ('scbus' and 'da'), best 2551# performance is achieved with ports in EPP 1.9 mode. 2552# lpt Parallel Printer 2553# plip Parallel network interface 2554# ppi General-purpose I/O ("Geek Port") + IEEE1284 I/O 2555# pps Pulse per second Timing Interface 2556# lpbb Philips official parallel port I2C bit-banging interface 2557# 2558# Supported interfaces: 2559# ppc ISA-bus parallel port interfaces. 2560# 2561 2562options PPC_PROBE_CHIPSET # Enable chipset specific detection 2563 # (see flags in ppc(4)) 2564options DEBUG_1284 # IEEE1284 signaling protocol debug 2565options PERIPH_1284 # Makes your computer act as a IEEE1284 2566 # compliant peripheral 2567options DONTPROBE_1284 # Avoid boot detection of PnP parallel devices 2568options VP0_DEBUG # ZIP/ZIP+ debug 2569options LPT_DEBUG # Printer driver debug 2570options PPC_DEBUG # Parallel chipset level debug 2571options PLIP_DEBUG # Parallel network IP interface debug 2572options PCFCLOCK_VERBOSE # Verbose pcfclock driver 2573options PCFCLOCK_MAX_RETRIES=5 # Maximum read tries (default 10) 2574 2575device ppc 2576hint.ppc.0.at="isa" 2577hint.ppc.0.irq="7" 2578device ppbus 2579device vpo 2580device lpt 2581device plip 2582device ppi 2583device pps 2584device lpbb 2585device pcfclock 2586 2587# Kernel BOOTP support 2588 2589options BOOTP # Use BOOTP to obtain IP address/hostname 2590options BOOTP_NFSROOT # NFS mount root filesystem using BOOTP info 2591options BOOTP_NFSV3 # Use NFS v3 to NFS mount root 2592options BOOTP_COMPAT # Workaround for broken bootp daemons. 2593options BOOTP_WIRED_TO=fxp0 # Use interface fxp0 for BOOTP 2594 2595# 2596# Add tie-ins for a hardware watchdog. This only enable the hooks; 2597# the user must still supply the actual driver. 2598# 2599options HW_WDOG 2600 2601# 2602# Set the number of PV entries per process. Increasing this can 2603# stop panics related to heavy use of shared memory. However, that can 2604# (combined with large amounts of physical memory) cause panics at 2605# boot time due the kernel running out of VM space. 2606# 2607# If you're tweaking this, you might also want to increase the sysctls 2608# "vm.v_free_min", "vm.v_free_reserved", and "vm.v_free_target". 2609# 2610# The value below is the one more than the default. 2611# 2612options PMAP_SHPGPERPROC=201 2613 2614# 2615# Disable swapping. This option removes all code which actually performs 2616# swapping, so it's not possible to turn it back on at run-time. 2617# 2618# This is sometimes usable for systems which don't have any swap space 2619# (see also sysctls "vm.defer_swapspace_pageouts" and 2620# "vm.disable_swapspace_pageouts") 2621# 2622#options NO_SWAPPING 2623 2624# Set the number of sf_bufs to allocate. sf_bufs are virtual buffers 2625# for sendfile(2) that are used to map file VM pages, and normally 2626# default to a quantity that is roughly 16*MAXUSERS+512. You would 2627# typically want about 4 of these for each simultaneous file send. 2628# 2629options NSFBUFS=1024 2630 2631# 2632# Enable extra debugging code for locks. This stores the filename and 2633# line of whatever acquired the lock in the lock itself, and change a 2634# number of function calls to pass around the relevant data. This is 2635# not at all useful unless you are debugging lock code. Also note 2636# that it is likely to break e.g. fstat(1) unless you recompile your 2637# userland with -DDEBUG_LOCKS as well. 2638# 2639options DEBUG_LOCKS 2640 2641 2642##################################################################### 2643# ABI Emulation 2644 2645# Enable iBCS2 runtime support for SCO and ISC binaries 2646options IBCS2 2647 2648# Emulate spx device for client side of SVR3 local X interface 2649options SPX_HACK 2650 2651# Enable Linux ABI emulation 2652options COMPAT_LINUX 2653 2654# Enable the linux-like proc filesystem support (requires COMPAT_LINUX 2655# and PSEUDOFS) 2656options LINPROCFS 2657 2658# Linux debugging 2659options DEBUG_LINUX 2660 2661# 2662# SysVR4 ABI emulation 2663# 2664# The svr4 ABI emulator can be statically compiled into the kernel or loaded as 2665# a KLD module. 2666# The STREAMS network emulation code can also be compiled statically or as a 2667# module. If loaded as a module, it must be loaded before the svr4 module 2668# (the /usr/sbin/svr4 script does this for you). If compiling statically, 2669# the `streams' device must be configured into any kernel which also 2670# specifies COMPAT_SVR4. It is possible to have a statically-configured 2671# STREAMS device and a dynamically loadable svr4 emulator; the /usr/sbin/svr4 2672# script understands that it doesn't need to load the `streams' module under 2673# those circumstances. 2674# Caveat: At this time, `options KTRACE' is required for the svr4 emulator 2675# (whether static or dynamic). 2676# 2677options COMPAT_SVR4 # build emulator statically 2678options DEBUG_SVR4 # enable verbose debugging 2679device streams # STREAMS network driver (required for svr4). 2680 2681 2682##################################################################### 2683# USB support 2684# UHCI controller 2685device uhci 2686# OHCI controller 2687device ohci 2688# General USB code (mandatory for USB) 2689device usb 2690# 2691# USB Double Bulk Pipe devices 2692device udbp 2693# Generic USB device driver 2694device ugen 2695# Human Interface Device (anything with buttons and dials) 2696device uhid 2697# USB keyboard 2698device ukbd 2699# USB printer 2700device ulpt 2701# USB Iomega Zip 100 Drive 2702device umass 2703# USB modem support 2704device umodem 2705# USB mouse 2706device ums 2707# Diamond Rio 500 Mp3 player 2708device urio 2709# USB scanners 2710device uscanner 2711# 2712# ADMtek USB ethernet. Supports the LinkSys USB100TX, 2713# the Billionton USB100, the Melco LU-ATX, the D-Link DSB-650TX 2714# and the SMC 2202USB. Also works with the ADMtek AN986 Pegasus 2715# eval board. 2716device aue 2717# 2718# CATC USB-EL1201A USB ethernet. Supports the CATC Netmate 2719# and Netmate II, and the Belkin F5U111. 2720device cue 2721# 2722# Kawasaki LSI ethernet. Supports the LinkSys USB10T, 2723# Entrega USB-NET-E45, Peracom Ethernet Adapter, the 2724# 3Com 3c19250, the ADS Technologies USB-10BT, the ATen UC10T, 2725# the Netgear EA101, the D-Link DSB-650, the SMC 2102USB 2726# and 2104USB, and the Corega USB-T. 2727device kue 2728 2729# debugging options for the USB subsystem 2730# 2731options UHCI_DEBUG 2732options OHCI_DEBUG 2733options USB_DEBUG 2734 2735options UGEN_DEBUG 2736options UHID_DEBUG 2737options UHUB_DEBUG 2738options UKBD_DEBUG 2739options ULPT_DEBUG 2740options UMASS_DEBUG 2741options UMS_DEBUG 2742options URIO_DEBUG 2743 2744# options for ukbd: 2745options UKBD_DFLT_KEYMAP # specify the built-in keymap 2746makeoptions UKBD_DFLT_KEYMAP=it.iso 2747 2748# 2749# Embedded system options: 2750# 2751# An embedded system might want to run something other than init. 2752options INIT_PATH="/sbin/init:/stand/sysinstall" 2753 2754# Debug options 2755options BUS_DEBUG # enable newbus debugging 2756options DEBUG_VFS_LOCKS # enable vfs lock debugging 2757options NPX_DEBUG # enable npx debugging (FPU/math emu) 2758 2759##################################################################### 2760# SYSV IPC KERNEL PARAMETERS 2761# 2762# Maximum number of entries in a semaphore map. 2763options SEMMAP=31 2764 2765# Maximum number of System V semaphores that can be used on the system at 2766# one time. 2767options SEMMNI=11 2768 2769# Total number of semaphores system wide 2770options SEMMNS=61 2771 2772# Total number of undo structures in system 2773options SEMMNU=31 2774 2775# Maximum number of System V semaphores that can be used by a single process 2776# at one time. 2777options SEMMSL=61 2778 2779# Maximum number of operations that can be outstanding on a single System V 2780# semaphore at one time. 2781options SEMOPM=101 2782 2783# Maximum number of undo operations that can be outstanding on a single 2784# System V semaphore at one time. 2785options SEMUME=11 2786 2787# Maximum number of shared memory pages system wide. 2788options SHMALL=1025 2789 2790# Maximum size, in bytes, of a single System V shared memory region. 2791options SHMMAX="(SHMMAXPGS*PAGE_SIZE+1)" 2792options SHMMAXPGS=1025 2793 2794# Minimum size, in bytes, of a single System V shared memory region. 2795options SHMMIN=2 2796 2797# Maximum number of shared memory regions that can be used on the system 2798# at one time. 2799options SHMMNI=33 2800 2801# Maximum number of System V shared memory regions that can be attached to 2802# a single process at one time. 2803options SHMSEG=9 2804 2805# Set the amount of time (in seconds) the system will wait before 2806# rebooting automatically when a kernel panic occurs. If set to (-1), 2807# the system will wait indefinitely until a key is pressed on the 2808# console. 2809options PANIC_REBOOT_WAIT_TIME=16 2810 2811##################################################################### 2812 2813# More undocumented options for linting. 2814# Note that documenting these are not considered an affront. 2815 2816options CAM_DEBUG_DELAY 2817 2818# VFS cluster debugging. 2819options CLUSTERDEBUG 2820 2821# Eliminate unneeded cache flush instruction(s). 2822options CPU_UPGRADE_HW_CACHE 2823 2824options DEBUG 2825 2826# PECOFF module (Win32 Execution Format) 2827options PECOFF_SUPPORT 2828options PECOFF_DEBUG 2829 2830# Disable the 4 MByte PSE CPU feature. 2831#options DISABLE_PSE 2832 2833options ENABLE_ALART 2834options I4B_SMP_WORKAROUND 2835options I586_PMC_GUPROF=0x70000 2836options KBDIO_DEBUG=2 2837options KBD_MAXRETRY=4 2838options KBD_MAXWAIT=6 2839options KBD_RESETDELAY=201 2840 2841# Enable the PF_KEY Key Management API. 2842options KEY 2843 2844# Kernel filelock debugging. 2845options LOCKF_DEBUG 2846 2847# System V compatible message queues 2848# Please note that the values provided here are used to test kernel 2849# building. The defaults in the sources provide almost the same numbers. 2850# MSGSSZ must be a power of 2 between 8 and 1024. 2851options MSGMNB=2049 # Max number of chars in queue 2852options MSGMNI=41 # Max number of message queue identifiers 2853options MSGSEG=2049 # Max number of message segments 2854options MSGSSZ=16 # Size of a message segment 2855options MSGTQL=41 # Max number of messages in system 2856 2857options NBUF=512 # Number of buffer headers 2858 2859options NMBCLUSTERS=1024 # Number of mbuf clusters 2860 2861options PSM_DEBUG=1 2862 2863options SCSI_NCR_DEBUG 2864options SCSI_NCR_MAX_SYNC=10000 2865options SCSI_NCR_MAX_WIDE=1 2866options SCSI_NCR_MYADDR=7 2867 2868options SC_DEBUG_LEVEL=5 # Syscons debug level 2869options SC_RENDER_DEBUG # syscons rendering debugging 2870 2871options SHOW_BUSYBUFS # List buffers that prevent root unmount 2872options SIMPLELOCK_DEBUG 2873options SLIP_IFF_OPTS 2874options TIMER_FREQ="((14318182+6)/12)" 2875options VFS_BIO_DEBUG # VFS buffer I/O debugging 2876 2877options VM_KMEM_SIZE 2878options VM_KMEM_SIZE_MAX 2879options VM_KMEM_SIZE_SCALE
|