1# 2# GENERIC -- Generic machine with WD/AHx/NCR/BTx family disks 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$ 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 FFS #Berkeley Fast Filesystem 33options FFS_ROOT #FFS usable as root device [keep this!] 34options MFS #Memory Filesystem 35options MD_ROOT #MD is a potential root device 36options NFS #Network Filesystem 37options NFS_ROOT #NFS usable as root device, "NFS" req'ed 38options MSDOSFS #MSDOS Filesystem 39options CD9660 #ISO 9660 Filesystem 40options CD9660_ROOT #CD-ROM usable as root. "CD9660" req'ed 41options PROCFS #Process filesystem 42options COMPAT_43 #Compatible with BSD 4.3 [KEEP THIS!] 43options SCSI_DELAY=15000 #Be pessimistic about Joe SCSI device 44options UCONSOLE #Allow users to grab the console 45options USERCONFIG #boot -c editor 46options VISUAL_USERCONFIG #visual boot -c editor 47options KTRACE #ktrace(1) syscall trace support 48options SYSVSHM #SYSV-style shared memory 49options SYSVMSG #SYSV-style message queues 50options SYSVSEM #SYSV-style semaphores 51 52# To make an SMP kernel, the next two are needed 53#options SMP # Symmetric MultiProcessor Kernel 54#options APIC_IO # Symmetric (APIC) I/O 55# Optionally these may need tweaked, (defaults shown): 56#options NCPU=2 # number of CPUs 57#options NBUS=4 # number of busses 58#options NAPIC=1 # number of IO APICs 59#options NINTR=24 # number of INTs 60 61controller isa0 62controller eisa0 63controller pci0 64 65# Floppy drives 66controller fdc0 at isa? port IO_FD1 irq 6 drq 2 67device fd0 at fdc0 drive 0 68device fd1 at fdc0 drive 1 69 70# ATA and ATAPI devices 71controller ata0 at isa? port IO_WD1 irq 14 72controller ata1 at isa? port IO_WD2 irq 15 73controller ata2 74device atadisk0 # ATA disk drives 75device atapicd0 # ATAPI CDROM drives 76device atapifd0 # ATAPI floppy drives 77device atapist0 # ATAPI tape drives 78options ATA_STATIC_ID #Static device numbering 79#options ATA_ENABLE_ATAPI_DMA #Enable DMA on ATAPI devices 80 81# SCSI Controllers 82# A single entry for any of these controllers (ahb, ahc, amd, ncr, etc...) is 83# sufficient for any number of installed devices. 84controller ahb0 # EISA AHA1742 family 85controller ahc0 # AHA2940 and onboard AIC7xxx devices 86controller amd0 # AMD 53C974 (Teckram DC-390(T)) 87controller dpt0 # DPT Smartcache - See LINT for options! 88controller isp0 # Qlogic family 89controller ncr0 # NCR/Symbios Logic 90#controller sym0 # NCR/Symbios Logic (do not mix with ncr, it conflicts) 91 92controller adv0 at isa? port ? irq ? 93controller adw0 94controller bt0 at isa? port ? irq ? 95controller aha0 at isa? port ? irq ? 96controller aic0 at isa? port ? irq ? 97 98# SCSI peripherals 99# Only one of each of these is needed, they are dynamically allocated. 100controller scbus0 # SCSI bus (required) 101device da0 # Direct Access (disks) 102device sa0 # Sequential Access (tape etc) 103device cd0 # CD 104device pass0 # Passthrough device (direct SCSI access) 105 106# RAID controllers 107device amr0 # AMI MegaRAID 108device mlx0 # Mylex DAC960 family 109 110# atkbdc0 controls both the keyboard and the PS/2 mouse 111controller atkbdc0 at isa? port IO_KBD 112device atkbd0 at atkbdc? irq 1 113device psm0 at atkbdc? irq 12 114 115device vga0 at isa? port ? conflicts 116 117# splash screen/screen saver 118pseudo-device splash 119 120# syscons is the default console driver, resembling an SCO console 121device sc0 at isa? 122 123# Enable this and PCVT_FREEBSD for pcvt vt220 compatible console driver 124#device vt0 at isa? 125#options XSERVER # support for X server 126#options FAT_CURSOR # start with block cursor 127# If you have a ThinkPAD, uncomment this along with the rest of the PCVT lines 128#options PCVT_SCANSET=2 # IBM keyboards are non-std 129 130# Floating point support - do not disable. 131device npx0 at nexus? port IO_NPX irq 13 132 133# Power management support (see LINT for more options) 134device apm0 at nexus? disable flags 0x20 # Advanced Power Management 135 136# PCCARD (PCMCIA) support 137#controller card0 138#device pcic0 at isa? 139#device pcic1 at isa? 140 141# Serial (COM) ports 142device sio0 at isa? port IO_COM1 flags 0x10 irq 4 143device sio1 at isa? port IO_COM2 irq 3 144device sio2 at isa? disable port IO_COM3 irq 5 145device sio3 at isa? disable port IO_COM4 irq 9 146 147# Parallel port 148device ppc0 at isa? port? flags 0x40 irq 7 149controller ppbus0 # Parallel port bus (required) 150device lpt0 # Printer 151device plip0 # TCP/IP over parallel 152device ppi0 # Parallel port interface device 153#controller vpo0 # Requires scbus and da0 154 155 156# PCI Ethernet NICs. 157device de0 # DEC/Intel DC21x4x (``Tulip'') 158device fxp0 # Intel EtherExpress PRO/100B (82557, 82558) 159device tx0 # SMC 9432TX (83c170 ``EPIC'') 160device vx0 # 3Com 3c590, 3c595 (``Vortex'') 161 162# PCI Ethernet NICs that use the common MII bus controller code. 163controller miibus0 # MII bus support 164device dc0 # DEC/Intel 21143 and various workalikes 165device rl0 # RealTek 8129/8139 166device sf0 # Adaptec AIC-6915 (``Starfire'') 167device sis0 # Silicon Integrated Systems SiS 900/SiS 7016 168device ste0 # Sundance ST201 (D-Link DFE-550TX) 169device tl0 # Texas Instruments ThunderLAN 170device vr0 # VIA Rhine, Rhine II 171device wb0 # Winbond W89C840F 172device xl0 # 3Com 3c90x (``Boomerang'', ``Cyclone'') 173 174# ISA Ethernet NICs. 175device ed0 at isa? port 0x280 irq 10 iomem 0xd8000 176device ex0 at isa? port? irq? 177# NOTE: This removes the isa attachment so that the pccard unit numbers 178# come out right. 179device ep0 180# WaveLAN/IEEE 802.1 wireless NICs. Note: the WaveLAN/IEEE really 181# exists only as a PCMCIA device, so there is no ISA attatement needed 182# and resources will always be dynamically assigned by the pccard code. 183#device wi0 184# The probe order of these is presently determined by i386/isa/isa_compat.c. 185device ie0 at isa? port 0x300 irq 10 iomem 0xd0000 186device fe0 at isa? port 0x300 irq ? 187device le0 at isa? port 0x300 irq 5 iomem 0xd0000 188device lnc0 at isa? port 0x280 irq 10 drq 0 189device cs0 at isa? port 0x300 irq ? 190device sn0 at isa? port 0x300 irq 10 191# requires PCCARD (PCMCIA) support to be activated 192#device xe0 at isa? port? irq ? 193 194# Pseudo devices - the number indicates how many units to allocated. 195pseudo-device loop # Network loopback 196pseudo-device ether # Ethernet support 197pseudo-device sl 1 # Kernel SLIP 198pseudo-device ppp 1 # Kernel PPP 199pseudo-device tun # Packet tunnel. 200pseudo-device pty # Pseudo-ttys (telnet etc) 201pseudo-device md # Memory "disks" 202 203# The `bpf' pseudo-device enables the Berkeley Packet Filter. 204# Be aware of the administrative consequences of enabling this! 205pseudo-device bpf #Berkeley packet filter 206 207# USB support 208#controller uhci0 # UHCI PCI->USB interface 209#controller ohci0 # OHCI PCI->USB interface 210#controller usb0 # USB Bus (required) 211#device ugen0 # Generic 212#device uhid0 # "Human Interface Devices" 213#device ukbd0 # Keyboard 214#device ulpt0 # Printer 215#controller umass0 # Disks/Mass storage - Requires scbus and da0 216#device ums0 # Mouse 217