GENERIC revision 36614
156760Srwatson# 2108410Srwatson# GENERIC -- Generic machine with WD/AHx/NCR/BTx family disks 356760Srwatson# 456760Srwatson# For more information read the handbook part System Administration -> 5108410Srwatson# Configuring the FreeBSD Kernel -> The Configuration File. 6108410Srwatson# The handbook is available in /usr/share/doc/handbook or online as 756760Srwatson# latest version from the FreeBSD World Wide Web server 856760Srwatson# <URL:http://www.FreeBSD.ORG/> 956760Srwatson# 1056760Srwatson# An exhaustive list of options and more detailed explanations of the 1156760Srwatson# device lines is present in the ./LINT configuration file. If you are 1256760Srwatson# in doubt as to the purpose or necessity of a line, check first in LINT. 1356760Srwatson# 1456760Srwatson# $Id: GENERIC,v 1.109 1998/05/21 03:22:19 wpaul Exp $ 1556760Srwatson 1656760Srwatsonmachine "i386" 1756760Srwatsoncpu "I386_CPU" 1856760Srwatsoncpu "I486_CPU" 1956760Srwatsoncpu "I586_CPU" 2056760Srwatsoncpu "I686_CPU" 2156760Srwatsonident GENERIC 2256760Srwatsonmaxusers 10 2356760Srwatson 2456760Srwatsonoptions MATH_EMULATE #Support for x87 emulation 2556760Srwatsonoptions INET #InterNETworking 2656760Srwatsonoptions FFS #Berkeley Fast Filesystem 2756760Srwatsonoptions NFS #Network Filesystem 2866076Srwatsonoptions MSDOSFS #MSDOS Filesystem 2956760Srwatsonoptions "CD9660" #ISO 9660 Filesystem 30194956Straszoptions "CD9660_ROOT" #CD-ROM usable as root device 3156760Srwatsonoptions FFS_ROOT #FFS usable as root device [keep this!] 3279531Sruoptions NFS_ROOT #NFS usable as root device 3356760Srwatsonoptions PROCFS #Process filesystem 3456760Srwatsonoptions "COMPAT_43" #Compatible with BSD 4.3 [KEEP THIS!] 3559514Sphantomoptions SCSI_DELAY=15 #Be pessimistic about Joe SCSI device 36108410Srwatsonoptions BOUNCE_BUFFERS #include support for DMA bounce buffers 37108410Srwatsonoptions UCONSOLE #Allow users to grab the console 3859514Sphantomoptions FAILSAFE #Be conservative 3959514Sphantomoptions USERCONFIG #boot -c editor 4075222Sruoptions VISUAL_USERCONFIG #visual boot -c editor 4156760Srwatson 4284306Sruconfig kernel root on wd0 4384306Sru 4457707Sbdecontroller isa0 4556760Srwatsoncontroller eisa0 4657707Sbdecontroller pci0 4756760Srwatson 48108410Srwatsoncontroller fdc0 at isa? port "IO_FD1" bio irq 6 drq 2 vector fdintr 49108410Srwatsondisk fd0 at fdc0 drive 0 50108410Srwatsondisk fd1 at fdc0 drive 1 51108410Srwatsontape ft0 at fdc0 drive 2 5256760Srwatson 5356760Srwatsonoptions "CMD640" # work around CMD640 chip deficiency 54108410Srwatsoncontroller wdc0 at isa? port "IO_WD1" bio irq 14 vector wdintr 5556760Srwatsondisk wd0 at wdc0 drive 0 56108410Srwatsondisk wd1 at wdc0 drive 1 57111278Sru 5856760Srwatsoncontroller wdc1 at isa? port "IO_WD2" bio irq 15 vector wdintr 5956760Srwatsondisk wd2 at wdc1 drive 0 60108037Srudisk wd3 at wdc1 drive 1 6179754Sdd 6256760Srwatsonoptions ATAPI #Enable ATAPI support for IDE bus 6356760Srwatsonoptions ATAPI_STATIC #Don't do it as an LKM 6456760Srwatsondevice wcd0 #IDE CD-ROM 65108037Srudevice wfd0 #IDE Floppy (e.g. LS-120) 6656760Srwatson 67108037Sru# A single entry for any of these controllers (ncr, ahb, ahc, amd) is 6856760Srwatson# sufficient for any number of installed devices. 6956760Srwatsoncontroller ncr0 7056760Srwatsoncontroller amd0 71110440Scharniercontroller ahb0 72108410Srwatsoncontroller ahc0 73110440Scharniercontroller isp0 74108410Srwatson 75108410Srwatson# This controller offers a number of configuration options, too many to 76108410Srwatson# document here - see the LINT file in this directory and look up the 77108410Srwatson# dpt0 entry there for much fuller documentation on this. The options 78108410Srwatson# line following dpt0 here is also currently a *required* option for it. 79108410Srwatsoncontroller dpt0 8070481Sruoptions DPT_MEASURE_PERFORMANCE 81131504Sru 82131504Srucontroller bt0 at isa? port "IO_BT0" bio irq ? vector bt_isa_intr 8356791Smppcontroller uha0 at isa? port "IO_UHA0" bio irq ? drq 5 vector uhaintr 8456760Srwatsoncontroller aha0 at isa? port "IO_AHA0" bio irq ? drq 5 vector ahaintr 8556760Srwatsoncontroller aic0 at isa? port 0x340 bio irq 11 vector aicintr 8656760Srwatsoncontroller nca0 at isa? port 0x1f88 bio irq 10 vector ncaintr 8756760Srwatsoncontroller nca1 at isa? port 0x350 bio irq 5 vector ncaintr 8870481Srucontroller sea0 at isa? bio irq 5 iomem 0xc8000 iosiz 0x2000 vector seaintr 8956760Srwatson 9056760Srwatsoncontroller scbus0 9156760Srwatson 9256760Srwatsondevice sd0 9356760Srwatson 94192638Straszdevice od0 #See LINT for possible `od' options. 95192638Strasz 96192638Straszdevice st0 97192638Strasz 98192638Straszdevice cd0 #Only need one of these, the code dynamically grows 99192638Strasz 100192638Straszdevice wt0 at isa? port 0x300 bio irq 5 drq 1 vector wtintr 101194955Straszdevice mcd0 at isa? port 0x300 bio irq 10 vector mcdintr 102192638Strasz 103194955Straszcontroller matcd0 at isa? port 0x230 bio 104194955Strasz 10556760Srwatsondevice scd0 at isa? port 0x230 bio 10668716Sru 10768716Sru# syscons is the default console driver, resembling an SCO console 10856760Srwatsondevice sc0 at isa? port "IO_KBD" tty irq 1 vector scintr 10956760Srwatson# Enable this and PCVT_FREEBSD for pcvt vt220 compatible console driver 11056760Srwatson#device vt0 at isa? port "IO_KBD" tty irq 1 vector pcrint 111131504Sru#options XSERVER # support for X server 112131504Sru#options FAT_CURSOR # start with block cursor 11356760Srwatson# If you have a ThinkPAD, uncomment this along with the rest of the PCVT lines 11456760Srwatson#options PCVT_SCANSET=2 # IBM keyboards are non-std 11556760Srwatson 11656760Srwatsondevice npx0 at isa? port "IO_NPX" irq 13 vector npxintr 11756760Srwatson 11856760Srwatson# 11956760Srwatson# Laptop support (see LINT for more options) 12056760Srwatson# 12156760Srwatsondevice apm0 at isa? disable flags 0x31 # Advanced Power Management 12256760Srwatson 12356760Srwatson# PCCARD (PCMCIA) support 12456760Srwatson#controller card0 12556760Srwatson#device pcic0 at card? 12656760Srwatson#device pcic1 at card? 12756760Srwatson 12856760Srwatsondevice sio0 at isa? port "IO_COM1" flags 0x10 tty irq 4 vector siointr 12956760Srwatsondevice sio1 at isa? port "IO_COM2" tty irq 3 vector siointr 13056760Srwatsondevice sio2 at isa? disable port "IO_COM3" tty irq 5 vector siointr 13156760Srwatsondevice sio3 at isa? disable port "IO_COM4" tty irq 9 vector siointr 13256760Srwatson 13356760Srwatsondevice lpt0 at isa? port? tty irq 7 vector lptintr 13456760Srwatsondevice lpt1 at isa? port? tty 13556760Srwatsondevice mse0 at isa? port 0x23c tty irq 5 vector mseintr 13656760Srwatson 13756760Srwatsondevice psm0 at isa? port "IO_KBD" conflicts tty irq 12 vector psmintr 13856760Srwatson 13956760Srwatson# Order is important here due to intrusive probes, do *not* alphabetize 14056760Srwatson# this list of network interfaces until the probes have been fixed. 14156760Srwatson# Right now it appears that the ie0 must be probed before ep0. See 14256760Srwatson# revision 1.20 of this file. 14356760Srwatsondevice de0 14456760Srwatsondevice fxp0 14556760Srwatsondevice tl0 14656760Srwatsondevice tx0 14756760Srwatsondevice vx0 14856760Srwatson 14956760Srwatsondevice ed0 at isa? port 0x280 net irq 10 iomem 0xd8000 vector edintr 15056760Srwatsondevice ie0 at isa? port 0x300 net irq 10 iomem 0xd0000 vector ieintr 151194955Straszdevice ep0 at isa? port 0x300 net irq 10 vector epintr 15256760Srwatsondevice ex0 at isa? port? net irq? vector exintr 15356760Srwatsondevice fe0 at isa? port 0x300 net irq ? vector feintr 15456760Srwatsondevice le0 at isa? port 0x300 net irq 5 iomem 0xd0000 vector le_intr 155131504Srudevice lnc0 at isa? port 0x280 net irq 10 drq 0 vector lncintr 156131504Srudevice ze0 at isa? port 0x300 net irq 10 iomem 0xd8000 vector zeintr 15756760Srwatsondevice zp0 at isa? port 0x300 net irq 10 iomem 0xd8000 vector zpintr 158131504Sru 159131504Srupseudo-device loop 16056791Smpppseudo-device ether 16156791Smpppseudo-device sl 1 16256760Srwatsonpseudo-device ppp 1 16356760Srwatsonpseudo-device tun 1 16456791Smpppseudo-device pty 16 16556791Smpppseudo-device gzip # Exec gzipped a.out's 16656791Smpp 16756760Srwatson# KTRACE enables the system-call tracing facility ktrace(2). 16856791Smpp# This adds 4 KB bloat to your kernel, and slightly increases 169# the costs of each syscall. 170options KTRACE #kernel tracing 171 172# This provides support for System V shared memory. 173# 174options SYSVSHM 175