1# 2# GENERIC -- Generic machine with WD/AHx/NCR/BTx family disks 3# 4# For more information on this file, please read the handbook section on 5# Kernel Configuration Files: 6# 7# http://www.freebsd.org/handbook/kernelconfig-config.html 8# 9# The handbook is also available locally in /usr/share/doc/handbook 10# if you've installed the doc distribution, otherwise always see the 11# FreeBSD World Wide Web server (http://www.FreeBSD.ORG/) for the 12# latest information. 13# 14# An exhaustive list of options and more detailed explanations of the 15# device lines is also present in the ./LINT configuration file. If you are 16# in doubt as to the purpose or necessity of a line, check first in LINT. 17# 18# $Id: GENERIC,v 1.173 1999/06/15 13:14:39 des Exp $ 19 20machine i386 21cpu I386_CPU 22cpu I486_CPU 23cpu I586_CPU 24cpu I686_CPU 25ident GENERIC 26maxusers 32 27 28#makeoptions DEBUG=-g #Build kernel with gdb(1) debug symbols 29 30options MATH_EMULATE #Support for x87 emulation 31options INET #InterNETworking 32options FFS #Berkeley Fast Filesystem 33options FFS_ROOT #FFS usable as root device [keep this!] 34options MFS #Memory Filesystem 35options MFS_ROOT #MFS usable as root device, "MFS" req'ed 36options NFS #Network Filesystem 37options NFS_ROOT #NFS usable as root device, "NFS" req'ed 38options MSDOSFS #MSDOS Filesystem 39options CD9660 #ISO 9660 Filesystem 40options CD9660_ROOT #CD-ROM usable as root. "CD9660" req'ed 41options PROCFS #Process filesystem 42options COMPAT_43 #Compatible with BSD 4.3 [KEEP THIS!] 43options SCSI_DELAY=15000 #Be pessimistic about Joe SCSI device 44options UCONSOLE #Allow users to grab the console 45options USERCONFIG #boot -c editor 46options VISUAL_USERCONFIG #visual boot -c editor 47 48# To make an SMP kernel, the next two are needed 49#options SMP # Symmetric MultiProcessor Kernel 50#options APIC_IO # Symmetric (APIC) I/O 51# Optionally these may need tweaked, (defaults shown): 52#options NCPU=2 # number of CPUs 53#options NBUS=4 # number of busses 54#options NAPIC=1 # number of IO APICs 55#options NINTR=24 # number of INTs 56 57controller isa0 58controller pnp0 # PnP support for ISA 59controller eisa0 60controller pci0 61 62controller fdc0 at isa? port IO_FD1 irq 6 drq 2 63disk fd0 at fdc0 drive 0 64disk fd1 at fdc0 drive 1 65 66controller wdc0 at isa? port IO_WD1 irq 14 67disk wd0 at wdc0 drive 0 68disk wd1 at wdc0 drive 1 69 70controller wdc1 at isa? port IO_WD2 irq 15 71disk wd2 at wdc1 drive 0 72disk wd3 at wdc1 drive 1 73 74# ATAPI devices on wdc? 75device wcd0 #IDE CD-ROM 76device wfd0 #IDE Floppy (e.g. LS-120) 77device wst0 #IDE Tape (e.g. Travan) 78 79# A single entry for any of these controllers (ncr, ahb, ahc) is 80# sufficient for any number of installed devices. 81controller ncr0 82controller ahb0 83controller ahc0 84controller isp0 85 86# This controller offers a number of configuration options, too many to 87# document here - see the LINT file in this directory and look up the 88# dpt0 entry there for much fuller documentation on this. 89controller dpt0 90 91controller adv0 at isa? port ? irq ? 92controller adw0 93controller bt0 at isa? port ? irq ? 94controller aha0 at isa? port ? irq ? 95 96controller scbus0 97 98device da0 #Only need one of these, the code dynamically grows 99device sa0 100device pass0 101device cd0 102 103device wt0 at isa? port 0x300 irq 5 drq 1 104device mcd0 at isa? port 0x300 irq 10 105 106controller matcd0 at isa? port 0x230 107 108device scd0 at isa? port 0x230 109 110# atkbdc0 controls both the keyboard and the PS/2 mouse 111controller atkbdc0 at isa? port IO_KBD 112device atkbd0 at atkbdc? irq 1 113device psm0 at atkbdc? irq 12 114 115device vga0 at isa? port ? conflicts 116 117# splash screen/screen saver 118pseudo-device splash 119 120# syscons is the default console driver, resembling an SCO console 121device sc0 at isa? 122 123# Enable this and PCVT_FREEBSD for pcvt vt220 compatible console driver 124#device vt0 at isa? 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 nexus? port IO_NPX irq 13 131 132# 133# Laptop support (see LINT for more options) 134# 135device apm0 at nexus? 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 irq 4 143device sio1 at isa? port IO_COM2 irq 3 144device sio2 at isa? disable port IO_COM3 irq 5 145device sio3 at isa? disable port IO_COM4 irq 9 146 147# Parallel port 148device ppc0 at isa? port? flags 0x40 irq 7 149controller ppbus0 150device lpt0 at ppbus? 151device plip0 at ppbus? 152device ppi0 at ppbus? 153#controller vpo0 at ppbus? 154 155# 156# The following Ethernet NICs are all PCI devices. 157# 158device al0 # ADMtek AL981 (``Comet'') 159device ax0 # ASIX AX88140A 160device de0 # DEC/Intel DC21x4x (``Tulip'') 161device fxp0 # Intel EtherExpress PRO/100B (82557, 82558) 162device mx0 # Macronix 98713/98715/98725 (``PMAC'') 163device pn0 # Lite-On 82c168/82c169 (``PNIC'') 164device rl0 # RealTek 8129/8139 165device tl0 # Texas Instruments ThunderLAN 166device tx0 # SMC 9432TX (83c170 ``EPIC'') 167device vr0 # VIA Rhine, Rhine II 168device vx0 # 3Com 3c590, 3c595 (``Vortex'') 169device wb0 # Winbond W89C840F 170device xl0 # 3Com 3c90x (``Boomerang'', ``Cyclone'') 171 172# Order is important here due to intrusive probes, do *not* alphabetize 173# this list of network interfaces until the probes have been fixed. 174# Right now it appears that the ie0 must be probed before ep0. See 175# revision 1.20 of this file. 176device ed0 at isa? port 0x280 irq 10 iomem 0xd8000 177device ie0 at isa? port 0x300 irq 10 iomem 0xd0000 178device ep0 at isa? port 0x300 irq 10 179device ex0 at isa? port? irq? 180device fe0 at isa? port 0x300 irq ? 181device le0 at isa? port 0x300 irq 5 iomem 0xd0000 182device lnc0 at isa? port 0x280 irq 10 drq 0 183#device xe0 at isa? port? irq ? 184#device ze0 at isa? port 0x300 irq 10 iomem 0xd8000 185#device zp0 at isa? port 0x300 irq 10 iomem 0xd8000 186device cs0 at isa? port 0x300 irq ? 187 188pseudo-device loop 189pseudo-device ether 190pseudo-device sl 1 191pseudo-device ppp 1 192pseudo-device tun 1 193pseudo-device pty 16 194pseudo-device gzip # Exec gzipped a.out's 195 196# KTRACE enables the system-call tracing facility ktrace(2). 197# This adds 4 KB bloat to your kernel, and slightly increases 198# the costs of each syscall. 199options KTRACE #kernel tracing 200 201# This provides support for System V shared memory and message queues. 202# 203options SYSVSHM 204options SYSVMSG 205options SYSVSEM 206 207# The `bpfilter' pseudo-device enables the Berkeley Packet Filter. Be 208# aware of the legal and administrative consequences of enabling this 209# option. The number of devices determines the maximum number of 210# simultaneous BPF clients programs runnable. 211#pseudo-device bpfilter 4 #Berkeley packet filter 212 213# USB support 214#controller uhci0 215#controller ohci0 216#controller usb0 217# 218#device ugen0 219#device uhid0 220#device ukbd0 221#device ulpt0 222#controller umass0 223#device ums0 224