GENERIC revision 39926
1189251Ssam# 2189251Ssam# GENERIC -- Generic machine with WD/AHx/NCR/BTx family disks 3252726Srpaulo# 4189251Ssam# For more information read the handbook part System Administration -> 5252726Srpaulo# Configuring the FreeBSD Kernel -> The Configuration File. 6252726Srpaulo# The handbook is available in /usr/share/doc/handbook or online as 7189251Ssam# latest version from the FreeBSD World Wide Web server 8189251Ssam# <URL:http://www.FreeBSD.ORG/> 9189251Ssam# 10189251Ssam# An exhaustive list of options and more detailed explanations of the 11189251Ssam# device lines is present in the ./LINT configuration file. If you are 12252726Srpaulo# in doubt as to the purpose or necessity of a line, check first in LINT. 13252726Srpaulo# 14252726Srpaulo# $Id: GENERIC,v 1.119 1998/10/01 19:35:28 msmith Exp $ 15189251Ssam 16189251Ssammachine "i386" 17189251Ssamcpu "I386_CPU" 18189251Ssamcpu "I486_CPU" 19189251Ssamcpu "I586_CPU" 20189251Ssamcpu "I686_CPU" 21189251Ssamident GENERIC 22189251Ssammaxusers 32 23252726Srpaulo 24252726Srpaulooptions MATH_EMULATE #Support for x87 emulation 25189251Ssamoptions INET #InterNETworking 26189251Ssamoptions FFS #Berkeley Fast Filesystem 27189251Ssamoptions NFS #Network Filesystem 28189251Ssamoptions MSDOSFS #MSDOS Filesystem 29189251Ssamoptions "CD9660" #ISO 9660 Filesystem 30189251Ssamoptions "CD9660_ROOT" #CD-ROM usable as root device 31189251Ssamoptions FFS_ROOT #FFS usable as root device [keep this!] 32189251Ssamoptions NFS_ROOT #NFS usable as root device 33189251Ssamoptions PROCFS #Process filesystem 34189251Ssamoptions "COMPAT_43" #Compatible with BSD 4.3 [KEEP THIS!] 35189251Ssamoptions SCSI_DELAY=15000 #Be pessimistic about Joe SCSI device 36189251Ssamoptions UCONSOLE #Allow users to grab the console 37189251Ssamoptions FAILSAFE #Be conservative 38189251Ssamoptions USERCONFIG #boot -c editor 39189251Ssamoptions VISUAL_USERCONFIG #visual boot -c editor 40189251Ssam 41189251Ssamconfig kernel root on wd0 42189251Ssam 43189251Ssamcontroller isa0 44189251Ssamcontroller eisa0 45189251Ssamcontroller pci0 46189251Ssam 47189251Ssamcontroller fdc0 at isa? port "IO_FD1" bio irq 6 drq 2 vector fdintr 48189251Ssamdisk fd0 at fdc0 drive 0 49189251Ssamdisk fd1 at fdc0 drive 1 50189251Ssam# Unless you know very well what you're doing, leave ft0 at drive 2, or 51189251Ssam# remove the line entirely if you don't need it. Trying to configure 52189251Ssam# it on another unit might cause surprises, see PR kern/7176. 53189251Ssamtape ft0 at fdc0 drive 2 54189251Ssam 55189251Ssamoptions "CMD640" # work around CMD640 chip deficiency 56189251Ssamcontroller wdc0 at isa? port "IO_WD1" bio irq 14 vector wdintr 57189251Ssamdisk wd0 at wdc0 drive 0 58189251Ssamdisk wd1 at wdc0 drive 1 59189251Ssam 60189251Ssamcontroller wdc1 at isa? port "IO_WD2" bio irq 15 vector wdintr 61189251Ssamdisk wd2 at wdc1 drive 0 62189251Ssamdisk wd3 at wdc1 drive 1 63189251Ssam 64189251Ssamoptions ATAPI #Enable ATAPI support for IDE bus 65189251Ssamoptions ATAPI_STATIC #Don't do it as an LKM 66189251Ssamdevice wcd0 #IDE CD-ROM 67189251Ssamdevice wfd0 #IDE Floppy (e.g. LS-120) 68189251Ssam 69189251Ssam# A single entry for any of these controllers (ncr, ahb, ahc, amd) is 70189251Ssam# sufficient for any number of installed devices. 71189251Ssamcontroller ncr0 72189251Ssam#controller amd0 73189251Ssamcontroller ahb0 74189251Ssamcontroller ahc0 75189251Ssamcontroller isp0 76189251Ssam 77189251Ssam# This controller offers a number of configuration options, too many to 78252726Srpaulo# document here - see the LINT file in this directory and look up the 79189251Ssam# dpt0 entry there for much fuller documentation on this. 80189251Ssamcontroller dpt0 81189251Ssam 82189251Ssamcontroller adv0 at isa? port ? cam irq ? 83189251Ssamcontroller bt0 at isa? port ? cam irq ? 84189251Ssamcontroller aha0 at isa? port ? cam irq ? 85189251Ssam#controller uha0 at isa? port "IO_UHA0" bio irq ? drq 5 vector uhaintr 86189251Ssam#controller aic0 at isa? port 0x340 bio irq 11 vector aicintr 87189251Ssam#controller nca0 at isa? port 0x1f88 bio irq 10 vector ncaintr 88189251Ssam#controller nca1 at isa? port 0x350 bio irq 5 vector ncaintr 89189251Ssam#controller sea0 at isa? bio irq 5 iomem 0xc8000 iosiz 0x2000 vector seaintr 90189251Ssam 91189251Ssamcontroller scbus0 92189251Ssam 93252726Srpaulodevice da0 94189251Ssam 95189251Ssamdevice sa0 96189251Ssam 97189251Ssamdevice pass0 98189251Ssam 99189251Ssamdevice cd0 #Only need one of these, the code dynamically grows 100189251Ssam 101189251Ssamdevice wt0 at isa? port 0x300 bio irq 5 drq 1 vector wtintr 102189251Ssamdevice mcd0 at isa? port 0x300 bio irq 10 vector mcdintr 103189251Ssam 104189251Ssamcontroller matcd0 at isa? port 0x230 bio 105189251Ssam 106189251Ssamdevice scd0 at isa? port 0x230 bio 107214734Srpaulo 108214734Srpaulo# syscons is the default console driver, resembling an SCO console 109214734Srpaulodevice sc0 at isa? port "IO_KBD" conflicts tty irq 1 vector scintr 110214734Srpaulo# Enable this and PCVT_FREEBSD for pcvt vt220 compatible console driver 111214734Srpaulo#device vt0 at isa? port "IO_KBD" conflicts tty irq 1 vector pcrint 112214734Srpaulo#options XSERVER # support for X server 113252726Srpaulo#options FAT_CURSOR # start with block cursor 114252726Srpaulo# If you have a ThinkPAD, uncomment this along with the rest of the PCVT lines 115252726Srpaulo#options PCVT_SCANSET=2 # IBM keyboards are non-std 116252726Srpaulo 117252726Srpaulodevice npx0 at isa? port "IO_NPX" irq 13 vector npxintr 118252726Srpaulo 119189251Ssam# 120189251Ssam# Laptop support (see LINT for more options) 121189251Ssam# 122189251Ssamdevice apm0 at isa? disable flags 0x31 # Advanced Power Management 123189251Ssam 124189251Ssam# PCCARD (PCMCIA) support 125189251Ssam#controller card0 126189251Ssam#device pcic0 at card? 127189251Ssam#device pcic1 at card? 128189251Ssam 129189251Ssamdevice sio0 at isa? port "IO_COM1" flags 0x10 tty irq 4 vector siointr 130189251Ssamdevice sio1 at isa? port "IO_COM2" tty irq 3 vector siointr 131189251Ssamdevice sio2 at isa? disable port "IO_COM3" tty irq 5 vector siointr 132189251Ssamdevice sio3 at isa? disable port "IO_COM4" tty irq 9 vector siointr 133189251Ssam 134189251Ssamdevice lpt0 at isa? port? tty irq 7 vector lptintr 135189251Ssam 136189251Ssamdevice psm0 at isa? port "IO_KBD" conflicts tty irq 12 vector psmintr 137189251Ssam 138189251Ssam# Order is important here due to intrusive probes, do *not* alphabetize 139189251Ssam# this list of network interfaces until the probes have been fixed. 140189251Ssam# Right now it appears that the ie0 must be probed before ep0. See 141189251Ssam# revision 1.20 of this file. 142189251Ssamdevice de0 143189251Ssamdevice fxp0 144189251Ssamdevice tl0 145189251Ssamdevice tx0 146189251Ssamdevice vx0 147189251Ssamdevice xl0 148189251Ssam 149189251Ssamdevice ed0 at isa? port 0x280 net irq 10 iomem 0xd8000 vector edintr 150189251Ssamdevice ie0 at isa? port 0x300 net irq 10 iomem 0xd0000 vector ieintr 151189251Ssamdevice ep0 at isa? port 0x300 net irq 10 vector epintr 152252726Srpaulodevice ex0 at isa? port? net irq? vector exintr 153252726Srpaulodevice fe0 at isa? port 0x300 net irq ? vector feintr 154189251Ssamdevice le0 at isa? port 0x300 net irq 5 iomem 0xd0000 vector le_intr 155189251Ssamdevice lnc0 at isa? port 0x280 net irq 10 drq 0 vector lncintr 156189251Ssamdevice ze0 at isa? port 0x300 net irq 10 iomem 0xd8000 vector zeintr 157189251Ssamdevice zp0 at isa? port 0x300 net irq 10 iomem 0xd8000 vector zpintr 158189251Ssamdevice cs0 at isa? port 0x300 net irq ? vector csintr 159189251Ssam 160189251Ssampseudo-device loop 161189251Ssampseudo-device ether 162189251Ssampseudo-device sl 1 163pseudo-device ppp 1 164pseudo-device tun 1 165pseudo-device pty 16 166pseudo-device gzip # Exec gzipped a.out's 167 168# KTRACE enables the system-call tracing facility ktrace(2). 169# This adds 4 KB bloat to your kernel, and slightly increases 170# the costs of each syscall. 171options KTRACE #kernel tracing 172 173# This provides support for System V shared memory. 174# 175options SYSVSHM 176