GENERIC revision 40037
178556Sobrien# 278556Sobrien# GENERIC -- Generic machine with WD/AHx/NCR/BTx family disks 378556Sobrien# 478556Sobrien# For more information read the handbook part System Administration -> 578556Sobrien# Configuring the FreeBSD Kernel -> The Configuration File. 678556Sobrien# The handbook is available in /usr/share/doc/handbook or online as 778556Sobrien# latest version from the FreeBSD World Wide Web server 878556Sobrien# <URL:http://www.FreeBSD.ORG/> 978556Sobrien# 1078556Sobrien# An exhaustive list of options and more detailed explanations of the 1178556Sobrien# device lines is present in the ./LINT configuration file. If you are 1278556Sobrien# in doubt as to the purpose or necessity of a line, check first in LINT. 1378556Sobrien# 1478556Sobrien# $Id: GENERIC,v 1.122 1998/10/07 03:42:44 gibbs Exp $ 1578556Sobrien 1678556Sobrienmachine "i386" 1778556Sobriencpu "I386_CPU" 1878556Sobriencpu "I486_CPU" 1978556Sobriencpu "I586_CPU" 2078556Sobriencpu "I686_CPU" 2178556Sobrienident GENERIC 2278556Sobrienmaxusers 32 2378556Sobrien 2478556Sobrienoptions MATH_EMULATE #Support for x87 emulation 2578556Sobrienoptions INET #InterNETworking 2678556Sobrienoptions FFS #Berkeley Fast Filesystem 2778556Sobrienoptions FFS_ROOT #FFS usable as root device [keep this!] 2878556Sobrienoptions NFS #Network Filesystem 2978556Sobrienoptions NFS_ROOT #NFS usable as root device, "NFS" req'ed 3078556Sobrienoptions MSDOSFS #MSDOS Filesystem 3178556Sobrienoptions "CD9660" #ISO 9660 Filesystem 3278556Sobrienoptions "CD9660_ROOT" #CD-ROM usable as root. "CD9660" req'ed 3378556Sobrienoptions PROCFS #Process filesystem 3478556Sobrienoptions "COMPAT_43" #Compatible with BSD 4.3 [KEEP THIS!] 3578556Sobrienoptions SCSI_DELAY=15000 #Be pessimistic about Joe SCSI device 3678556Sobrienoptions UCONSOLE #Allow users to grab the console 3778556Sobrienoptions FAILSAFE #Be conservative 3878556Sobrienoptions USERCONFIG #boot -c editor 3978556Sobrienoptions VISUAL_USERCONFIG #visual boot -c editor 4078556Sobrien 4178556Sobrienconfig kernel root on wd0 4278556Sobrien 4378556Sobriencontroller isa0 4478556Sobriencontroller eisa0 4578556Sobriencontroller pci0 4678556Sobrien 4778556Sobriencontroller fdc0 at isa? port "IO_FD1" bio irq 6 drq 2 vector fdintr 4878556Sobriendisk fd0 at fdc0 drive 0 4978556Sobriendisk fd1 at fdc0 drive 1 5078556Sobrien# Unless you know very well what you're doing, leave ft0 at drive 2, or 5178556Sobrien# remove the line entirely if you don't need it. Trying to configure 5278556Sobrien# it on another unit might cause surprises, see PR kern/7176. 5378556Sobrientape ft0 at fdc0 drive 2 5478556Sobrien 5578556Sobrienoptions "CMD640" # work around CMD640 chip deficiency 5678556Sobriencontroller wdc0 at isa? port "IO_WD1" bio irq 14 vector wdintr 5778556Sobriendisk wd0 at wdc0 drive 0 5878556Sobriendisk wd1 at wdc0 drive 1 5978556Sobrien 6078556Sobriencontroller wdc1 at isa? port "IO_WD2" bio irq 15 vector wdintr 6178556Sobriendisk wd2 at wdc1 drive 0 6278556Sobriendisk wd3 at wdc1 drive 1 6378556Sobrien 6478556Sobrienoptions ATAPI #Enable ATAPI support for IDE bus 6578556Sobrienoptions ATAPI_STATIC #Don't do it as an LKM 6678556Sobriendevice wcd0 #IDE CD-ROM 6778556Sobriendevice wfd0 #IDE Floppy (e.g. LS-120) 6878556Sobrien 6978556Sobrien# A single entry for any of these controllers (ncr, ahb, ahc, amd) is 7078556Sobrien# sufficient for any number of installed devices. 7178556Sobriencontroller ncr0 7278556Sobrien#controller amd0 7378556Sobriencontroller ahb0 7478556Sobriencontroller ahc0 7578556Sobriencontroller isp0 7678556Sobrien 7778556Sobrien# This controller offers a number of configuration options, too many to 7878556Sobrien# document here - see the LINT file in this directory and look up the 7978556Sobrien# dpt0 entry there for much fuller documentation on this. 8078556Sobriencontroller dpt0 8178556Sobrien 8278556Sobriencontroller adv0 at isa? port ? cam irq ? 8378556Sobriencontroller adw0 8478556Sobriencontroller bt0 at isa? port ? cam irq ? 8578556Sobriencontroller aha0 at isa? port ? cam irq ? 8678556Sobrien#controller uha0 at isa? port "IO_UHA0" bio irq ? drq 5 vector uhaintr 8778556Sobrien#controller aic0 at isa? port 0x340 bio irq 11 vector aicintr 8878556Sobrien#controller nca0 at isa? port 0x1f88 bio irq 10 vector ncaintr 8978556Sobrien#controller nca1 at isa? port 0x350 bio irq 5 vector ncaintr 9078556Sobrien#controller sea0 at isa? bio irq 5 iomem 0xc8000 iosiz 0x2000 vector seaintr 9178556Sobrien 9278556Sobriencontroller scbus0 9378556Sobrien 9478556Sobriendevice da0 9578556Sobrien 9678556Sobriendevice sa0 9778556Sobrien 9878556Sobriendevice pass0 9978556Sobrien 10078556Sobriendevice cd0 #Only need one of these, the code dynamically grows 10178556Sobrien 10278556Sobriendevice wt0 at isa? port 0x300 bio irq 5 drq 1 vector wtintr 10378556Sobriendevice mcd0 at isa? port 0x300 bio irq 10 vector mcdintr 10478556Sobrien 10578556Sobriencontroller matcd0 at isa? port 0x230 bio 10678556Sobrien 10778556Sobriendevice scd0 at isa? port 0x230 bio 10878556Sobrien 10978556Sobrien# syscons is the default console driver, resembling an SCO console 11078556Sobriendevice sc0 at isa? port "IO_KBD" conflicts tty irq 1 vector scintr 11178556Sobrien# Enable this and PCVT_FREEBSD for pcvt vt220 compatible console driver 11278556Sobrien#device vt0 at isa? port "IO_KBD" conflicts tty irq 1 vector pcrint 11378556Sobrien#options XSERVER # support for X server 11478556Sobrien#options FAT_CURSOR # start with block cursor 11578556Sobrien# If you have a ThinkPAD, uncomment this along with the rest of the PCVT lines 11678556Sobrien#options PCVT_SCANSET=2 # IBM keyboards are non-std 11778556Sobrien 11878556Sobriendevice npx0 at isa? port "IO_NPX" irq 13 vector npxintr 11978556Sobrien 12078556Sobrien# 12178556Sobrien# Laptop support (see LINT for more options) 12278556Sobrien# 12378556Sobriendevice apm0 at isa? disable flags 0x31 # Advanced Power Management 12478556Sobrien 12578556Sobrien# PCCARD (PCMCIA) support 12678556Sobrien#controller card0 12778556Sobrien#device pcic0 at card? 12878556Sobrien#device pcic1 at card? 12978556Sobrien 13078556Sobriendevice sio0 at isa? port "IO_COM1" flags 0x10 tty irq 4 vector siointr 13178556Sobriendevice sio1 at isa? port "IO_COM2" tty irq 3 vector siointr 13278556Sobriendevice sio2 at isa? disable port "IO_COM3" tty irq 5 vector siointr 13378556Sobriendevice sio3 at isa? disable port "IO_COM4" tty irq 9 vector siointr 13478556Sobrien 13578556Sobriendevice lpt0 at isa? port? tty irq 7 vector lptintr 13678556Sobrien 13778556Sobriendevice psm0 at isa? port "IO_KBD" conflicts tty irq 12 vector psmintr 13878556Sobrien 13978556Sobrien# Order is important here due to intrusive probes, do *not* alphabetize 14078556Sobrien# this list of network interfaces until the probes have been fixed. 14178556Sobrien# Right now it appears that the ie0 must be probed before ep0. See 14278556Sobrien# revision 1.20 of this file. 14378556Sobriendevice de0 14478556Sobriendevice fxp0 14578556Sobriendevice tl0 14678556Sobriendevice tx0 14778556Sobriendevice vx0 14878556Sobriendevice xl0 14978556Sobrien 15078556Sobriendevice ed0 at isa? port 0x280 net irq 10 iomem 0xd8000 vector edintr 15178556Sobriendevice ie0 at isa? port 0x300 net irq 10 iomem 0xd0000 vector ieintr 15278556Sobriendevice ep0 at isa? port 0x300 net irq 10 vector epintr 15378556Sobriendevice ex0 at isa? port? net irq? vector exintr 15478556Sobriendevice fe0 at isa? port 0x300 net irq ? vector feintr 15578556Sobriendevice le0 at isa? port 0x300 net irq 5 iomem 0xd0000 vector le_intr 15678556Sobriendevice lnc0 at isa? port 0x280 net irq 10 drq 0 vector lncintr 15778556Sobriendevice ze0 at isa? port 0x300 net irq 10 iomem 0xd8000 vector zeintr 15878556Sobriendevice zp0 at isa? port 0x300 net irq 10 iomem 0xd8000 vector zpintr 15978556Sobriendevice cs0 at isa? port 0x300 net irq ? vector csintr 16078556Sobrien 16178556Sobrienpseudo-device loop 16278556Sobrienpseudo-device ether 16378556Sobrienpseudo-device sl 1 16478556Sobrienpseudo-device ppp 1 16578556Sobrienpseudo-device tun 1 16678556Sobrienpseudo-device pty 16 16778556Sobrienpseudo-device gzip # Exec gzipped a.out's 16878556Sobrien 16978556Sobrien# KTRACE enables the system-call tracing facility ktrace(2). 17078556Sobrien# This adds 4 KB bloat to your kernel, and slightly increases 17178556Sobrien# the costs of each syscall. 17278556Sobrienoptions KTRACE #kernel tracing 17378556Sobrien 17478556Sobrien# This provides support for System V shared memory. 17578556Sobrien# 17678556Sobrienoptions SYSVSHM 17778556Sobrien