GENERIC revision 47343
1254721Semaste# 2254721Semaste# GENERIC -- Generic machine with WD/AHx/NCR/BTx family disks 3254721Semaste# 4254721Semaste# For more information read the handbook part System Administration -> 5254721Semaste# Configuring the FreeBSD Kernel -> The Configuration File. 6254721Semaste# The handbook is available in /usr/share/doc/handbook or online as 7254721Semaste# latest version from the FreeBSD World Wide Web server 8254721Semaste# <URL:http://www.FreeBSD.ORG/> 9254721Semaste# 10254721Semaste# An exhaustive list of options and more detailed explanations of the 11254721Semaste# device lines is present in the ./LINT configuration file. If you are 12254721Semaste# in doubt as to the purpose or necessity of a line, check first in LINT. 13254721Semaste# 14254721Semaste# $Id: GENERIC,v 1.170 1999/05/14 03:57:23 obrien Exp $ 15254721Semaste 16254721Semastemachine i386 17254721Semastecpu I386_CPU 18254721Semastecpu I486_CPU 19254721Semastecpu I586_CPU 20254721Semastecpu I686_CPU 21254721Semasteident GENERIC 22254721Semastemaxusers 32 23254721Semaste 24254721Semaste#makeoptions DEBUG=-g #Build kernel with gdb(1) debug symbols 25254721Semaste 26254721Semasteoptions MATH_EMULATE #Support for x87 emulation 27254721Semasteoptions INET #InterNETworking 28254721Semasteoptions FFS #Berkeley Fast Filesystem 29254721Semasteoptions FFS_ROOT #FFS usable as root device [keep this!] 30254721Semasteoptions MFS #Memory Filesystem 31254721Semasteoptions MFS_ROOT #MFS usable as root device, "MFS" req'ed 32254721Semasteoptions NFS #Network Filesystem 33254721Semasteoptions NFS_ROOT #NFS usable as root device, "NFS" req'ed 34254721Semasteoptions MSDOSFS #MSDOS Filesystem 35254721Semasteoptions CD9660 #ISO 9660 Filesystem 36254721Semasteoptions CD9660_ROOT #CD-ROM usable as root. "CD9660" req'ed 37254721Semasteoptions PROCFS #Process filesystem 38254721Semasteoptions COMPAT_43 #Compatible with BSD 4.3 [KEEP THIS!] 39254721Semasteoptions SCSI_DELAY=15000 #Be pessimistic about Joe SCSI device 40254721Semasteoptions UCONSOLE #Allow users to grab the console 41254721Semasteoptions FAILSAFE #Be conservative 42254721Semasteoptions USERCONFIG #boot -c editor 43254721Semasteoptions VISUAL_USERCONFIG #visual boot -c editor 44254721Semaste 45254721Semaste# To make an SMP kernel, the next two are needed 46254721Semaste#options SMP # Symmetric MultiProcessor Kernel 47254721Semaste#options APIC_IO # Symmetric (APIC) I/O 48254721Semaste# Optionally these may need tweaked, (defaults shown): 49254721Semaste#options NCPU=2 # number of CPUs 50254721Semaste#options NBUS=4 # number of busses 51254721Semaste#options NAPIC=1 # number of IO APICs 52254721Semaste#options NINTR=24 # number of INTs 53254721Semaste 54254721Semastecontroller isa0 55254721Semastecontroller pnp0 # PnP support for ISA 56254721Semastecontroller eisa0 57254721Semastecontroller pci0 58254721Semaste 59254721Semastecontroller fdc0 at isa? port IO_FD1 irq 6 drq 2 60254721Semastedisk fd0 at fdc0 drive 0 61254721Semastedisk fd1 at fdc0 drive 1 62254721Semaste 63254721Semastecontroller wdc0 at isa? port IO_WD1 irq 14 64254721Semastedisk wd0 at wdc0 drive 0 65254721Semastedisk wd1 at wdc0 drive 1 66254721Semaste 67254721Semastecontroller wdc1 at isa? port IO_WD2 irq 15 68254721Semastedisk wd2 at wdc1 drive 0 69254721Semastedisk wd3 at wdc1 drive 1 70254721Semaste 71254721Semaste# ATAPI devices on wdc? 72254721Semastedevice wcd0 #IDE CD-ROM 73254721Semastedevice wfd0 #IDE Floppy (e.g. LS-120) 74254721Semastedevice wst0 #IDE Tape (e.g. Travan) 75254721Semaste 76254721Semaste# A single entry for any of these controllers (ncr, ahb, ahc) is 77254721Semaste# sufficient for any number of installed devices. 78254721Semastecontroller ncr0 79254721Semastecontroller ahb0 80254721Semastecontroller ahc0 81254721Semastecontroller isp0 82254721Semaste 83254721Semaste# This controller offers a number of configuration options, too many to 84254721Semaste# document here - see the LINT file in this directory and look up the 85254721Semaste# dpt0 entry there for much fuller documentation on this. 86254721Semastecontroller dpt0 87254721Semaste 88controller adv0 at isa? port ? irq ? 89controller adw0 90controller bt0 at isa? port ? irq ? 91controller aha0 at isa? port ? irq ? 92 93controller scbus0 94 95device da0 #Only need one of these, the code dynamically grows 96device sa0 97device pass0 98device cd0 99 100device wt0 at isa? port 0x300 irq 5 drq 1 101device mcd0 at isa? port 0x300 irq 10 102 103controller matcd0 at isa? port 0x230 104 105device scd0 at isa? port 0x230 106 107# atkbdc0 controls both the keyboard and the PS/2 mouse 108controller atkbdc0 at isa? port IO_KBD 109device atkbd0 at atkbdc? irq 1 110device psm0 at atkbdc? irq 12 111 112device vga0 at isa? port ? conflicts 113 114# splash screen/screen saver 115pseudo-device splash 116 117# syscons is the default console driver, resembling an SCO console 118device sc0 at isa? 119 120# Enable this and PCVT_FREEBSD for pcvt vt220 compatible console driver 121#device vt0 at isa? 122#options XSERVER # support for X server 123#options FAT_CURSOR # start with block cursor 124# If you have a ThinkPAD, uncomment this along with the rest of the PCVT lines 125#options PCVT_SCANSET=2 # IBM keyboards are non-std 126 127device npx0 at nexus? port IO_NPX irq 13 128 129# 130# Laptop support (see LINT for more options) 131# 132device apm0 at nexus? disable flags 0x31 # Advanced Power Management 133 134# PCCARD (PCMCIA) support 135#controller card0 136#device pcic0 at card? 137#device pcic1 at card? 138 139device sio0 at isa? port IO_COM1 flags 0x10 irq 4 140device sio1 at isa? port IO_COM2 irq 3 141device sio2 at isa? disable port IO_COM3 irq 5 142device sio3 at isa? disable port IO_COM4 irq 9 143 144# Parallel port 145device ppc0 at isa? port? flags 0x40 irq 7 146controller ppbus0 147device lpt0 at ppbus? 148device plip0 at ppbus? 149device ppi0 at ppbus? 150#controller vpo0 at ppbus? 151 152# 153# The following Ethernet NICs are all PCI devices. 154# 155device ax0 # ASIX AX88140A 156device de0 # DEC/Intel DC21x4x (``Tulip'') 157device fxp0 # Intel EtherExpress PRO/100B (82557, 82558) 158device mx0 # Macronix 98713/98715/98725 (``PMAC'') 159device pn0 # Lite-On 82c168/82c169 (``PNIC'') 160device rl0 # RealTek 8129/8139 161device tl0 # Texas Instruments ThunderLAN 162device tx0 # SMC 9432TX (83c170 ``EPIC'') 163device vr0 # VIA Rhine, Rhine II 164device vx0 # 3Com 3c590, 3c595 (``Vortex'') 165device wb0 # Winbond W89C840F 166device xl0 # 3Com 3c90x (``Boomerang'', ``Cyclone'') 167 168# Order is important here due to intrusive probes, do *not* alphabetize 169# this list of network interfaces until the probes have been fixed. 170# Right now it appears that the ie0 must be probed before ep0. See 171# revision 1.20 of this file. 172device ed0 at isa? port 0x280 irq 10 iomem 0xd8000 173device ie0 at isa? port 0x300 irq 10 iomem 0xd0000 174device ep0 at isa? port 0x300 irq 10 175device ex0 at isa? port? irq? 176device fe0 at isa? port 0x300 irq ? 177device le0 at isa? port 0x300 irq 5 iomem 0xd0000 178device lnc0 at isa? port 0x280 irq 10 drq 0 179#device xe0 at isa? port? irq ? 180#device ze0 at isa? port 0x300 irq 10 iomem 0xd8000 181#device zp0 at isa? port 0x300 irq 10 iomem 0xd8000 182device cs0 at isa? port 0x300 irq ? 183 184pseudo-device loop 185pseudo-device ether 186pseudo-device sl 1 187pseudo-device ppp 1 188pseudo-device tun 1 189pseudo-device pty 16 190pseudo-device gzip # Exec gzipped a.out's 191 192# KTRACE enables the system-call tracing facility ktrace(2). 193# This adds 4 KB bloat to your kernel, and slightly increases 194# the costs of each syscall. 195options KTRACE #kernel tracing 196 197# This provides support for System V shared memory and message queues. 198# 199options SYSVSHM 200options SYSVMSG 201options SYSVSEM 202 203# The `bpfilter' pseudo-device enables the Berkeley Packet Filter. Be 204# aware of the legal and administrative consequences of enabling this 205# option. The number of devices determines the maximum number of 206# simultaneous BPF clients programs runnable. 207#pseudo-device bpfilter 4 #Berkeley packet filter 208 209# USB support 210#controller uhci0 211#controller ohci0 212#controller usb0 213# 214#device ugen0 215#device uhid0 216#device ukbd0 217#device ulpt0 218#controller umass0 219#device ums0 220