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.142 1999/01/09 18:12:07 wpaul 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 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 111# atkbdc0 controlls both the keyboard and the PS/2 mouse 112controller atkbdc0 at isa? port IO_KBD tty 113device atkbd0 at isa? tty irq 1 114device psm0 at isa? tty irq 12 115 116device vga0 at isa? port ? conflicts 117 118# splash screen/screen saver 119pseudo-device splash 120 121# syscons is the default console driver, resembling an SCO console 122device sc0 at isa? tty 123# Enable this and PCVT_FREEBSD for pcvt vt220 compatible console driver 124#device vt0 at isa? tty 125#options XSERVER # support for X server 126#options FAT_CURSOR # start with block cursor 127# If you have a ThinkPAD, uncomment this along with the rest of the PCVT lines 128#options PCVT_SCANSET=2 # IBM keyboards are non-std 129 130device npx0 at isa? port IO_NPX irq 13 131 132# 133# Laptop support (see LINT for more options) 134# 135device apm0 at isa? disable flags 0x31 # Advanced Power Management 136 137# PCCARD (PCMCIA) support 138#controller card0 139#device pcic0 at card? 140#device pcic1 at card? 141 142device sio0 at isa? port "IO_COM1" flags 0x10 tty irq 4 143device sio1 at isa? port "IO_COM2" tty irq 3 144device sio2 at isa? disable port "IO_COM3" tty irq 5 145device sio3 at isa? disable port "IO_COM4" tty irq 9 146 147device lpt0 at isa? port? tty irq 7 148 149# Order is important here due to intrusive probes, do *not* alphabetize 150# this list of network interfaces until the probes have been fixed. 151# Right now it appears that the ie0 must be probed before ep0. See 152# revision 1.20 of this file. 153device ax0 154device de0 155device fxp0 156device mx0 157device pn0 158device rl0 159device tl0 160device tx0 161device vr0 162device vx0 163device wb0 164device xl0 165 166device ed0 at isa? port 0x280 net irq 10 iomem 0xd8000 167device ie0 at isa? port 0x300 net irq 10 iomem 0xd0000 168device ep0 at isa? port 0x300 net irq 10 169device ex0 at isa? port? net irq? 170device fe0 at isa? port 0x300 net irq ? 171device le0 at isa? port 0x300 net irq 5 iomem 0xd0000 172device lnc0 at isa? port 0x280 net irq 10 drq 0 173device ze0 at isa? port 0x300 net irq 10 iomem 0xd8000 174device zp0 at isa? port 0x300 net irq 10 iomem 0xd8000 175device cs0 at isa? port 0x300 net irq ? 176 177pseudo-device loop 178pseudo-device ether 179pseudo-device sl 1 180pseudo-device ppp 1 181pseudo-device tun 1 182pseudo-device pty 16 183pseudo-device gzip # Exec gzipped a.out's 184 185# KTRACE enables the system-call tracing facility ktrace(2). 186# This adds 4 KB bloat to your kernel, and slightly increases 187# the costs of each syscall. 188options KTRACE #kernel tracing 189 190# This provides support for System V shared memory. 191# 192options SYSVSHM 193 194# The `bpfilter' pseudo-device enables the Berkeley Packet Filter. Be 195# aware of the legal and administrative consequences of enabling this 196# option. The number of devices determines the maximum number of 197# simultaneous BPF clients programs runnable. 198#pseudo-device bpfilter 4 #Berkeley packet filter 199 200 201# USB support 202#controller uhci0 203#controller ohci0 204#controller usb0 205# 206# for the moment we have to specify the priorities of the device 207# drivers explicitly by the ordering in the list below. This will 208# be changed in the future. 209# 210#device ums0 211#device ukbd0 212#device ulpt0 213#device uhub0 214#device ucom0 215#device umodem0 216#device hid0 217#device ugen0 218 219# 220#options USB_DEBUG 221#options USBVERBOSE 222