GENERIC revision 45999
1169689Skan# 2169689Skan# GENERIC -- Generic machine with WD/AHx/NCR/BTx family disks 3169689Skan# 4169689Skan# For more information read the handbook part System Administration -> 5169689Skan# Configuring the FreeBSD Kernel -> The Configuration File. 6169689Skan# The handbook is available in /usr/share/doc/handbook or online as 7169689Skan# latest version from the FreeBSD World Wide Web server 8169689Skan# <URL:http://www.FreeBSD.ORG/> 9169689Skan# 10169689Skan# An exhaustive list of options and more detailed explanations of the 11169689Skan# device lines is present in the ./LINT configuration file. If you are 12169689Skan# in doubt as to the purpose or necessity of a line, check first in LINT. 13169689Skan# 14169689Skan# $Id: GENERIC,v 1.164 1999/04/19 11:53:36 peter Exp $ 15169689Skan 16169689Skanmachine "i386" 17169689Skancpu "I386_CPU" 18169689Skancpu "I486_CPU" 19169689Skancpu "I586_CPU" 20169689Skancpu "I686_CPU" 21169689Skanident GENERIC 22169689Skanmaxusers 32 23169689Skan 24169689Skan#makeoptions DEBUG="-g" #Build kernel with gdb(1) debug symbols 25169689Skan 26169689Skanoptions MATH_EMULATE #Support for x87 emulation 27169689Skanoptions INET #InterNETworking 28169689Skanoptions FFS #Berkeley Fast Filesystem 29169689Skanoptions FFS_ROOT #FFS usable as root device [keep this!] 30169689Skanoptions MFS #Memory Filesystem 31169689Skanoptions MFS_ROOT #MFS usable as root device, "MFS" req'ed 32169689Skanoptions NFS #Network Filesystem 33169689Skanoptions NFS_ROOT #NFS usable as root device, "NFS" req'ed 34169689Skanoptions MSDOSFS #MSDOS Filesystem 35169689Skanoptions "CD9660" #ISO 9660 Filesystem 36169689Skanoptions "CD9660_ROOT" #CD-ROM usable as root. "CD9660" req'ed 37169689Skanoptions PROCFS #Process filesystem 38169689Skanoptions "COMPAT_43" #Compatible with BSD 4.3 [KEEP THIS!] 39169689Skanoptions SCSI_DELAY=15000 #Be pessimistic about Joe SCSI device 40169689Skanoptions UCONSOLE #Allow users to grab the console 41169689Skanoptions FAILSAFE #Be conservative 42169689Skanoptions USERCONFIG #boot -c editor 43169689Skanoptions VISUAL_USERCONFIG #visual boot -c editor 44169689Skan 45169689Skanconfig kernel root on wd0 46169689Skan 47169689Skan# To make an SMP kernel, the next two are needed 48169689Skan#options SMP # Symmetric MultiProcessor Kernel 49169689Skan#options APIC_IO # Symmetric (APIC) I/O 50169689Skan# Optionally these may need tweaked, (defaults shown): 51169689Skan#options NCPU=2 # number of CPUs 52169689Skan#options NBUS=4 # number of busses 53169689Skan#options NAPIC=1 # number of IO APICs 54169689Skan#options NINTR=24 # number of INTs 55169689Skan 56169689Skancontroller isa0 57169689Skancontroller pnp0 # PnP support for ISA 58169689Skancontroller eisa0 59169689Skancontroller pci0 60169689Skan 61169689Skancontroller fdc0 at isa? port "IO_FD1" irq 6 drq 2 62169689Skandisk fd0 at fdc0 drive 0 63169689Skandisk fd1 at fdc0 drive 1 64169689Skan 65169689Skancontroller wdc0 at isa? port "IO_WD1" irq 14 66169689Skandisk wd0 at wdc0 drive 0 67169689Skandisk wd1 at wdc0 drive 1 68169689Skan 69169689Skancontroller wdc1 at isa? port "IO_WD2" irq 15 70169689Skandisk wd2 at wdc1 drive 0 71169689Skandisk wd3 at wdc1 drive 1 72169689Skan 73169689Skandevice wcd0 #IDE CD-ROM 74169689Skandevice wfd0 #IDE Floppy (e.g. LS-120) 75169689Skan 76169689Skan# A single entry for any of these controllers (ncr, ahb, ahc) is 77169689Skan# sufficient for any number of installed devices. 78169689Skancontroller ncr0 79169689Skancontroller ahb0 80169689Skancontroller ahc0 81169689Skancontroller isp0 82169689Skan 83169689Skan# This controller offers a number of configuration options, too many to 84169689Skan# document here - see the LINT file in this directory and look up the 85169689Skan# dpt0 entry there for much fuller documentation on this. 86169689Skancontroller dpt0 87169689Skan 88169689Skancontroller adv0 at isa? port ? irq ? 89169689Skancontroller adw0 90169689Skancontroller bt0 at isa? port ? irq ? 91169689Skancontroller aha0 at isa? port ? irq ? 92169689Skan 93169689Skancontroller scbus0 94169689Skan 95169689Skandevice da0 96169689Skan 97169689Skandevice sa0 98169689Skan 99169689Skandevice pass0 100169689Skan 101169689Skandevice cd0 #Only need one of these, the code dynamically grows 102169689Skan 103169689Skandevice wt0 at isa? port 0x300 irq 5 drq 1 104169689Skandevice mcd0 at isa? port 0x300 irq 10 105169689Skan 106169689Skancontroller matcd0 at isa? port 0x230 107169689Skan 108169689Skandevice scd0 at isa? port 0x230 109169689Skan 110169689Skan# atkbdc0 controls both the keyboard and the PS/2 mouse 111169689Skancontroller atkbdc0 at isa? port IO_KBD 112169689Skandevice atkbd0 at atkbdc? irq 1 113169689Skandevice psm0 at atkbdc? irq 12 114169689Skan 115169689Skandevice vga0 at isa? port ? conflicts 116169689Skan 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# Enable this and PCVT_FREEBSD for pcvt vt220 compatible console driver 123#device vt0 at isa? 124#options XSERVER # support for X server 125#options FAT_CURSOR # start with block cursor 126# If you have a ThinkPAD, uncomment this along with the rest of the PCVT lines 127#options PCVT_SCANSET=2 # IBM keyboards are non-std 128 129device npx0 at nexus? port IO_NPX irq 13 130 131# 132# Laptop support (see LINT for more options) 133# 134device apm0 at nexus? disable flags 0x31 # Advanced Power Management 135 136# PCCARD (PCMCIA) support 137#controller card0 138#device pcic0 at card? 139#device pcic1 at card? 140 141device sio0 at isa? port "IO_COM1" flags 0x10 irq 4 142device sio1 at isa? port "IO_COM2" irq 3 143device sio2 at isa? disable port "IO_COM3" irq 5 144device sio3 at isa? disable port "IO_COM4" irq 9 145 146# Parallel port 147device ppc0 at isa? port? irq 7 148controller ppbus0 149device lpt0 at ppbus? 150device plip0 at ppbus? 151device ppi0 at ppbus? 152#controller vpo0 at ppbus? 153 154# 155# The following Ethernet NICs are all PCI devices. 156# 157device ax0 # ASIX AX88140A 158device de0 # DEC/Intel DC21x4x (``Tulip'') 159device fxp0 # Intel EtherExpress PRO/100B (82557, 82558) 160device mx0 # Macronix 98713/98715/98725 (``PMAC'') 161device pn0 # Lite-On 82c168/82c169 (``PNIC'') 162device rl0 # RealTek 8129/8139 163device tl0 # Texas Instruments ThunderLAN 164device tx0 # SMC 9432TX (83c170 ``EPIC'') 165device vr0 # VIA Rhine, Rhine II 166device vx0 # 3Com 3c590, 3c595 (``Vortex'') 167device wb0 # Winbond W89C840F 168device xl0 # 3Com 3c90x (``Boomerang'', ``Cyclone'') 169 170# Order is important here due to intrusive probes, do *not* alphabetize 171# this list of network interfaces until the probes have been fixed. 172# Right now it appears that the ie0 must be probed before ep0. See 173# revision 1.20 of this file. 174device ed0 at isa? port 0x280 irq 10 iomem 0xd8000 175device ie0 at isa? port 0x300 irq 10 iomem 0xd0000 176device ep0 at isa? port 0x300 irq 10 177device ex0 at isa? port? irq? 178device fe0 at isa? port 0x300 irq ? 179device le0 at isa? port 0x300 irq 5 iomem 0xd0000 180device lnc0 at isa? port 0x280 irq 10 drq 0 181#device ze0 at isa? port 0x300 irq 10 iomem 0xd8000 182#device zp0 at isa? port 0x300 irq 10 iomem 0xd8000 183device cs0 at isa? port 0x300 irq ? 184 185pseudo-device loop 186pseudo-device ether 187pseudo-device sl 1 188pseudo-device ppp 1 189pseudo-device tun 1 190pseudo-device pty 16 191pseudo-device gzip # Exec gzipped a.out's 192 193# KTRACE enables the system-call tracing facility ktrace(2). 194# This adds 4 KB bloat to your kernel, and slightly increases 195# the costs of each syscall. 196options KTRACE #kernel tracing 197 198# This provides support for System V shared memory and message queues. 199# 200options SYSVSHM 201options SYSVMSG 202options SYSVSEM 203 204 205# The `bpfilter' pseudo-device enables the Berkeley Packet Filter. Be 206# aware of the legal and administrative consequences of enabling this 207# option. The number of devices determines the maximum number of 208# simultaneous BPF clients programs runnable. 209#pseudo-device bpfilter 4 #Berkeley packet filter 210 211 212# USB support 213#controller uhci0 214#controller ohci0 215#controller usb0 216# 217# for the moment we have to specify the priorities of the device 218# drivers explicitly by the ordering in the list below. This will 219# be changed in the future. 220# 221#device ums0 222#device ukbd0 223#device ulpt0 224#device uhid0 225#device ugen0 226