GENERIC revision 55162
154359Sroberto# 254359Sroberto# GENERIC -- Generic machine with WD/AHx/NCR/BTx family disks 382498Sroberto# 482498Sroberto# For more information on this file, please read the handbook section on 554359Sroberto# Kernel Configuration Files: 654359Sroberto# 754359Sroberto# http://www.freebsd.org/handbook/kernelconfig-config.html 854359Sroberto# 954359Sroberto# The handbook is also available locally in /usr/share/doc/handbook 1054359Sroberto# if you've installed the doc distribution, otherwise always see the 1154359Sroberto# FreeBSD World Wide Web server (http://www.FreeBSD.ORG/) for the 1254359Sroberto# latest information. 1354359Sroberto# 1454359Sroberto# An exhaustive list of options and more detailed explanations of the 1554359Sroberto# device lines is also present in the ./LINT configuration file. If you are 1654359Sroberto# in doubt as to the purpose or necessity of a line, check first in LINT. 1754359Sroberto# 1854359Sroberto# $FreeBSD: head/sys/amd64/conf/GENERIC 55162 1999-12-28 02:01:18Z wpaul $ 1954359Sroberto 2054359Srobertomachine i386 2154359Srobertocpu I386_CPU 2254359Srobertocpu I486_CPU 2354359Srobertocpu I586_CPU 2454359Srobertocpu I686_CPU 2554359Srobertoident GENERIC 2654359Srobertomaxusers 32 2754359Sroberto 2854359Sroberto#makeoptions DEBUG=-g #Build kernel with gdb(1) debug symbols 2954359Sroberto 3054359Srobertooptions MATH_EMULATE #Support for x87 emulation 3154359Srobertooptions INET #InterNETworking 3254359Srobertooptions FFS #Berkeley Fast Filesystem 3354359Srobertooptions FFS_ROOT #FFS usable as root device [keep this!] 3454359Srobertooptions MFS #Memory Filesystem 3554359Srobertooptions MD_ROOT #MD is a potential root device 3654359Srobertooptions NFS #Network Filesystem 3754359Srobertooptions NFS_ROOT #NFS usable as root device, "NFS" req'ed 3854359Srobertooptions MSDOSFS #MSDOS Filesystem 3954359Srobertooptions CD9660 #ISO 9660 Filesystem 4054359Srobertooptions CD9660_ROOT #CD-ROM usable as root. "CD9660" req'ed 4154359Srobertooptions PROCFS #Process filesystem 4254359Srobertooptions COMPAT_43 #Compatible with BSD 4.3 [KEEP THIS!] 4354359Srobertooptions SCSI_DELAY=15000 #Be pessimistic about Joe SCSI device 4454359Srobertooptions UCONSOLE #Allow users to grab the console 4554359Srobertooptions USERCONFIG #boot -c editor 4654359Srobertooptions VISUAL_USERCONFIG #visual boot -c editor 4754359Srobertooptions KTRACE #ktrace(1) syscall trace support 4854359Srobertooptions SYSVSHM #SYSV-style shared memory 4954359Srobertooptions SYSVMSG #SYSV-style message queues 5054359Srobertooptions SYSVSEM #SYSV-style semaphores 5154359Sroberto 5254359Sroberto# To make an SMP kernel, the next two are needed 5354359Sroberto#options SMP # Symmetric MultiProcessor Kernel 5454359Sroberto#options APIC_IO # Symmetric (APIC) I/O 5554359Sroberto# Optionally these may need tweaked, (defaults shown): 5654359Sroberto#options NCPU=2 # number of CPUs 5754359Sroberto#options NBUS=4 # number of busses 5854359Sroberto#options NAPIC=1 # number of IO APICs 5954359Sroberto#options NINTR=24 # number of INTs 6054359Sroberto 6154359Srobertocontroller isa0 6254359Srobertocontroller eisa0 6354359Srobertocontroller pci0 6454359Sroberto 6554359Sroberto# Floppy drives 6654359Srobertocontroller fdc0 at isa? port IO_FD1 irq 6 drq 2 6754359Srobertodevice fd0 at fdc0 drive 0 6854359Srobertodevice fd1 at fdc0 drive 1 6954359Sroberto 7054359Sroberto# ATA and ATAPI devices 7154359Srobertocontroller ata0 at isa? port IO_WD1 irq 14 7254359Srobertocontroller ata1 at isa? port IO_WD2 irq 15 7354359Srobertocontroller ata2 7454359Srobertodevice atadisk0 # ATA disk drives 7554359Srobertodevice atapicd0 # ATAPI CDROM drives 7654359Srobertodevice atapifd0 # ATAPI floppy drives 7754359Srobertodevice atapist0 # ATAPI tape drives 7854359Srobertooptions ATA_STATIC_ID #Static device numbering 7954359Sroberto#options ATA_ENABLE_ATAPI_DMA #Enable DMA on ATAPI devices 8054359Sroberto 8154359Sroberto# SCSI Controllers 8254359Sroberto# A single entry for any of these controllers (ahb, ahc, amd, ncr, etc...) is 8354359Sroberto# sufficient for any number of installed devices. 8454359Srobertocontroller ahb0 # EISA AHA1742 family 8554359Srobertocontroller ahc0 # AHA2940 and onboard AIC7xxx devices 8654359Srobertocontroller amd0 # AMD 53C974 (Teckram DC-390(T)) 8754359Srobertocontroller dpt0 # DPT Smartcache - See LINT for options! 8854359Srobertocontroller isp0 # Qlogic family 8954359Srobertocontroller ncr0 # NCR/Symbios Logic 9054359Srobertocontroller sym0 # NCR/Symbios Logic (newer chipsets) 9154359Sroberto 9254359Srobertocontroller adv0 at isa? port ? irq ? 9354359Srobertocontroller adw0 9454359Srobertocontroller bt0 at isa? port ? irq ? 9554359Srobertocontroller aha0 at isa? port ? irq ? 9654359Srobertocontroller aic0 at isa? port ? irq ? 9754359Sroberto 9854359Sroberto# SCSI peripherals 9954359Sroberto# Only one of each of these is needed, they are dynamically allocated. 10054359Srobertocontroller scbus0 # SCSI bus (required) 10154359Srobertodevice da0 # Direct Access (disks) 10254359Srobertodevice sa0 # Sequential Access (tape etc) 10354359Srobertodevice cd0 # CD 10454359Srobertodevice pass0 # Passthrough device (direct SCSI access) 10554359Sroberto 10654359Sroberto# RAID controllers 10754359Srobertodevice amr0 # AMI MegaRAID 10854359Srobertodevice mlx0 # Mylex DAC960 family 10954359Sroberto 11054359Sroberto# atkbdc0 controls both the keyboard and the PS/2 mouse 11154359Srobertocontroller atkbdc0 at isa? port IO_KBD 11254359Srobertodevice atkbd0 at atkbdc? irq 1 11354359Srobertodevice psm0 at atkbdc? irq 12 11454359Sroberto 11554359Srobertodevice vga0 at isa? port ? conflicts 11654359Sroberto 11754359Sroberto# splash screen/screen saver 11854359Srobertopseudo-device splash 11954359Sroberto 12054359Sroberto# syscons is the default console driver, resembling an SCO console 12154359Srobertodevice sc0 at isa? 12254359Sroberto 12354359Sroberto# Enable this and PCVT_FREEBSD for pcvt vt220 compatible console driver 12454359Sroberto#device vt0 at isa? 12554359Sroberto#options XSERVER # support for X server 12654359Sroberto#options FAT_CURSOR # start with block cursor 12754359Sroberto# If you have a ThinkPAD, uncomment this along with the rest of the PCVT lines 12854359Sroberto#options PCVT_SCANSET=2 # IBM keyboards are non-std 12954359Sroberto 13054359Sroberto# Floating point support - do not disable. 13154359Srobertodevice npx0 at nexus? port IO_NPX irq 13 13254359Sroberto 13354359Sroberto# Power management support (see LINT for more options) 13454359Srobertodevice apm0 at nexus? disable flags 0x20 # Advanced Power Management 13554359Sroberto 13654359Sroberto# PCCARD (PCMCIA) support 13754359Sroberto#controller card0 13854359Sroberto#device pcic0 at isa? 13954359Sroberto#device pcic1 at isa? 14054359Sroberto 14154359Sroberto# Serial (COM) ports 14254359Srobertodevice sio0 at isa? port IO_COM1 flags 0x10 irq 4 14354359Srobertodevice sio1 at isa? port IO_COM2 irq 3 14454359Srobertodevice sio2 at isa? disable port IO_COM3 irq 5 14554359Srobertodevice sio3 at isa? disable port IO_COM4 irq 9 14654359Sroberto 14754359Sroberto# Parallel port 14854359Srobertodevice ppc0 at isa? port? flags 0x40 irq 7 14954359Srobertocontroller ppbus0 # Parallel port bus (required) 15054359Srobertodevice lpt0 # Printer 15154359Srobertodevice plip0 # TCP/IP over parallel 15254359Srobertodevice ppi0 # Parallel port interface device 15354359Sroberto#controller vpo0 # Requires scbus and da0 15454359Sroberto 15554359Sroberto 15654359Sroberto# PCI Ethernet NICs. 15754359Srobertodevice de0 # DEC/Intel DC21x4x (``Tulip'') 15854359Srobertodevice fxp0 # Intel EtherExpress PRO/100B (82557, 82558) 15954359Srobertodevice tx0 # SMC 9432TX (83c170 ``EPIC'') 16054359Srobertodevice vx0 # 3Com 3c590, 3c595 (``Vortex'') 16154359Sroberto 16254359Sroberto# PCI Ethernet NICs that use the common MII bus controller code. 16354359Srobertocontroller miibus0 # MII bus support 16454359Srobertodevice dc0 # DEC/Intel 21143 and various workalikes 16554359Srobertodevice rl0 # RealTek 8129/8139 16654359Srobertodevice sf0 # Adaptec AIC-6915 (``Starfire'') 16754359Srobertodevice sis0 # Silicon Integrated Systems SiS 900/SiS 7016 16854359Srobertodevice ste0 # Sundance ST201 (D-Link DFE-550TX) 16954359Srobertodevice tl0 # Texas Instruments ThunderLAN 17054359Srobertodevice vr0 # VIA Rhine, Rhine II 17154359Srobertodevice 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.11 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#device aue0 # ADMtek USB ethernet 218