GENERIC revision 50719
1221115Sobrien# 2221115Sobrien# GENERIC -- Generic machine with WD/AHx/NCR/BTx family disks 3221115Sobrien# 4221115Sobrien# For more information on this file, please read the handbook section on 5221115Sobrien# Kernel Configuration Files: 6221115Sobrien# 7221115Sobrien# http://www.freebsd.org/handbook/kernelconfig-config.html 8221115Sobrien# 960786Sps# The handbook is also available locally in /usr/share/doc/handbook 10294286Sdelphij# if you've installed the doc distribution, otherwise always see the 1160786Sps# FreeBSD World Wide Web server (http://www.FreeBSD.ORG/) for the 12294286Sdelphij# latest information. 1360786Sps# 1460786Sps# An exhaustive list of options and more detailed explanations of the 1560786Sps# device lines is also present in the ./LINT configuration file. If you are 1660786Sps# in doubt as to the purpose or necessity of a line, check first in LINT. 1760786Sps# 1860786Sps# $FreeBSD: head/sys/amd64/conf/GENERIC 50719 1999-09-01 00:51:23Z brian $ 19191930Sdelphij 2060786Spsmachine i386 2160786Spscpu I386_CPU 2260786Spscpu I486_CPU 2360786Spscpu I586_CPU 24237613Sdelphijcpu I686_CPU 2589019Spsident GENERIC 2660786Spsmaxusers 32 2760786Sps 2860786Sps#makeoptions DEBUG=-g #Build kernel with gdb(1) debug symbols 2960786Sps 3060786Spsoptions MATH_EMULATE #Support for x87 emulation 3160786Spsoptions INET #InterNETworking 3260786Spsoptions FFS #Berkeley Fast Filesystem 3360786Spsoptions FFS_ROOT #FFS usable as root device [keep this!] 3460786Spsoptions MFS #Memory Filesystem 3560786Spsoptions MFS_ROOT #MFS usable as root device, "MFS" req'ed 3660786Spsoptions NFS #Network Filesystem 3760786Spsoptions NFS_ROOT #NFS usable as root device, "NFS" req'ed 3860786Spsoptions MSDOSFS #MSDOS Filesystem 3960786Spsoptions CD9660 #ISO 9660 Filesystem 4060786Spsoptions CD9660_ROOT #CD-ROM usable as root. "CD9660" req'ed 4160786Spsoptions PROCFS #Process filesystem 4260786Spsoptions COMPAT_43 #Compatible with BSD 4.3 [KEEP THIS!] 4360786Spsoptions SCSI_DELAY=15000 #Be pessimistic about Joe SCSI device 4460786Spsoptions UCONSOLE #Allow users to grab the console 4560786Spsoptions USERCONFIG #boot -c editor 4660786Spsoptions VISUAL_USERCONFIG #visual boot -c editor 4760786Spsoptions KTRACE #ktrace(1) syscall trace support 4860786Spsoptions SYSVSHM #SYSV-style shared memory 4960786Spsoptions SYSVMSG #SYSV-style message queues 5060786Spsoptions SYSVSEM #SYSV-style semaphores 51170256Sdelphij 5260786Sps# To make an SMP kernel, the next two are needed 5360786Sps#options SMP # Symmetric MultiProcessor Kernel 5460786Sps#options APIC_IO # Symmetric (APIC) I/O 5560786Sps# Optionally these may need tweaked, (defaults shown): 56294286Sdelphij#options NCPU=2 # number of CPUs 57294286Sdelphij#options NBUS=4 # number of busses 5860786Sps#options NAPIC=1 # number of IO APICs 5960786Sps#options NINTR=24 # number of INTs 6060786Sps 6160786Spscontroller isa0 6260786Spscontroller pnp0 # PnP support for ISA 6360786Spscontroller eisa0 64237613Sdelphijcontroller pci0 65161475Sdelphij 66161475Sdelphij# Floppy drives 67237613Sdelphijcontroller fdc0 at isa? port IO_FD1 irq 6 drq 2 68237613Sdelphijdisk fd0 at fdc0 drive 0 6960786Spsdisk fd1 at fdc0 drive 1 70170256Sdelphij 7160786Sps# IDE controller and disks 7260786Spscontroller wdc0 at isa? port IO_WD1 irq 14 7360786Spsdisk wd0 at wdc0 drive 0 7460786Spsdisk wd1 at wdc0 drive 1 7560786Sps 7660786Spscontroller wdc1 at isa? port IO_WD2 irq 15 7760786Spsdisk wd2 at wdc1 drive 0 7860786Spsdisk wd3 at wdc1 drive 1 7960786Sps 8060786Sps# ATAPI devices on wdc? 8160786Spsdevice wcd0 #IDE CD-ROM 8260786Spsdevice wfd0 #IDE Floppy (e.g. LS-120) 8360786Spsdevice wst0 #IDE Tape (e.g. Travan) 8460786Sps 8560786Sps# SCSI Controllers 8660786Sps# A single entry for any of these controllers (ncr, ahb, ahc) is 8760786Sps# sufficient for any number of installed devices. 8860786Spscontroller ncr0 # NCR/Symbios Logic 8960786Spscontroller ahb0 # EISA AHA1742 family 9060786Spscontroller ahc0 # AHA2940 and onboard AIC7xxx devices 9160786Spscontroller isp0 # Qlogic family 9260786Spscontroller dpt0 # DPT Smartcache - See LINT for options! 9360786Sps 9460786Spscontroller adv0 at isa? port ? irq ? 9560786Spscontroller adw0 9660786Spscontroller bt0 at isa? port ? irq ? 9760786Spscontroller aha0 at isa? port ? irq ? 9860786Sps 9960786Sps# SCSI peripherals 10060786Sps# Only one of each of these is needed, they are dynamically allocated. 101237613Sdelphijcontroller scbus0 # SCSI bus (required) 10260786Spsdevice da0 # Direct Access (disks) 10360786Spsdevice sa0 # Sequential Access (tape etc) 10460786Spsdevice cd0 # CD 10560786Spsdevice pass0 # Passthrough device (direct SCSI access) 106221715Sdelphij 107221715Sdelphij# Proprietary or custom CD-ROM Interfaces 108221715Sdelphijdevice wt0 at isa? port 0x300 irq 5 drq 1 10960786Spsdevice mcd0 at isa? port 0x300 irq 10 11060786Spsdevice matcd0 at isa? port 0x230 111221715Sdelphijdevice scd0 at isa? port 0x230 11260786Sps 11360786Sps# atkbdc0 controls both the keyboard and the PS/2 mouse 11460786Spscontroller atkbdc0 at isa? port IO_KBD 11560786Spsdevice atkbd0 at atkbdc? irq 1 11660786Spsdevice psm0 at atkbdc? irq 12 11760786Sps 11860786Spsdevice vga0 at isa? port ? conflicts 11960786Sps 12063128Sps# splash screen/screen saver 12160786Spspseudo-device splash 12260786Sps 12360786Sps# syscons is the default console driver, resembling an SCO console 12460786Spsdevice sc0 at isa? 12560786Sps 12660786Sps# Enable this and PCVT_FREEBSD for pcvt vt220 compatible console driver 12760786Sps#device vt0 at isa? 12860786Sps#options XSERVER # support for X server 12960786Sps#options FAT_CURSOR # start with block cursor 13060786Sps# If you have a ThinkPAD, uncomment this along with the rest of the PCVT lines 13160786Sps#options PCVT_SCANSET=2 # IBM keyboards are non-std 13260786Sps 13360786Sps# Floating point support - do not disable. 13460786Spsdevice npx0 at nexus? port IO_NPX irq 13 13560786Sps 13660786Sps# Power management support (see LINT for more options) 13760786Spsdevice apm0 at nexus? disable flags 0x31 # Advanced Power Management 13860786Sps 13960786Sps# PCCARD (PCMCIA) support 14060786Sps#controller card0 14160786Sps#device pcic0 at card? 14260786Sps#device pcic1 at card? 14360786Sps 14460786Sps# Serial (COM) ports 14560786Spsdevice sio0 at isa? port IO_COM1 flags 0x10 irq 4 14660786Spsdevice sio1 at isa? port IO_COM2 irq 3 14760786Spsdevice sio2 at isa? disable port IO_COM3 irq 5 14860786Spsdevice sio3 at isa? disable port IO_COM4 irq 9 14960786Sps 15060786Sps# Parallel port 15160786Spsdevice ppc0 at isa? port? flags 0x40 irq 7 15260786Spscontroller ppbus0 # Parallel port bus (required) 15360786Spsdevice lpt0 # Printer 15460786Spsdevice plip0 # TCP/IP over parallel 15560786Spsdevice ppi0 # Parallel port interface device 15660786Sps#controller vpo0 # Requires scbus and da0 15760786Sps 15860786Sps# MII bus support, required for some 10/100 NICs 15960786Spscontroller miibus0 16060786Sps 16160786Sps# PCI Ethernet NICs. 16260786Spsdevice al0 # ADMtek AL981 (``Comet'') 16360786Spsdevice ax0 # ASIX AX88140A 16460786Spsdevice de0 # DEC/Intel DC21x4x (``Tulip'') 16560786Spsdevice fxp0 # Intel EtherExpress PRO/100B (82557, 82558) 16660786Spsdevice mx0 # Macronix 98713/98715/98725 (``PMAC'') 16760786Spsdevice pn0 # Lite-On 82c168/82c169 (``PNIC'') 16860786Spsdevice rl0 # RealTek 8129/8139 16960786Spsdevice sf0 # Adaptec AIC-6915 (``Starfire'') 17060786Spsdevice ste0 # Sundance ST201 (D-Link DFE-550TX) 17160786Spsdevice tl0 # Texas Instruments ThunderLAN 17260786Spsdevice tx0 # SMC 9432TX (83c170 ``EPIC'') 17360786Spsdevice vr0 # VIA Rhine, Rhine II 17460786Spsdevice vx0 # 3Com 3c590, 3c595 (``Vortex'') 17560786Spsdevice wb0 # Winbond W89C840F 17660786Spsdevice xl0 # 3Com 3c90x (``Boomerang'', ``Cyclone'') 17760786Sps 17860786Sps# ISA Ethernet NICs. 17960786Sps# The probe order of these is presently determined by i386/isa/isa_compat.c. 18060786Spsdevice ed0 at isa? port 0x280 irq 10 iomem 0xd8000 18160786Spsdevice ie0 at isa? port 0x300 irq 10 iomem 0xd0000 18260786Spsdevice ep0 at isa? port 0x300 irq 10 18360786Spsdevice ex0 at isa? port? irq? 18460786Spsdevice fe0 at isa? port 0x300 irq ? 18560786Spsdevice le0 at isa? port 0x300 irq 5 iomem 0xd0000 18660786Spsdevice lnc0 at isa? port 0x280 irq 10 drq 0 18760786Spsdevice cs0 at isa? port 0x300 irq ? 18860786Sps# requires PCCARD (PCMCIA) support to be activated 18960786Sps#device xe0 at isa? port? irq ? 19060786Sps 19160786Sps# PCCARD NIC drivers. 19260786Sps# ze and zp take over the pcic and cannot coexist with generic pccard 19360786Sps# support, nor the ed and ep drivers they replace. 19460786Sps#device ze0 at isa? port 0x300 irq 10 iomem 0xd8000 19560786Sps#device zp0 at isa? port 0x300 irq 10 iomem 0xd8000 19660786Sps 19760786Sps# Pseudo devices - the number indicates how many units to allocated. 19860786Spspseudo-device loop # Network loopback 19960786Spspseudo-device ether # Ethernet support 20060786Spspseudo-device sl 1 # Kernel SLIP 20160786Spspseudo-device ppp 1 # Kernel PPP 20260786Spspseudo-device tun # Packet tunnel, for ppp(8) 20360786Spspseudo-device pty # Pseudo-ttys (telnet etc) 20460786Spspseudo-device gzip # Exec gzipped a.out's 20589019Sps 20689019Sps# The `bpf' pseudo-device enables the Berkeley Packet Filter. 20789019Sps# Be aware of the administrative consequences of enabling this! 20889019Spspseudo-device bpf #Berkeley packet filter 20960786Sps 21060786Sps# USB support 21160786Sps#controller uhci0 # UHCI PCI->USB interface 21260786Sps#controller ohci0 # OHCI PCI->USB interface 21360786Sps#controller usb0 # USB Bus (required) 21460786Sps#device ugen0 # Generic 21560786Sps#device uhid0 # "Human Interface Devices" 21660786Sps#device ukbd0 # Keyboard 21760786Sps#device ulpt0 # Printer 21860786Sps#controller umass0 # Disks/Mass storage - Requires scbus and da0 21960786Sps#device ums0 # Mouse 22060786Sps