GENERIC revision 44170
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.151 1999/02/18 01:13:40 wollman 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 pnp0 # PnP support for ISA 56controller eisa0 57controller pci0 58 59controller fdc0 at isa? port "IO_FD1" bio irq 6 drq 2 60disk fd0 at fdc0 drive 0 61disk fd1 at fdc0 drive 1 62 63options "CMD640" # work around CMD640 chip deficiency 64controller wdc0 at isa? port "IO_WD1" bio irq 14 65disk wd0 at wdc0 drive 0 66disk wd1 at wdc0 drive 1 67 68controller wdc1 at isa? port "IO_WD2" bio irq 15 69disk wd2 at wdc1 drive 0 70disk wd3 at wdc1 drive 1 71 72options ATAPI #Enable ATAPI support for IDE bus 73options ATAPI_STATIC #Don't do it as an LKM 74device acd0 #IDE CD-ROM 75device wfd0 #IDE Floppy (e.g. LS-120) 76 77# A single entry for any of these controllers (ncr, ahb, ahc) is 78# sufficient for any number of installed devices. 79controller ncr0 80controller ahb0 81controller ahc0 82controller isp0 83 84# This controller offers a number of configuration options, too many to 85# document here - see the LINT file in this directory and look up the 86# dpt0 entry there for much fuller documentation on this. 87controller dpt0 88 89controller adv0 at isa? port ? cam irq ? 90controller adw0 91controller bt0 at isa? port ? cam irq ? 92controller aha0 at isa? port ? cam irq ? 93#controller aic0 at isa? port 0x340 bio irq 11 94 95controller scbus0 96 97device da0 98 99device sa0 100 101device pass0 102 103device cd0 #Only need one of these, the code dynamically grows 104 105device wt0 at isa? port 0x300 bio irq 5 drq 1 106device mcd0 at isa? port 0x300 bio irq 10 107 108controller matcd0 at isa? port 0x230 bio 109 110device scd0 at isa? port 0x230 bio 111 112# atkbdc0 controlls both the keyboard and the PS/2 mouse 113controller atkbdc0 at isa? port IO_KBD tty 114device atkbd0 at isa? tty irq 1 115device psm0 at isa? tty irq 12 116 117device vga0 at isa? port ? conflicts 118 119# splash screen/screen saver 120pseudo-device splash 121 122# syscons is the default console driver, resembling an SCO console 123device sc0 at isa? tty 124# Enable this and PCVT_FREEBSD for pcvt vt220 compatible console driver 125#device vt0 at isa? tty 126#options XSERVER # support for X server 127#options FAT_CURSOR # start with block cursor 128# If you have a ThinkPAD, uncomment this along with the rest of the PCVT lines 129#options PCVT_SCANSET=2 # IBM keyboards are non-std 130 131device npx0 at isa? port IO_NPX irq 13 132 133# 134# Laptop support (see LINT for more options) 135# 136device apm0 at isa? disable flags 0x31 # Advanced Power Management 137 138# PCCARD (PCMCIA) support 139#controller card0 140#device pcic0 at card? 141#device pcic1 at card? 142 143device sio0 at isa? port "IO_COM1" flags 0x10 tty irq 4 144device sio1 at isa? port "IO_COM2" tty irq 3 145device sio2 at isa? disable port "IO_COM3" tty irq 5 146device sio3 at isa? disable port "IO_COM4" tty irq 9 147 148# Parallel port 149device ppc0 at isa? port? tty irq 7 150controller ppbus0 151device lpt0 at ppbus? 152device plip0 at ppbus? 153device ppi0 at ppbus? 154#controller vpo0 at ppbus? 155 156# 157# The following Ethernet NICs are all PCI devices. 158# 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 net irq 10 iomem 0xd8000 177device ie0 at isa? port 0x300 net irq 10 iomem 0xd0000 178device ep0 at isa? port 0x300 net irq 10 179device ex0 at isa? port? net irq? 180device fe0 at isa? port 0x300 net irq ? 181device le0 at isa? port 0x300 net irq 5 iomem 0xd0000 182device lnc0 at isa? port 0x280 net irq 10 drq 0 183device ze0 at isa? port 0x300 net irq 10 iomem 0xd8000 184device zp0 at isa? port 0x300 net irq 10 iomem 0xd8000 185device cs0 at isa? port 0x300 net irq ? 186 187pseudo-device loop 188pseudo-device ether 189pseudo-device sl 1 190pseudo-device ppp 1 191pseudo-device tun 1 192pseudo-device pty 16 193pseudo-device gzip # Exec gzipped a.out's 194 195# KTRACE enables the system-call tracing facility ktrace(2). 196# This adds 4 KB bloat to your kernel, and slightly increases 197# the costs of each syscall. 198options KTRACE #kernel tracing 199 200# This provides support for System V shared memory and message queues. 201# 202options SYSVSHM 203options SYSVMSG 204 205 206# The `bpfilter' pseudo-device enables the Berkeley Packet Filter. Be 207# aware of the legal and administrative consequences of enabling this 208# option. The number of devices determines the maximum number of 209# simultaneous BPF clients programs runnable. 210#pseudo-device bpfilter 4 #Berkeley packet filter 211 212 213# USB support 214#controller uhci0 215#controller ohci0 216#controller usb0 217# 218# for the moment we have to specify the priorities of the device 219# drivers explicitly by the ordering in the list below. This will 220# be changed in the future. 221# 222#device ums0 223#device ukbd0 224#device ulpt0 225#device uhub0 226#device ucom0 227#device umodem0 228#device hid0 229#device ugen0 230 231# 232#options USB_DEBUG 233#options USBVERBOSE 234