GENERIC revision 42084
10Sstevel@tonic-gate# 20Sstevel@tonic-gate# GENERIC -- Generic machine with WD/AHx/NCR/BTx family disks 30Sstevel@tonic-gate# 40Sstevel@tonic-gate# For more information read the handbook part System Administration -> 50Sstevel@tonic-gate# Configuring the FreeBSD Kernel -> The Configuration File. 60Sstevel@tonic-gate# The handbook is available in /usr/share/doc/handbook or online as 70Sstevel@tonic-gate# latest version from the FreeBSD World Wide Web server 80Sstevel@tonic-gate# <URL:http://www.FreeBSD.ORG/> 90Sstevel@tonic-gate# 100Sstevel@tonic-gate# An exhaustive list of options and more detailed explanations of the 110Sstevel@tonic-gate# device lines is present in the ./LINT configuration file. If you are 120Sstevel@tonic-gate# in doubt as to the purpose or necessity of a line, check first in LINT. 130Sstevel@tonic-gate# 140Sstevel@tonic-gate# $Id: GENERIC,v 1.139 1998/12/27 13:40:55 phk Exp $ 150Sstevel@tonic-gate 160Sstevel@tonic-gatemachine "i386" 170Sstevel@tonic-gatecpu "I386_CPU" 180Sstevel@tonic-gatecpu "I486_CPU" 190Sstevel@tonic-gatecpu "I586_CPU" 200Sstevel@tonic-gatecpu "I686_CPU" 210Sstevel@tonic-gateident GENERIC 220Sstevel@tonic-gatemaxusers 32 230Sstevel@tonic-gate 240Sstevel@tonic-gateoptions MATH_EMULATE #Support for x87 emulation 250Sstevel@tonic-gateoptions INET #InterNETworking 260Sstevel@tonic-gateoptions FFS #Berkeley Fast Filesystem 270Sstevel@tonic-gateoptions FFS_ROOT #FFS usable as root device [keep this!] 280Sstevel@tonic-gateoptions MFS #Memory Filesystem 290Sstevel@tonic-gateoptions MFS_ROOT #MFS usable as root device, "MFS" req'ed 300Sstevel@tonic-gateoptions NFS #Network Filesystem 310Sstevel@tonic-gateoptions NFS_ROOT #NFS usable as root device, "NFS" req'ed 320Sstevel@tonic-gateoptions MSDOSFS #MSDOS Filesystem 330Sstevel@tonic-gateoptions "CD9660" #ISO 9660 Filesystem 340Sstevel@tonic-gateoptions "CD9660_ROOT" #CD-ROM usable as root. "CD9660" req'ed 35options PROCFS #Process filesystem 36options "COMPAT_43" #Compatible with BSD 4.3 [KEEP THIS!] 37options SCSI_DELAY=15000 #Be pessimistic about Joe SCSI device 38options UCONSOLE #Allow users to grab the console 39options FAILSAFE #Be conservative 40options USERCONFIG #boot -c editor 41options VISUAL_USERCONFIG #visual boot -c editor 42 43config kernel root on wd0 44 45# To make an SMP kernel, the next two are needed 46#options SMP # Symmetric MultiProcessor Kernel 47#options APIC_IO # Symmetric (APIC) I/O 48# Optionally these may need tweaked, (defaults shown): 49#options NCPU=2 # number of CPUs 50#options NBUS=4 # number of busses 51#options NAPIC=1 # number of IO APICs 52#options NINTR=24 # number of INTs 53 54controller isa0 55controller eisa0 56controller pci0 57 58controller fdc0 at isa? port "IO_FD1" bio irq 6 drq 2 59disk fd0 at fdc0 drive 0 60disk fd1 at fdc0 drive 1 61 62options "CMD640" # work around CMD640 chip deficiency 63controller wdc0 at isa? port "IO_WD1" bio irq 14 64disk wd0 at wdc0 drive 0 65disk wd1 at wdc0 drive 1 66 67controller wdc1 at isa? port "IO_WD2" bio irq 15 68disk wd2 at wdc1 drive 0 69disk wd3 at wdc1 drive 1 70 71options ATAPI #Enable ATAPI support for IDE bus 72options ATAPI_STATIC #Don't do it as an LKM 73device acd0 #IDE CD-ROM 74device wfd0 #IDE Floppy (e.g. LS-120) 75 76# A single entry for any of these controllers (ncr, ahb, ahc) is 77# sufficient for any number of installed devices. 78controller ncr0 79controller ahb0 80controller ahc0 81controller isp0 82 83# This controller offers a number of configuration options, too many to 84# document here - see the LINT file in this directory and look up the 85# dpt0 entry there for much fuller documentation on this. 86controller dpt0 87 88controller adv0 at isa? port ? cam irq ? 89controller adw0 90controller bt0 at isa? port ? cam irq ? 91controller aha0 at isa? port ? cam irq ? 92#controller aic0 at isa? port 0x340 bio irq 11 93 94controller scbus0 95 96device da0 97 98device sa0 99 100device pass0 101 102device cd0 #Only need one of these, the code dynamically grows 103 104device wt0 at isa? port 0x300 bio irq 5 drq 1 105device mcd0 at isa? port 0x300 bio irq 10 106 107controller matcd0 at isa? port 0x230 bio 108 109device scd0 at isa? port 0x230 bio 110 111device sc0 at isa? port IO_KBD conflicts tty irq 1 112 113device npx0 at isa? port IO_NPX irq 13 114 115# 116# Laptop support (see LINT for more options) 117# 118device apm0 at isa? disable flags 0x31 # Advanced Power Management 119 120# PCCARD (PCMCIA) support 121#controller card0 122#device pcic0 at card? 123#device pcic1 at card? 124 125device sio0 at isa? port "IO_COM1" flags 0x10 tty irq 4 126device sio1 at isa? port "IO_COM2" tty irq 3 127device sio2 at isa? disable port "IO_COM3" tty irq 5 128device sio3 at isa? disable port "IO_COM4" tty irq 9 129 130device lpt0 at isa? port? tty irq 7 131 132device psm0 at isa? port IO_KBD conflicts tty irq 12 133 134# Order is important here due to intrusive probes, do *not* alphabetize 135# this list of network interfaces until the probes have been fixed. 136# Right now it appears that the ie0 must be probed before ep0. See 137# revision 1.20 of this file. 138device de0 139device fxp0 140device mx0 141device pn0 142device rl0 143device tl0 144device tx0 145device vr0 146device vx0 147device wb0 148device xl0 149 150device ed0 at isa? port 0x280 net irq 10 iomem 0xd8000 151device ie0 at isa? port 0x300 net irq 10 iomem 0xd0000 152device ep0 at isa? port 0x300 net irq 10 153device ex0 at isa? port? net irq? 154device fe0 at isa? port 0x300 net irq ? 155device le0 at isa? port 0x300 net irq 5 iomem 0xd0000 156device lnc0 at isa? port 0x280 net irq 10 drq 0 157device ze0 at isa? port 0x300 net irq 10 iomem 0xd8000 158device zp0 at isa? port 0x300 net irq 10 iomem 0xd8000 159device cs0 at isa? port 0x300 net irq ? 160 161pseudo-device loop 162pseudo-device ether 163pseudo-device sl 1 164pseudo-device ppp 1 165pseudo-device tun 1 166pseudo-device pty 16 167pseudo-device gzip # Exec gzipped a.out's 168 169# KTRACE enables the system-call tracing facility ktrace(2). 170# This adds 4 KB bloat to your kernel, and slightly increases 171# the costs of each syscall. 172options KTRACE #kernel tracing 173 174# This provides support for System V shared memory. 175# 176options SYSVSHM 177 178# The `bpfilter' pseudo-device enables the Berkeley Packet Filter. Be 179# aware of the legal and administrative consequences of enabling this 180# option. The number of devices determines the maximum number of 181# simultaneous BPF clients programs runnable. 182#pseudo-device bpfilter 4 #Berkeley packet filter 183 184 185# USB support 186#controller uhci0 187#controller ohci0 188#controller usb0 189# 190# for the moment we have to specify the priorities of the device 191# drivers explicitly by the ordering in the list below. This will 192# be changed in the future. 193# 194#device ums0 195#device ukbd0 196#device ulpt0 197#device uhub0 198#device ucom0 199#device umodem0 200#device hid0 201#device ugen0 202 203# 204#options USB_DEBUG 205#options USBVERBOSE 206