GENERIC revision 36273
1116742Ssam# 2116904Ssam# GENERIC -- Generic machine with WD/AHx/NCR/BTx family disks 3139530Ssam# 4116742Ssam# For more information read the handbook part System Administration -> 5116742Ssam# Configuring the FreeBSD Kernel -> The Configuration File. 6116742Ssam# The handbook is available in /usr/share/doc/handbook or online as 7116742Ssam# latest version from the FreeBSD World Wide Web server 8116742Ssam# <URL:http://www.FreeBSD.ORG/> 9116742Ssam# 10116904Ssam# An exhaustive list of options and more detailed explanations of the 11116904Ssam# device lines is present in the ./LINT configuration file. If you are 12116904Ssam# in doubt as to the purpose or necessity of a line, check first in LINT. 13116904Ssam# 14116904Ssam# $Id: GENERIC,v 1.108 1998/04/22 18:18:12 mjacob Exp $ 15116904Ssam 16116742Ssammachine "i386" 17116742Ssamcpu "I386_CPU" 18116742Ssamcpu "I486_CPU" 19116742Ssamcpu "I586_CPU" 20116742Ssamcpu "I686_CPU" 21116904Ssamident GENERIC 22116904Ssammaxusers 10 23116904Ssam 24116904Ssamoptions MATH_EMULATE #Support for x87 emulation 25116904Ssamoptions INET #InterNETworking 26116904Ssamoptions FFS #Berkeley Fast Filesystem 27116904Ssamoptions NFS #Network Filesystem 28116904Ssamoptions MSDOSFS #MSDOS Filesystem 29116904Ssamoptions "CD9660" #ISO 9660 Filesystem 30116904Ssamoptions "CD9660_ROOT" #CD-ROM usable as root device 31116742Ssamoptions FFS_ROOT #FFS usable as root device [keep this!] 32116742Ssamoptions NFS_ROOT #NFS usable as root device 33116742Ssamoptions PROCFS #Process filesystem 34116742Ssamoptions "COMPAT_43" #Compatible with BSD 4.3 [KEEP THIS!] 35116742Ssamoptions SCSI_DELAY=15 #Be pessimistic about Joe SCSI device 36116742Ssamoptions BOUNCE_BUFFERS #include support for DMA bounce buffers 37116742Ssamoptions UCONSOLE #Allow users to grab the console 38116742Ssamoptions FAILSAFE #Be conservative 39116742Ssamoptions USERCONFIG #boot -c editor 40116742Ssamoptions VISUAL_USERCONFIG #visual boot -c editor 41116742Ssam 42116742Ssamconfig kernel root on wd0 43138568Ssam 44116742Ssamcontroller isa0 45138568Ssamcontroller eisa0 46116742Ssamcontroller pci0 47116742Ssam 48116742Ssamcontroller fdc0 at isa? port "IO_FD1" bio irq 6 drq 2 vector fdintr 49116742Ssamdisk fd0 at fdc0 drive 0 50138568Ssamdisk fd1 at fdc0 drive 1 51116742Ssamtape ft0 at fdc0 drive 2 52116742Ssam 53116742Ssamoptions "CMD640" # work around CMD640 chip deficiency 54138568Ssamcontroller wdc0 at isa? port "IO_WD1" bio irq 14 vector wdintr 55138568Ssamdisk wd0 at wdc0 drive 0 56138568Ssamdisk wd1 at wdc0 drive 1 57116742Ssam 58116742Ssamcontroller wdc1 at isa? port "IO_WD2" bio irq 15 vector wdintr 59116742Ssamdisk wd2 at wdc1 drive 0 60116742Ssamdisk wd3 at wdc1 drive 1 61116742Ssam 62116742Ssamoptions ATAPI #Enable ATAPI support for IDE bus 63116742Ssamoptions ATAPI_STATIC #Don't do it as an LKM 64116742Ssamdevice wcd0 #IDE CD-ROM 65116742Ssamdevice wfd0 #IDE Floppy (e.g. LS-120) 66138568Ssam 67138568Ssam# A single entry for any of these controllers (ncr, ahb, ahc, amd) is 68138568Ssam# sufficient for any number of installed devices. 69138568Ssamcontroller ncr0 70138568Ssamcontroller amd0 71138568Ssamcontroller ahb0 72117811Ssamcontroller ahc0 73117811Ssamcontroller isp0 74117811Ssam 75117811Ssamcontroller bt0 at isa? port "IO_BT0" bio irq ? vector bt_isa_intr 76117811Ssamcontroller uha0 at isa? port "IO_UHA0" bio irq ? drq 5 vector uhaintr 77117811Ssamcontroller aha0 at isa? port "IO_AHA0" bio irq ? drq 5 vector ahaintr 78117811Ssamcontroller aic0 at isa? port 0x340 bio irq 11 vector aicintr 79138568Ssamcontroller nca0 at isa? port 0x1f88 bio irq 10 vector ncaintr 80138568Ssamcontroller nca1 at isa? port 0x350 bio irq 5 vector ncaintr 81138568Ssamcontroller sea0 at isa? bio irq 5 iomem 0xc8000 iosiz 0x2000 vector seaintr 82138568Ssam 83138568Ssamcontroller scbus0 84138568Ssam 85138568Ssamdevice sd0 86116742Ssam 87117811Ssamdevice od0 #See LINT for possible `od' options. 88117811Ssam 89116742Ssamdevice st0 90138568Ssam 91116742Ssamdevice cd0 #Only need one of these, the code dynamically grows 92138568Ssam 93116742Ssamdevice wt0 at isa? port 0x300 bio irq 5 drq 1 vector wtintr 94138568Ssamdevice mcd0 at isa? port 0x300 bio irq 10 vector mcdintr 95138568Ssam 96116742Ssamcontroller matcd0 at isa? port 0x230 bio 97116742Ssam 98148291Ssamdevice scd0 at isa? port 0x230 bio 99148290Ssam 100153349Ssam# syscons is the default console driver, resembling an SCO console 101154736Ssamdevice sc0 at isa? port "IO_KBD" tty irq 1 vector scintr 102153346Ssam# Enable this and PCVT_FREEBSD for pcvt vt220 compatible console driver 103127648Ssam#device vt0 at isa? port "IO_KBD" tty irq 1 vector pcrint 104138568Ssam#options XSERVER # support for X server 105116742Ssam#options FAT_CURSOR # start with block cursor 106138568Ssam# If you have a ThinkPAD, uncomment this along with the rest of the PCVT lines 107138568Ssam#options PCVT_SCANSET=2 # IBM keyboards are non-std 108138568Ssam 109121816Sbrooksdevice npx0 at isa? port "IO_NPX" irq 13 vector npxintr 110116742Ssam 111117811Ssam# 112117811Ssam# Laptop support (see LINT for more options) 113117811Ssam# 114116742Ssamdevice apm0 at isa? disable flags 0x31 # Advanced Power Management 115116742Ssam 116116742Ssam# PCCARD (PCMCIA) support 117116742Ssam#controller card0 118116742Ssam#device pcic0 at card? 119116742Ssam#device pcic1 at card? 120138568Ssam 121116742Ssamdevice sio0 at isa? port "IO_COM1" flags 0x10 tty irq 4 vector siointr 122116742Ssamdevice sio1 at isa? port "IO_COM2" tty irq 3 vector siointr 123138568Ssamdevice sio2 at isa? disable port "IO_COM3" tty irq 5 vector siointr 124138568Ssamdevice sio3 at isa? disable port "IO_COM4" tty irq 9 vector siointr 125138568Ssam 126138568Ssamdevice lpt0 at isa? port? tty irq 7 vector lptintr 127138568Ssamdevice lpt1 at isa? port? tty 128138568Ssamdevice mse0 at isa? port 0x23c tty irq 5 vector mseintr 129138568Ssam 130138568Ssamdevice psm0 at isa? port "IO_KBD" conflicts tty irq 12 vector psmintr 131116742Ssam 132116742Ssam# Order is important here due to intrusive probes, do *not* alphabetize 133138568Ssam# this list of network interfaces until the probes have been fixed. 134138568Ssam# Right now it appears that the ie0 must be probed before ep0. See 135138568Ssam# revision 1.20 of this file. 136138568Ssamdevice de0 137138568Ssamdevice fxp0 138138568Ssamdevice tl0 139116742Ssamdevice tx0 140116742Ssamdevice vx0 141138568Ssam 142138568Ssamdevice ed0 at isa? port 0x280 net irq 10 iomem 0xd8000 vector edintr 143138568Ssamdevice ie0 at isa? port 0x300 net irq 10 iomem 0xd0000 vector ieintr 144138568Ssamdevice ep0 at isa? port 0x300 net irq 10 vector epintr 145138568Ssamdevice ex0 at isa? port? net irq? vector exintr 146138568Ssamdevice fe0 at isa? port 0x300 net irq ? vector feintr 147138568Ssamdevice le0 at isa? port 0x300 net irq 5 iomem 0xd0000 vector le_intr 148138568Ssamdevice lnc0 at isa? port 0x280 net irq 10 drq 0 vector lncintr 149138568Ssamdevice ze0 at isa? port 0x300 net irq 10 iomem 0xd8000 vector zeintr 150138568Ssamdevice zp0 at isa? port 0x300 net irq 10 iomem 0xd8000 vector zpintr 151138568Ssam 152138568Ssampseudo-device loop 153138568Ssampseudo-device ether 154138568Ssampseudo-device sl 1 155138568Ssampseudo-device ppp 1 156138568Ssampseudo-device tun 1 157138568Ssampseudo-device pty 16 158138568Ssampseudo-device gzip # Exec gzipped a.out's 159138568Ssam 160138568Ssam# KTRACE enables the system-call tracing facility ktrace(2). 161138568Ssam# This adds 4 KB bloat to your kernel, and slightly increases 162138568Ssam# the costs of each syscall. 163138568Ssamoptions KTRACE #kernel tracing 164138568Ssam 165138568Ssam# This provides support for System V shared memory. 166138568Ssam# 167138568Ssamoptions SYSVSHM 168138568Ssam