GENERIC revision 33444
1296341Sdelphij# 2110010Smarkm# GENERIC -- Generic machine with WD/AHx/NCR/BTx family disks 3110010Smarkm# 4142429Snectar# For more information read the handbook part System Administration -> 5110010Smarkm# Configuring the FreeBSD Kernel -> The Configuration File. 6110010Smarkm# The handbook is available in /usr/share/doc/handbook or online as 7110010Smarkm# latest version from the FreeBSD World Wide Web server 8110010Smarkm# <URL:http://www.FreeBSD.ORG/> 9110010Smarkm# 10110010Smarkm# An exhaustive list of options and more detailed explanations of the 11110010Smarkm# device lines is present in the ./LINT configuration file. If you are 12110010Smarkm# in doubt as to the purpose or necessity of a line, check first in LINT. 13110010Smarkm# 14110010Smarkm# $Id: GENERIC,v 1.106 1998/02/16 00:29:05 msmith Exp $ 15110010Smarkm 16110010Smarkmmachine "i386" 17110010Smarkmcpu "I386_CPU" 18110010Smarkmcpu "I486_CPU" 19110010Smarkmcpu "I586_CPU" 20215698Ssimoncpu "I686_CPU" 21215698Ssimonident GENERIC 22215698Ssimonmaxusers 10 23215698Ssimon 24215698Ssimonoptions MATH_EMULATE #Support for x87 emulation 25110010Smarkmoptions INET #InterNETworking 26110010Smarkmoptions FFS #Berkeley Fast Filesystem 27110010Smarkmoptions NFS #Network Filesystem 28110010Smarkmoptions MSDOSFS #MSDOS Filesystem 29110010Smarkmoptions "CD9660" #ISO 9660 Filesystem 30110010Smarkmoptions "CD9660_ROOT" #CD-ROM usable as root device 31110010Smarkmoptions FFS_ROOT #FFS usable as root device [keep this!] 32110010Smarkmoptions NFS_ROOT #NFS usable as root device 33110010Smarkmoptions PROCFS #Process filesystem 34110010Smarkmoptions "COMPAT_43" #Compatible with BSD 4.3 [KEEP THIS!] 35110010Smarkmoptions SCSI_DELAY=15 #Be pessimistic about Joe SCSI device 36110010Smarkmoptions BOUNCE_BUFFERS #include support for DMA bounce buffers 37110010Smarkmoptions UCONSOLE #Allow users to grab the console 38110010Smarkmoptions FAILSAFE #Be conservative 39110010Smarkmoptions USERCONFIG #boot -c editor 40110010Smarkmoptions VISUAL_USERCONFIG #visual boot -c editor 41279264Sdelphij 42279264Sdelphijconfig kernel root on wd0 43110010Smarkm 44110010Smarkmcontroller isa0 45215698Ssimoncontroller eisa0 46215698Ssimoncontroller pci0 47215698Ssimon 48215698Ssimoncontroller fdc0 at isa? port "IO_FD1" bio irq 6 drq 2 vector fdintr 49142429Snectardisk fd0 at fdc0 drive 0 50215698Ssimondisk fd1 at fdc0 drive 1 51142429Snectartape ft0 at fdc0 drive 2 52142429Snectar 53279264Sdelphijoptions "CMD640" # work around CMD640 chip deficiency 54279264Sdelphijcontroller wdc0 at isa? port "IO_WD1" bio irq 14 vector wdintr 55279264Sdelphijdisk wd0 at wdc0 drive 0 56110010Smarkmdisk wd1 at wdc0 drive 1 57279264Sdelphij 58279264Sdelphijcontroller wdc1 at isa? port "IO_WD2" bio irq 15 vector wdintr 59279264Sdelphijdisk wd2 at wdc1 drive 0 60279264Sdelphijdisk wd3 at wdc1 drive 1 61279264Sdelphij 62279264Sdelphijoptions ATAPI #Enable ATAPI support for IDE bus 63215698Ssimonoptions ATAPI_STATIC #Don't do it as an LKM 64279264Sdelphijdevice wcd0 #IDE CD-ROM 65279264Sdelphijdevice wfd0 #IDE Floppy (e.g. LS-120) 66279264Sdelphij 67279264Sdelphij# A single entry for any of these controllers (ncr, ahb, ahc, amd) is 68279264Sdelphij# sufficient for any number of installed devices. 69215698Ssimoncontroller ncr0 70279264Sdelphijcontroller amd0 71110010Smarkmcontroller ahb0 72110010Smarkmcontroller ahc0 73110010Smarkm 74110010Smarkmcontroller bt0 at isa? port "IO_BT0" bio irq ? vector bt_isa_intr 75110010Smarkmcontroller uha0 at isa? port "IO_UHA0" bio irq ? drq 5 vector uhaintr 76110010Smarkmcontroller aha0 at isa? port "IO_AHA0" bio irq ? drq 5 vector ahaintr 77110010Smarkmcontroller aic0 at isa? port 0x340 bio irq 11 vector aicintr 78110010Smarkmcontroller nca0 at isa? port 0x1f88 bio irq 10 vector ncaintr 79110010Smarkmcontroller nca1 at isa? port 0x350 bio irq 5 vector ncaintr 80110010Smarkmcontroller sea0 at isa? bio irq 5 iomem 0xc8000 iosiz 0x2000 vector seaintr 81110010Smarkm 82110010Smarkmcontroller scbus0 83110010Smarkm 84110010Smarkmdevice sd0 85110010Smarkm 86110010Smarkmdevice od0 #See LINT for possible `od' options. 87110010Smarkm 88110010Smarkmdevice st0 89110010Smarkm 90110010Smarkmdevice cd0 #Only need one of these, the code dynamically grows 91110010Smarkm 92110010Smarkmdevice wt0 at isa? port 0x300 bio irq 5 drq 1 vector wtintr 93110010Smarkmdevice mcd0 at isa? port 0x300 bio irq 10 vector mcdintr 94110010Smarkm 95110010Smarkmcontroller matcd0 at isa? port 0x230 bio 96110010Smarkm 97110010Smarkmdevice scd0 at isa? port 0x230 bio 98110010Smarkm 99110010Smarkm# syscons is the default console driver, resembling an SCO console 100110010Smarkmdevice sc0 at isa? port "IO_KBD" tty irq 1 vector scintr 101110010Smarkm# Enable this and PCVT_FREEBSD for pcvt vt220 compatible console driver 102110010Smarkm#device vt0 at isa? port "IO_KBD" tty irq 1 vector pcrint 103110010Smarkm#options XSERVER # support for X server 104110010Smarkm#options FAT_CURSOR # start with block cursor 105110010Smarkm# If you have a ThinkPAD, uncomment this along with the rest of the PCVT lines 106110010Smarkm#options PCVT_SCANSET=2 # IBM keyboards are non-std 107110010Smarkm 108110010Smarkmdevice npx0 at isa? port "IO_NPX" irq 13 vector npxintr 109110010Smarkm 110110010Smarkm# 111110010Smarkm# Laptop support (see LINT for more options) 112110010Smarkm# 113110010Smarkmdevice apm0 at isa? disable flags 0x31 # Advanced Power Management 114110010Smarkm 115110010Smarkm# PCCARD (PCMCIA) support 116110010Smarkm#controller card0 117110010Smarkm#device pcic0 at card? 118110010Smarkm#device pcic1 at card? 119110010Smarkm 120110010Smarkmdevice sio0 at isa? port "IO_COM1" flags 0x10 tty irq 4 vector siointr 121110010Smarkmdevice sio1 at isa? port "IO_COM2" tty irq 3 vector siointr 122110010Smarkmdevice sio2 at isa? disable port "IO_COM3" tty irq 5 vector siointr 123110010Smarkmdevice sio3 at isa? disable port "IO_COM4" tty irq 9 vector siointr 124110010Smarkm 125110010Smarkmdevice lpt0 at isa? port? tty irq 7 vector lptintr 126110010Smarkmdevice lpt1 at isa? port? tty 127110010Smarkmdevice mse0 at isa? port 0x23c tty irq 5 vector mseintr 128110010Smarkm 129110010Smarkmdevice psm0 at isa? port "IO_KBD" conflicts tty irq 12 vector psmintr 130110010Smarkm 131110010Smarkm# Order is important here due to intrusive probes, do *not* alphabetize 132110010Smarkm# this list of network interfaces until the probes have been fixed. 133142429Snectar# Right now it appears that the ie0 must be probed before ep0. See 134110010Smarkm# revision 1.20 of this file. 135110010Smarkmdevice de0 136296341Sdelphijdevice fxp0 137215698Ssimondevice tx0 138215698Ssimondevice vx0 139215698Ssimon 140215698Ssimondevice ed0 at isa? port 0x280 net irq 10 iomem 0xd8000 vector edintr 141110010Smarkmdevice ie0 at isa? port 0x300 net irq 10 iomem 0xd0000 vector ieintr 142110010Smarkmdevice ep0 at isa? port 0x300 net irq 10 vector epintr 143110010Smarkmdevice ex0 at isa? port? net irq? vector exintr 144110010Smarkmdevice fe0 at isa? port 0x300 net irq ? vector feintr 145110010Smarkmdevice le0 at isa? port 0x300 net irq 5 iomem 0xd0000 vector le_intr 146110010Smarkmdevice lnc0 at isa? port 0x280 net irq 10 drq 0 vector lncintr 147215698Ssimondevice ze0 at isa? port 0x300 net irq 10 iomem 0xd8000 vector zeintr 148110010Smarkmdevice zp0 at isa? port 0x300 net irq 10 iomem 0xd8000 vector zpintr 149110010Smarkm 150110010Smarkmpseudo-device loop 151110010Smarkmpseudo-device ether 152110010Smarkmpseudo-device sl 1 153110010Smarkmpseudo-device ppp 1 154110010Smarkmpseudo-device tun 1 155110010Smarkmpseudo-device pty 16 156110010Smarkmpseudo-device gzip # Exec gzipped a.out's 157110010Smarkm 158110010Smarkm# KTRACE enables the system-call tracing facility ktrace(2). 159110010Smarkm# This adds 4 KB bloat to your kernel, and slightly increases 160110010Smarkm# the costs of each syscall. 161110010Smarkmoptions KTRACE #kernel tracing 162110010Smarkm 163110010Smarkm# This provides support for System V shared memory. 164110010Smarkm# 165142429Snectaroptions SYSVSHM 166110010Smarkm