GENERIC revision 41502
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.132 1998/11/26 23:13:11 n_hibma 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 MFS #Memory Filesystem 29options MFS_ROOT #MFS usable as root device, "MFS" req'ed 30options NFS #Network Filesystem 31options NFS_ROOT #NFS usable as root device, "NFS" req'ed 32options MSDOSFS #MSDOS Filesystem 33options "CD9660" #ISO 9660 Filesystem 34options "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 45controller isa0 46controller eisa0 47controller pci0 48 49controller fdc0 at isa? port "IO_FD1" bio irq 6 drq 2 50disk fd0 at fdc0 drive 0 51disk fd1 at fdc0 drive 1 52# Unless you know very well what you're doing, leave ft0 at drive 2, or 53# remove the line entirely if you don't need it. Trying to configure 54# it on another unit might cause surprises, see PR kern/7176. 55tape ft0 at fdc0 drive 2 56 57options "CMD640" # work around CMD640 chip deficiency 58controller wdc0 at isa? port "IO_WD1" bio irq 14 59disk wd0 at wdc0 drive 0 60disk wd1 at wdc0 drive 1 61 62controller wdc1 at isa? port "IO_WD2" bio irq 15 63disk wd2 at wdc1 drive 0 64disk wd3 at wdc1 drive 1 65 66options ATAPI #Enable ATAPI support for IDE bus 67options ATAPI_STATIC #Don't do it as an LKM 68device wcd0 #IDE CD-ROM 69device wfd0 #IDE Floppy (e.g. LS-120) 70 71# A single entry for any of these controllers (ncr, ahb, ahc) is 72# sufficient for any number of installed devices. 73controller ncr0 74controller ahb0 75controller ahc0 76controller isp0 77 78# This controller offers a number of configuration options, too many to 79# document here - see the LINT file in this directory and look up the 80# dpt0 entry there for much fuller documentation on this. 81controller dpt0 82 83controller adv0 at isa? port ? cam irq ? 84controller adw0 85controller bt0 at isa? port ? cam irq ? 86controller aha0 at isa? port ? cam irq ? 87#controller uha0 at isa? port "IO_UHA0" bio irq ? drq 5 88#controller aic0 at isa? port 0x340 bio irq 11 89 90controller scbus0 91 92device da0 93 94device sa0 95 96device pass0 97 98device cd0 #Only need one of these, the code dynamically grows 99 100device wt0 at isa? port 0x300 bio irq 5 drq 1 101device mcd0 at isa? port 0x300 bio irq 10 102 103controller matcd0 at isa? port 0x230 bio 104 105device scd0 at isa? port 0x230 bio 106 107# syscons is the default console driver, resembling an SCO console 108device sc0 at isa? port IO_KBD conflicts tty irq 1 109# Enable this and PCVT_FREEBSD for pcvt vt220 compatible console driver 110#device vt0 at isa? port IO_KBD conflicts tty irq 1 111#options XSERVER # support for X server 112#options FAT_CURSOR # start with block cursor 113# If you have a ThinkPAD, uncomment this along with the rest of the PCVT lines 114#options PCVT_SCANSET=2 # IBM keyboards are non-std 115 116device npx0 at isa? port IO_NPX irq 13 117 118# 119# Laptop support (see LINT for more options) 120# 121device apm0 at isa? disable flags 0x31 # Advanced Power Management 122 123# PCCARD (PCMCIA) support 124#controller card0 125#device pcic0 at card? 126#device pcic1 at card? 127 128device sio0 at isa? port "IO_COM1" flags 0x10 tty irq 4 129device sio1 at isa? port "IO_COM2" tty irq 3 130device sio2 at isa? disable port "IO_COM3" tty irq 5 131device sio3 at isa? disable port "IO_COM4" tty irq 9 132 133device lpt0 at isa? port? tty irq 7 134 135device psm0 at isa? port IO_KBD conflicts tty irq 12 136 137# Order is important here due to intrusive probes, do *not* alphabetize 138# this list of network interfaces until the probes have been fixed. 139# Right now it appears that the ie0 must be probed before ep0. See 140# revision 1.20 of this file. 141device de0 142device fxp0 143device mx0 144device pn0 145device rl0 146device tl0 147device tx0 148device vr0 149device vx0 150device wb0 151device xl0 152 153device ed0 at isa? port 0x280 net irq 10 iomem 0xd8000 154device ie0 at isa? port 0x300 net irq 10 iomem 0xd0000 155device ep0 at isa? port 0x300 net irq 10 156device ex0 at isa? port? net irq? 157device fe0 at isa? port 0x300 net irq ? 158device le0 at isa? port 0x300 net irq 5 iomem 0xd0000 159device lnc0 at isa? port 0x280 net irq 10 drq 0 160device ze0 at isa? port 0x300 net irq 10 iomem 0xd8000 161device zp0 at isa? port 0x300 net irq 10 iomem 0xd8000 162device cs0 at isa? port 0x300 net irq ? 163 164pseudo-device loop 165pseudo-device ether 166pseudo-device sl 1 167pseudo-device ppp 1 168pseudo-device tun 1 169pseudo-device pty 16 170pseudo-device gzip # Exec gzipped a.out's 171 172# KTRACE enables the system-call tracing facility ktrace(2). 173# This adds 4 KB bloat to your kernel, and slightly increases 174# the costs of each syscall. 175options KTRACE #kernel tracing 176 177# This provides support for System V shared memory. 178# 179options SYSVSHM 180 181# The `bpfilter' pseudo-device enables the Berkeley Packet Filter. Be 182# aware of the legal and administrative consequences of enabling this 183# option. The number of devices determines the maximum number of 184# simultaneous BPF clients programs runnable. 185#pseudo-device bpfilter 4 #Berkeley packet filter 186 187 188# USB support 189#controller uhci0 190#controller usb0 191# 192# for the moment we have to specify the priorities of the device 193# drivers explicitly by the ordering in the list below. This will 194# be changed in the future. 195# 196#device ums0 197#device ukbd0 198#device ulpt0 199#device uhub0 200#device hid0 201#device ugen0 202# 203#options USB_DEBUG 204#options USBVERBOSE 205