1677060b4SPoul-Henning Kamp# 229429ddeSWilko Bulte# GENERIC -- Generic kernel configuration file for FreeBSD/i386 3677060b4SPoul-Henning Kamp# 4d571daa0SJordan K. Hubbard# For more information on this file, please read the handbook section on 5d571daa0SJordan K. Hubbard# Kernel Configuration Files: 6d571daa0SJordan K. Hubbard# 7d571daa0SJordan K. Hubbard# http://www.freebsd.org/handbook/kernelconfig-config.html 8d571daa0SJordan K. Hubbard# 9d571daa0SJordan K. Hubbard# The handbook is also available locally in /usr/share/doc/handbook 10d571daa0SJordan K. Hubbard# if you've installed the doc distribution, otherwise always see the 11d571daa0SJordan K. Hubbard# FreeBSD World Wide Web server (http://www.FreeBSD.ORG/) for the 12d571daa0SJordan K. Hubbard# latest information. 13677060b4SPoul-Henning Kamp# 148830dd31SWolfram Schneider# An exhaustive list of options and more detailed explanations of the 15d571daa0SJordan K. Hubbard# device lines is also present in the ./LINT configuration file. If you are 168830dd31SWolfram Schneider# in doubt as to the purpose or necessity of a line, check first in LINT. 178830dd31SWolfram Schneider# 18c3aac50fSPeter Wemm# $FreeBSD$ 19677060b4SPoul-Henning Kamp 205895e3c8SPeter Wemmmachine i386 215895e3c8SPeter Wemmcpu I386_CPU 225895e3c8SPeter Wemmcpu I486_CPU 235895e3c8SPeter Wemmcpu I586_CPU 245895e3c8SPeter Wemmcpu I686_CPU 25677060b4SPoul-Henning Kampident GENERIC 2614b1f190SMike Smithmaxusers 32 27677060b4SPoul-Henning Kamp 285895e3c8SPeter Wemm#makeoptions DEBUG=-g #Build kernel with gdb(1) debug symbols 2911290483SPeter Wemm 30cec9e91fSJustin T. Gibbsoptions MATH_EMULATE #Support for x87 emulation 31677060b4SPoul-Henning Kampoptions INET #InterNETworking 320dab4916SJordan K. Hubbardoptions INET6 #IPv6 communications protocols 334525c93eSJordan K. Hubbardoptions FFS #Berkeley Fast Filesystem 347b778b5eSEivind Eklundoptions FFS_ROOT #FFS usable as root device [keep this!] 35cbe7e088SJordan K. Hubbardoptions MFS #Memory Filesystem 3670c3f049SMark Murrayoptions MD_ROOT #MD is a potential root device 37a788bdc4SDavid E. O'Brienoptions NFS #Network Filesystem 38621d865fSBruce Evansoptions NFS_ROOT #NFS usable as root device, NFS required 39a788bdc4SDavid E. O'Brienoptions MSDOSFS #MSDOS Filesystem 405895e3c8SPeter Wemmoptions CD9660 #ISO 9660 Filesystem 41621d865fSBruce Evansoptions CD9660_ROOT #CD-ROM usable as root, CD9660 required 42677060b4SPoul-Henning Kampoptions PROCFS #Process filesystem 435895e3c8SPeter Wemmoptions COMPAT_43 #Compatible with BSD 4.3 [KEEP THIS!] 4429429ddeSWilko Bulteoptions SCSI_DELAY=15000 #Delay (in ms) before probing SCSI 450dd1eea1SJordan K. Hubbardoptions UCONSOLE #Allow users to grab the console 4696fc6efbSPoul-Henning Kampoptions USERCONFIG #boot -c editor 4796fc6efbSPoul-Henning Kampoptions VISUAL_USERCONFIG #visual boot -c editor 48621d865fSBruce Evansoptions KTRACE #ktrace(1) support 491f06573dSPeter Wemmoptions SYSVSHM #SYSV-style shared memory 501f06573dSPeter Wemmoptions SYSVMSG #SYSV-style message queues 511f06573dSPeter Wemmoptions SYSVSEM #SYSV-style semaphores 52aec5a3b3SJeroen Ruigrok van der Wervenoptions P1003_1B #Posix P1003_1B real-time extensions 53c5954134SJordan K. Hubbardoptions _KPOSIX_PRIORITY_SCHEDULING 54173c0f9fSWarner Loshoptions ICMP_BANDLIM #Rate limit bad replies 55558d6032SJohn Baldwinoptions KBD_INSTALL_CDEV # install a CDEV entry in /dev 56677060b4SPoul-Henning Kamp 578fab58d8SPoul-Henning Kamp# To make an SMP kernel, the next two are needed 588fab58d8SPoul-Henning Kamp#options SMP # Symmetric MultiProcessor Kernel 598fab58d8SPoul-Henning Kamp#options APIC_IO # Symmetric (APIC) I/O 608fab58d8SPoul-Henning Kamp# Optionally these may need tweaked, (defaults shown): 618fab58d8SPoul-Henning Kamp#options NCPU=2 # number of CPUs 628fab58d8SPoul-Henning Kamp#options NBUS=4 # number of busses 638fab58d8SPoul-Henning Kamp#options NAPIC=1 # number of IO APICs 648fab58d8SPoul-Henning Kamp#options NINTR=24 # number of INTs 658fab58d8SPoul-Henning Kamp 66c9953c3bSPeter Wemmdevice isa 67c9953c3bSPeter Wemmdevice eisa 68c9953c3bSPeter Wemmdevice pci 694e64b0d3SPeter Wemmoptions COMPAT_OLDISA # Old ISA driver shims 704e64b0d3SPeter Wemmoptions COMPAT_OLDPCI # Old PCI driver shims 71677060b4SPoul-Henning Kamp 721f06573dSPeter Wemm# Floppy drives 7362d128b8SPeter Wemmdevice fdc0 at isa? port IO_FD1 irq 6 drq 2 7451124de7SPeter Wemmdevice fd0 at fdc0 drive 0 7551124de7SPeter Wemmdevice fd1 at fdc0 drive 1 76677060b4SPoul-Henning Kamp 77a3fb836cSSøren Schmidt# ATA and ATAPI devices 7862d128b8SPeter Wemmdevice ata0 at isa? port IO_WD1 irq 14 7962d128b8SPeter Wemmdevice ata1 at isa? port IO_WD2 irq 15 80c9953c3bSPeter Wemmdevice ata 81c9953c3bSPeter Wemmdevice atadisk # ATA disk drives 82c9953c3bSPeter Wemmdevice atapicd # ATAPI CDROM drives 83c9953c3bSPeter Wemmdevice atapifd # ATAPI floppy drives 84c9953c3bSPeter Wemmdevice atapist # ATAPI tape drives 85a3fb836cSSøren Schmidtoptions ATA_STATIC_ID #Static device numbering 8661677ebbSDavid E. O'Brien#options ATA_ENABLE_ATAPI_DMA #Enable DMA on ATAPI devices 8761677ebbSDavid E. O'Brien 881f06573dSPeter Wemm# SCSI Controllers 89c9953c3bSPeter Wemmdevice ahb # EISA AHA1742 family 90c9953c3bSPeter Wemmdevice ahc # AHA2940 and onboard AIC7xxx devices 91c9953c3bSPeter Wemmdevice amd # AMD 53C974 (Teckram DC-390(T)) 92c9953c3bSPeter Wemmdevice dpt # DPT Smartcache - See LINT for options! 93c9953c3bSPeter Wemmdevice isp # Qlogic family 94c9953c3bSPeter Wemmdevice ncr # NCR/Symbios Logic 95c9953c3bSPeter Wemmdevice sym # NCR/Symbios Logic (newer chipsets) 9610004708SJordan K. Hubbard 97b33b1940SPeter Wemmdevice adv0 at isa? 98c9953c3bSPeter Wemmdevice adw 99b33b1940SPeter Wemmdevice bt0 at isa? 100b33b1940SPeter Wemmdevice aha0 at isa? 101b33b1940SPeter Wemmdevice aic0 at isa? 1020dd1eea1SJordan K. Hubbard 1031f06573dSPeter Wemm# SCSI peripherals 104c9953c3bSPeter Wemmdevice scbus # SCSI bus (required) 105c9953c3bSPeter Wemmdevice da # Direct Access (disks) 106c9953c3bSPeter Wemmdevice sa # Sequential Access (tape etc) 107c9953c3bSPeter Wemmdevice cd # CD 108c9953c3bSPeter Wemmdevice pass # Passthrough device (direct SCSI access) 109677060b4SPoul-Henning Kamp 1108d0b9687SMike Smith# RAID controllers 1115e3488e3SJonathan Lemondevice ida # Compaq Smart RAID 112c9953c3bSPeter Wemmdevice amr # AMI MegaRAID 113c9953c3bSPeter Wemmdevice mlx # Mylex DAC960 family 1148d0b9687SMike Smith 11523f7bd17SBrian Somers# atkbdc0 controls both the keyboard and the PS/2 mouse 11662d128b8SPeter Wemmdevice atkbdc0 at isa? port IO_KBD 117558d6032SJohn Baldwindevice atkbd0 at atkbdc? irq 1 flags 0x1 11836d9945dSPeter Wemmdevice psm0 at atkbdc? irq 12 1192ad872c5SKazutaka YOKOTA 12068b538c7SPeter Wemmdevice vga0 at isa? 1212ad872c5SKazutaka YOKOTA 1222ad872c5SKazutaka YOKOTA# splash screen/screen saver 1232ad872c5SKazutaka YOKOTApseudo-device splash 1242ad872c5SKazutaka YOKOTA 125c19da41eSPeter Wemm# syscons is the default console driver, resembling an SCO console 126558d6032SJohn Baldwindevice sc0 at isa? flags 0x100 1275895e3c8SPeter Wemm 128afb8931fSHellmuth Michaelis# Enable this for the pcvt (VT220 compatible) console driver 12936d9945dSPeter Wemm#device vt0 at isa? 130528b8853SKazutaka YOKOTA#options XSERVER # support for X server on a vt console 131c19da41eSPeter Wemm#options FAT_CURSOR # start with block cursor 132c19da41eSPeter Wemm# If you have a ThinkPAD, uncomment this along with the rest of the PCVT lines 133c19da41eSPeter Wemm#options PCVT_SCANSET=2 # IBM keyboards are non-std 134c851c2f0SJoerg Wunsch 1351f06573dSPeter Wemm# Floating point support - do not disable. 1366182fdbdSPeter Wemmdevice npx0 at nexus? port IO_NPX irq 13 137677060b4SPoul-Henning Kamp 1381f06573dSPeter Wemm# Power management support (see LINT for more options) 1392ba5960cSJonathan Lemondevice apm0 at nexus? disable flags 0x20 # Advanced Power Management 1403d4d8fe9SPoul-Henning Kamp 14192d38a13SNate Williams# PCCARD (PCMCIA) support 142c9953c3bSPeter Wemmdevice card 14389ce66edSWarner Loshdevice pcic0 at isa? irq 10 port 0x3e0 iomem 0xd0000 14489ce66edSWarner Loshdevice pcic1 at isa? irq 11 port 0x3e2 iomem 0xd4000 disable 145e597b497SNate Williams 1461f06573dSPeter Wemm# Serial (COM) ports 1475895e3c8SPeter Wemmdevice sio0 at isa? port IO_COM1 flags 0x10 irq 4 1485895e3c8SPeter Wemmdevice sio1 at isa? port IO_COM2 irq 3 1495895e3c8SPeter Wemmdevice sio2 at isa? disable port IO_COM3 irq 5 1505895e3c8SPeter Wemmdevice sio3 at isa? disable port IO_COM4 irq 9 151677060b4SPoul-Henning Kamp 15204e83575SJoseph Koshy# Parallel port 153b33b1940SPeter Wemmdevice ppc0 at isa? irq 7 154c9953c3bSPeter Wemmdevice ppbus # Parallel port bus (required) 1550d31b179SPeter Wemmdevice lpt # Printer 1560d31b179SPeter Wemmdevice plip # TCP/IP over parallel 1570d31b179SPeter Wemmdevice ppi # Parallel port interface device 1580d31b179SPeter Wemm#device vpo # Requires scbus and da 159677060b4SPoul-Henning Kamp 16023e4757cSBill Paul 1611f06573dSPeter Wemm# PCI Ethernet NICs. 162c9953c3bSPeter Wemmdevice de # DEC/Intel DC21x4x (``Tulip'') 163c9953c3bSPeter Wemmdevice fxp # Intel EtherExpress PRO/100B (82557, 82558) 164c9953c3bSPeter Wemmdevice tx # SMC 9432TX (83c170 ``EPIC'') 165c9953c3bSPeter Wemmdevice vx # 3Com 3c590, 3c595 (``Vortex'') 166c9953c3bSPeter Wemmdevice wx # Intel Gigabit Ethernet Card (``Wiseman'') 167c6a5d1a6SPeter Wemm 168c6a5d1a6SPeter Wemm# PCI Ethernet NICs that use the common MII bus controller code. 169c9953c3bSPeter Wemmdevice miibus # MII bus support 170c9953c3bSPeter Wemmdevice dc # DEC/Intel 21143 and various workalikes 171c9953c3bSPeter Wemmdevice rl # RealTek 8129/8139 172c9953c3bSPeter Wemmdevice sf # Adaptec AIC-6915 (``Starfire'') 173c9953c3bSPeter Wemmdevice sis # Silicon Integrated Systems SiS 900/SiS 7016 174c9953c3bSPeter Wemmdevice ste # Sundance ST201 (D-Link DFE-550TX) 175c9953c3bSPeter Wemmdevice tl # Texas Instruments ThunderLAN 176c9953c3bSPeter Wemmdevice vr # VIA Rhine, Rhine II 177c9953c3bSPeter Wemmdevice wb # Winbond W89C840F 178c9953c3bSPeter Wemmdevice xl # 3Com 3c90x (``Boomerang'', ``Cyclone'') 17929c6a10bSGarrett Wollman 1801f06573dSPeter Wemm# ISA Ethernet NICs. 18136d9945dSPeter Wemmdevice ed0 at isa? port 0x280 irq 10 iomem 0xd8000 182c9953c3bSPeter Wemmdevice ex 183c9953c3bSPeter Wemmdevice ep 1840ab302bfSWarner Loshdevice cs0 at isa? port 0x300 1850ab302bfSWarner Loshdevice sn0 at isa? port 0x300 irq 10 186b6219c62SBill Paul# WaveLAN/IEEE 802.11 wireless NICs. Note: the WaveLAN/IEEE really 18770c3f049SMark Murray# exists only as a PCMCIA device, so there is no ISA attatement needed 18870c3f049SMark Murray# and resources will always be dynamically assigned by the pccard code. 189c9953c3bSPeter Wemmdevice wi 190261b9b30SBill Paul# Aironet 4500/4800 802.11 wireless NICs. Note: the declaration below will 191261b9b30SBill Paul# work for PCMCIA and PCI cards, as well as ISA cards set to ISA PnP 192261b9b30SBill Paul# mode (the factory default). If you set the switches on your ISA 193261b9b30SBill Paul# card for a manually chosen I/O address and IRQ, you must specify 194261b9b30SBill Paul# those paremeters here. 195c9953c3bSPeter Wemmdevice an 1960d5c223dSWarner Losh# BayStack 660 and others 1970d5c223dSWarner Loshdevice awi 1980ab302bfSWarner Losh# Xircom pccard ethernet 1990ab302bfSWarner Loshdevice xe 200e72032e9SMatthew N. Dodd# The probe order of these is presently determined by i386/isa/isa_compat.c. 201e72032e9SMatthew N. Dodddevice ie0 at isa? port 0x300 irq 10 iomem 0xd0000 202b33b1940SPeter Wemmdevice fe0 at isa? port 0x300 20336d9945dSPeter Wemmdevice le0 at isa? port 0x300 irq 5 iomem 0xd0000 20436d9945dSPeter Wemmdevice lnc0 at isa? port 0x280 irq 10 drq 0 2051f06573dSPeter Wemm 2061f06573dSPeter Wemm# Pseudo devices - the number indicates how many units to allocated. 2071f06573dSPeter Wemmpseudo-device loop # Network loopback 2081f06573dSPeter Wemmpseudo-device ether # Ethernet support 2091f06573dSPeter Wemmpseudo-device sl 1 # Kernel SLIP 2101f06573dSPeter Wemmpseudo-device ppp 1 # Kernel PPP 2113dd1fb66SJordan K. Hubbardpseudo-device tun # Packet tunnel. 212ef40c561SPoul-Henning Kamppseudo-device pty # Pseudo-ttys (telnet etc) 21371e4fff8SPoul-Henning Kamppseudo-device md # Memory "disks" 2140dab4916SJordan K. Hubbardpseudo-device gif 4 # IPv6 and IPv4 tunneling 21560bfc3b0SBrian Feldmanpseudo-device faith 1 # IPv6-to-IPv4 relaying (translation) 216c683ac7cSJoerg Wunsch 2176b5ca0d8SDag-Erling Smørgrav# The `bpf' pseudo-device enables the Berkeley Packet Filter. 2180a729622SJordan K. Hubbard# Be aware of the administrative consequences of enabling this! 219bd3a5320SPoul-Henning Kamppseudo-device bpf # Berkeley packet filter 2200cec007cSNick Hibma 2210cec007cSNick Hibma# USB support 222558d6032SJohn Baldwindevice uhci # UHCI PCI->USB interface 223558d6032SJohn Baldwindevice ohci # OHCI PCI->USB interface 224558d6032SJohn Baldwindevice usb # USB Bus (required) 225b5ea1f0cSNick Hibma#device udbp # USB Double Bulk Pipe devices 226558d6032SJohn Baldwindevice ugen # Generic 227558d6032SJohn Baldwindevice uhid # "Human Interface Devices" 228558d6032SJohn Baldwindevice ukbd # Keyboard 229558d6032SJohn Baldwindevice ulpt # Printer 230558d6032SJohn Baldwindevice umass # Disks/Mass storage - Requires scbus and da 231558d6032SJohn Baldwindevice ums # Mouse 232558d6032SJohn Baldwindevice urio # Diamond Rio 500 MP3 player 233418a4537SNick Hibma# USB Ethernet, requires mii 234558d6032SJohn Baldwindevice aue # ADMtek USB ethernet 235558d6032SJohn Baldwindevice cue # CATC USB ethernet 236558d6032SJohn Baldwindevice kue # Kawasaki LSI USB ethernet 237