GENERIC revision 60497
1# 2# GENERIC -- Generic kernel configuration file for FreeBSD/i386 3# 4# For more information on this file, please read the handbook section on 5# Kernel Configuration Files: 6# 7# http://www.FreeBSD.org/handbook/kernelconfig-config.html 8# 9# The handbook is also available locally in /usr/share/doc/handbook 10# if you've installed the doc distribution, otherwise always see the 11# FreeBSD World Wide Web server (http://www.FreeBSD.org/) for the 12# latest information. 13# 14# An exhaustive list of options and more detailed explanations of the 15# device lines is also present in the ./LINT configuration file. If you are 16# in doubt as to the purpose or necessity of a line, check first in LINT. 17# 18# $FreeBSD: head/sys/amd64/conf/GENERIC 60497 2000-05-13 11:21:19Z hoek $ 19 20machine i386 21cpu I386_CPU 22cpu I486_CPU 23cpu I586_CPU 24cpu I686_CPU 25ident GENERIC 26maxusers 32 27 28#makeoptions DEBUG=-g #Build kernel with gdb(1) debug symbols 29 30options MATH_EMULATE #Support for x87 emulation 31options INET #InterNETworking 32options INET6 #IPv6 communications protocols 33options FFS #Berkeley Fast Filesystem 34options FFS_ROOT #FFS usable as root device [keep this!] 35options MFS #Memory Filesystem 36options MD_ROOT #MD is a potential root device 37options NFS #Network Filesystem 38options NFS_ROOT #NFS usable as root device, NFS required 39options MSDOSFS #MSDOS Filesystem 40options CD9660 #ISO 9660 Filesystem 41options CD9660_ROOT #CD-ROM usable as root, CD9660 required 42options PROCFS #Process filesystem 43options COMPAT_43 #Compatible with BSD 4.3 [KEEP THIS!] 44options SCSI_DELAY=15000 #Delay (in ms) before probing SCSI 45options UCONSOLE #Allow users to grab the console 46options USERCONFIG #boot -c editor 47options VISUAL_USERCONFIG #visual boot -c editor 48options KTRACE #ktrace(1) support 49options SYSVSHM #SYSV-style shared memory 50options SYSVMSG #SYSV-style message queues 51options SYSVSEM #SYSV-style semaphores 52options P1003_1B #Posix P1003_1B real-time extensions 53options _KPOSIX_PRIORITY_SCHEDULING 54options ICMP_BANDLIM #Rate limit bad replies 55options KBD_INSTALL_CDEV # install a CDEV entry in /dev 56 57# To make an SMP kernel, the next two are needed 58#options SMP # Symmetric MultiProcessor Kernel 59#options APIC_IO # Symmetric (APIC) I/O 60# Optionally these may need tweaked, (defaults shown): 61#options NCPU=2 # number of CPUs 62#options NBUS=4 # number of busses 63#options NAPIC=1 # number of IO APICs 64#options NINTR=24 # number of INTs 65 66device isa 67device eisa 68device pci 69options COMPAT_OLDISA # Old ISA driver shims 70options COMPAT_OLDPCI # Old PCI driver shims 71 72# Floppy drives 73device fdc0 at isa? port IO_FD1 irq 6 drq 2 74device fd0 at fdc0 drive 0 75device fd1 at fdc0 drive 1 76 77# ATA and ATAPI devices 78device ata0 at isa? port IO_WD1 irq 14 79device ata1 at isa? port IO_WD2 irq 15 80device ata 81device atadisk # ATA disk drives 82device atapicd # ATAPI CDROM drives 83device atapifd # ATAPI floppy drives 84device atapist # ATAPI tape drives 85options ATA_STATIC_ID #Static device numbering 86#options ATA_ENABLE_ATAPI_DMA #Enable DMA on ATAPI devices 87 88# SCSI Controllers 89device ahb # EISA AHA1742 family 90device ahc # AHA2940 and onboard AIC7xxx devices 91device amd # AMD 53C974 (Teckram DC-390(T)) 92device dpt # DPT Smartcache - See LINT for options! 93device isp # Qlogic family 94device ncr # NCR/Symbios Logic 95device sym # NCR/Symbios Logic (newer chipsets) 96 97device adv0 at isa? 98device adw 99device bt0 at isa? 100device aha0 at isa? 101device aic0 at isa? 102 103# SCSI peripherals 104device scbus # SCSI bus (required) 105device da # Direct Access (disks) 106device sa # Sequential Access (tape etc) 107device cd # CD 108device pass # Passthrough device (direct SCSI access) 109 110# RAID controllers 111device ida # Compaq Smart RAID 112device amr # AMI MegaRAID 113device mlx # Mylex DAC960 family 114 115# atkbdc0 controls both the keyboard and the PS/2 mouse 116device atkbdc0 at isa? port IO_KBD 117device atkbd0 at atkbdc? irq 1 flags 0x1 118device psm0 at atkbdc? irq 12 119 120device vga0 at isa? 121 122# splash screen/screen saver 123pseudo-device splash 124 125# syscons is the default console driver, resembling an SCO console 126device sc0 at isa? flags 0x100 127 128# Enable this for the pcvt (VT220 compatible) console driver 129#device vt0 at isa? 130#options XSERVER # support for X server on a vt console 131#options FAT_CURSOR # start with block cursor 132# If you have a ThinkPAD, uncomment this along with the rest of the PCVT lines 133#options PCVT_SCANSET=2 # IBM keyboards are non-std 134 135# Floating point support - do not disable. 136device npx0 at nexus? port IO_NPX irq 13 137 138# Power management support (see LINT for more options) 139device apm0 at nexus? disable flags 0x20 # Advanced Power Management 140 141# PCCARD (PCMCIA) support 142device card 143device pcic0 at isa? irq 10 port 0x3e0 iomem 0xd0000 144device pcic1 at isa? irq 11 port 0x3e2 iomem 0xd4000 disable 145 146# Serial (COM) ports 147device sio0 at isa? port IO_COM1 flags 0x10 irq 4 148device sio1 at isa? port IO_COM2 irq 3 149device sio2 at isa? disable port IO_COM3 irq 5 150device sio3 at isa? disable port IO_COM4 irq 9 151 152# Parallel port 153device ppc0 at isa? irq 7 154device ppbus # Parallel port bus (required) 155device lpt # Printer 156device plip # TCP/IP over parallel 157device ppi # Parallel port interface device 158#device vpo # Requires scbus and da 159 160 161# PCI Ethernet NICs. 162device de # DEC/Intel DC21x4x (``Tulip'') 163device fxp # Intel EtherExpress PRO/100B (82557, 82558) 164device tx # SMC 9432TX (83c170 ``EPIC'') 165device vx # 3Com 3c590, 3c595 (``Vortex'') 166device wx # Intel Gigabit Ethernet Card (``Wiseman'') 167 168# PCI Ethernet NICs that use the common MII bus controller code. 169device miibus # MII bus support 170device dc # DEC/Intel 21143 and various workalikes 171device rl # RealTek 8129/8139 172device sf # Adaptec AIC-6915 (``Starfire'') 173device sis # Silicon Integrated Systems SiS 900/SiS 7016 174device ste # Sundance ST201 (D-Link DFE-550TX) 175device tl # Texas Instruments ThunderLAN 176device vr # VIA Rhine, Rhine II 177device wb # Winbond W89C840F 178device xl # 3Com 3c90x (``Boomerang'', ``Cyclone'') 179 180# ISA Ethernet NICs. 181device ed0 at isa? port 0x280 irq 10 iomem 0xd8000 182device ex 183device ep 184device cs0 at isa? port 0x300 185device sn0 at isa? port 0x300 irq 10 186# WaveLAN/IEEE 802.11 wireless NICs. Note: the WaveLAN/IEEE really 187# exists only as a PCMCIA device, so there is no ISA attatement needed 188# and resources will always be dynamically assigned by the pccard code. 189device wi 190# Aironet 4500/4800 802.11 wireless NICs. Note: the declaration below will 191# work for PCMCIA and PCI cards, as well as ISA cards set to ISA PnP 192# mode (the factory default). If you set the switches on your ISA 193# card for a manually chosen I/O address and IRQ, you must specify 194# those paremeters here. 195device an 196# BayStack 660 and others 197device awi 198# Xircom pccard ethernet 199device xe 200# The probe order of these is presently determined by i386/isa/isa_compat.c. 201device ie0 at isa? port 0x300 irq 10 iomem 0xd0000 202device fe0 at isa? port 0x300 203device le0 at isa? port 0x300 irq 5 iomem 0xd0000 204device lnc0 at isa? port 0x280 irq 10 drq 0 205 206# Pseudo devices - the number indicates how many units to allocated. 207pseudo-device loop # Network loopback 208pseudo-device ether # Ethernet support 209pseudo-device sl 1 # Kernel SLIP 210pseudo-device ppp 1 # Kernel PPP 211pseudo-device tun # Packet tunnel. 212pseudo-device pty # Pseudo-ttys (telnet etc) 213pseudo-device md # Memory "disks" 214pseudo-device gif 4 # IPv6 and IPv4 tunneling 215pseudo-device faith 1 # IPv6-to-IPv4 relaying (translation) 216 217# The `bpf' pseudo-device enables the Berkeley Packet Filter. 218# Be aware of the administrative consequences of enabling this! 219pseudo-device bpf # Berkeley packet filter 220 221# USB support 222device uhci # UHCI PCI->USB interface 223device ohci # OHCI PCI->USB interface 224device usb # USB Bus (required) 225#device udbp # USB Double Bulk Pipe devices 226device ugen # Generic 227device uhid # "Human Interface Devices" 228device ukbd # Keyboard 229device ulpt # Printer 230device umass # Disks/Mass storage - Requires scbus and da 231device ums # Mouse 232device urio # Diamond Rio 500 MP3 player 233# USB Ethernet, requires mii 234device aue # ADMtek USB ethernet 235device cue # CATC USB ethernet 236device kue # Kawasaki LSI USB ethernet 237