GENERIC revision 39969
1# 2# GENERIC -- Generic machine with WD/AHx/NCR/BTx family disks 3# 4# For more information read the handbook part System Administration -> 5# Configuring the FreeBSD Kernel -> The Configuration File. 6# The handbook is available in /usr/share/doc/handbook or online as 7# latest version from the FreeBSD World Wide Web server 8# <URL:http://www.FreeBSD.ORG/> 9# 10# An exhaustive list of options and more detailed explanations of the 11# device lines is present in the ./LINT configuration file. If you are 12# in doubt as to the purpose or necessity of a line, check first in LINT. 13# 14# $Id: GENERIC,v 1.120 1998/10/03 17:09:00 jkh Exp $ 15 16machine "i386" 17cpu "I386_CPU" 18cpu "I486_CPU" 19cpu "I586_CPU" 20cpu "I686_CPU" 21ident GENERIC 22maxusers 32 23 24options MATH_EMULATE #Support for x87 emulation 25options INET #InterNETworking 26options FFS #Berkeley Fast Filesystem 27options FFS_ROOT #FFS usable as root device [keep this!] 28options NFS #Network Filesystem 29options NFS_ROOT #NFS usable as root device, "NFS" req'ed 30options MSDOSFS #MSDOS Filesystem 31options CD9660 #ISO 9660 Filesystem 32options CD9660_ROOT #CD-ROM usable as root device, "CD9660" req'ed 33options PROCFS #Process filesystem 34options "COMPAT_43" #Compatible with BSD 4.3 [KEEP THIS!] 35options SCSI_DELAY=15000 #Be pessimistic about Joe SCSI device 36options UCONSOLE #Allow users to grab the console 37options FAILSAFE #Be conservative 38options USERCONFIG #boot -c editor 39options VISUAL_USERCONFIG #visual boot -c editor 40 41config kernel root on wd0 42 43controller isa0 44controller eisa0 45controller pci0 46 47controller fdc0 at isa? port "IO_FD1" bio irq 6 drq 2 vector fdintr 48disk fd0 at fdc0 drive 0 49disk fd1 at fdc0 drive 1 50# Unless you know very well what you're doing, leave ft0 at drive 2, or 51# remove the line entirely if you don't need it. Trying to configure 52# it on another unit might cause surprises, see PR kern/7176. 53tape ft0 at fdc0 drive 2 54 55options "CMD640" # work around CMD640 chip deficiency 56controller wdc0 at isa? port "IO_WD1" bio irq 14 vector wdintr 57disk wd0 at wdc0 drive 0 58disk wd1 at wdc0 drive 1 59 60controller wdc1 at isa? port "IO_WD2" bio irq 15 vector wdintr 61disk wd2 at wdc1 drive 0 62disk wd3 at wdc1 drive 1 63 64options ATAPI #Enable ATAPI support for IDE bus 65options ATAPI_STATIC #Don't do it as an LKM 66device wcd0 #IDE CD-ROM 67device wfd0 #IDE Floppy (e.g. LS-120) 68 69# A single entry for any of these controllers (ncr, ahb, ahc, amd) is 70# sufficient for any number of installed devices. 71controller ncr0 72#controller amd0 73controller ahb0 74controller ahc0 75controller isp0 76 77# This controller offers a number of configuration options, too many to 78# document here - see the LINT file in this directory and look up the 79# dpt0 entry there for much fuller documentation on this. 80controller dpt0 81 82controller adv0 at isa? port ? cam irq ? 83controller bt0 at isa? port ? cam irq ? 84controller aha0 at isa? port ? cam irq ? 85#controller uha0 at isa? port "IO_UHA0" bio irq ? drq 5 vector uhaintr 86#controller aic0 at isa? port 0x340 bio irq 11 vector aicintr 87#controller nca0 at isa? port 0x1f88 bio irq 10 vector ncaintr 88#controller nca1 at isa? port 0x350 bio irq 5 vector ncaintr 89#controller sea0 at isa? bio irq 5 iomem 0xc8000 iosiz 0x2000 vector seaintr 90 91controller scbus0 92 93device da0 94 95device sa0 96 97device pass0 98 99device cd0 #Only need one of these, the code dynamically grows 100 101device wt0 at isa? port 0x300 bio irq 5 drq 1 vector wtintr 102device mcd0 at isa? port 0x300 bio irq 10 vector mcdintr 103 104controller matcd0 at isa? port 0x230 bio 105 106device scd0 at isa? port 0x230 bio 107 108# syscons is the default console driver, resembling an SCO console 109device sc0 at isa? port "IO_KBD" conflicts tty irq 1 vector scintr 110# Enable this and PCVT_FREEBSD for pcvt vt220 compatible console driver 111#device vt0 at isa? port "IO_KBD" conflicts tty irq 1 vector pcrint 112#options XSERVER # support for X server 113#options FAT_CURSOR # start with block cursor 114# If you have a ThinkPAD, uncomment this along with the rest of the PCVT lines 115#options PCVT_SCANSET=2 # IBM keyboards are non-std 116 117device npx0 at isa? port "IO_NPX" irq 13 vector npxintr 118 119# 120# Laptop support (see LINT for more options) 121# 122device apm0 at isa? disable flags 0x31 # Advanced Power Management 123 124# PCCARD (PCMCIA) support 125#controller card0 126#device pcic0 at card? 127#device pcic1 at card? 128 129device sio0 at isa? port "IO_COM1" flags 0x10 tty irq 4 vector siointr 130device sio1 at isa? port "IO_COM2" tty irq 3 vector siointr 131device sio2 at isa? disable port "IO_COM3" tty irq 5 vector siointr 132device sio3 at isa? disable port "IO_COM4" tty irq 9 vector siointr 133 134device lpt0 at isa? port? tty irq 7 vector lptintr 135 136device psm0 at isa? port "IO_KBD" conflicts tty irq 12 vector psmintr 137 138# Order is important here due to intrusive probes, do *not* alphabetize 139# this list of network interfaces until the probes have been fixed. 140# Right now it appears that the ie0 must be probed before ep0. See 141# revision 1.20 of this file. 142device de0 143device fxp0 144device tl0 145device tx0 146device vx0 147device xl0 148 149device ed0 at isa? port 0x280 net irq 10 iomem 0xd8000 vector edintr 150device ie0 at isa? port 0x300 net irq 10 iomem 0xd0000 vector ieintr 151device ep0 at isa? port 0x300 net irq 10 vector epintr 152device ex0 at isa? port? net irq? vector exintr 153device fe0 at isa? port 0x300 net irq ? vector feintr 154device le0 at isa? port 0x300 net irq 5 iomem 0xd0000 vector le_intr 155device lnc0 at isa? port 0x280 net irq 10 drq 0 vector lncintr 156device ze0 at isa? port 0x300 net irq 10 iomem 0xd8000 vector zeintr 157device zp0 at isa? port 0x300 net irq 10 iomem 0xd8000 vector zpintr 158device cs0 at isa? port 0x300 net irq ? vector csintr 159 160pseudo-device loop 161pseudo-device ether 162pseudo-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