GENERIC revision 32726
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.104 1998/01/21 18:34:44 jkh Exp $ 15 16machine "i386" 17cpu "I386_CPU" 18cpu "I486_CPU" 19cpu "I586_CPU" 20cpu "I686_CPU" 21ident GENERIC 22maxusers 10 23 24options MATH_EMULATE #Support for x87 emulation 25options INET #InterNETworking 26options FFS #Berkeley Fast Filesystem 27options NFS #Network Filesystem 28options MSDOSFS #MSDOS Filesystem 29options "CD9660" #ISO 9660 Filesystem 30options "CD9660_ROOT" #CD-ROM usable as root device 31options FFS_ROOT #FFS usable as root device [keep this!] 32options NFS_ROOT #NFS usable as root device 33options PROCFS #Process filesystem 34options "COMPAT_43" #Compatible with BSD 4.3 [KEEP THIS!] 35options SCSI_DELAY=15 #Be pessimistic about Joe SCSI device 36options BOUNCE_BUFFERS #include support for DMA bounce buffers 37options UCONSOLE #Allow users to grab the console 38options FAILSAFE #Be conservative 39options USERCONFIG #boot -c editor 40options VISUAL_USERCONFIG #visual boot -c editor 41 42config kernel root on wd0 43 44controller isa0 45controller eisa0 46controller pci0 47 48controller fdc0 at isa? port "IO_FD1" bio irq 6 drq 2 vector fdintr 49disk fd0 at fdc0 drive 0 50disk fd1 at fdc0 drive 1 51tape ft0 at fdc0 drive 2 52 53options "CMD640" # work around CMD640 chip deficiency 54controller wdc0 at isa? port "IO_WD1" bio irq 14 vector wdintr 55disk wd0 at wdc0 drive 0 56disk wd1 at wdc0 drive 1 57 58controller wdc1 at isa? port "IO_WD2" bio irq 15 vector wdintr 59disk wd2 at wdc1 drive 0 60disk wd3 at wdc1 drive 1 61 62options ATAPI #Enable ATAPI support for IDE bus 63options ATAPI_STATIC #Don't do it as an LKM 64device wcd0 #IDE CD-ROM 65device wfd0 #IDE Floppy (e.g. LS-120) 66 67# A single entry for any of these controllers (ncr, ahb, ahc, amd) is 68# sufficient for any number of installed devices. 69controller ncr0 70controller amd0 71controller ahb0 72controller ahc0 73 74controller bt0 at isa? port "IO_BT0" bio irq ? vector bt_isa_intr 75controller uha0 at isa? port "IO_UHA0" bio irq ? drq 5 vector uhaintr 76controller aha0 at isa? port "IO_AHA0" bio irq ? drq 5 vector ahaintr 77controller aic0 at isa? port 0x340 bio irq 11 vector aicintr 78controller nca0 at isa? port 0x1f88 bio irq 10 vector ncaintr 79controller nca1 at isa? port 0x350 bio irq 5 vector ncaintr 80controller sea0 at isa? bio irq 5 iomem 0xc8000 iosiz 0x2000 vector seaintr 81 82controller scbus0 83 84device sd0 85 86device od0 #See LINT for possible `od' options. 87 88device st0 89 90device cd0 #Only need one of these, the code dynamically grows 91 92device wt0 at isa? port 0x300 bio irq 5 drq 1 vector wtintr 93device mcd0 at isa? port 0x300 bio irq 10 vector mcdintr 94 95controller matcd0 at isa? port 0x230 bio 96 97device scd0 at isa? port 0x230 bio 98 99# syscons is the default console driver, resembling an SCO console 100device sc0 at isa? port "IO_KBD" tty irq 1 vector scintr 101# Enable this and PCVT_FREEBSD for pcvt vt220 compatible console driver 102#device vt0 at isa? port "IO_KBD" tty irq 1 vector pcrint 103#options XSERVER # support for X server 104#options FAT_CURSOR # start with block cursor 105# If you have a ThinkPAD, uncomment this along with the rest of the PCVT lines 106#options PCVT_SCANSET=2 # IBM keyboards are non-std 107 108device npx0 at isa? port "IO_NPX" irq 13 vector npxintr 109 110# 111# Laptop support (see LINT for more options) 112# 113device apm0 at isa? disable flags 0x31 # Advanced Power Management 114 115# PCCARD (PCMCIA) support 116#controller card0 117#device pcic0 at card? 118#device pcic1 at card? 119 120device sio0 at isa? port "IO_COM1" flags 0x10 tty irq 4 vector siointr 121device sio1 at isa? port "IO_COM2" tty irq 3 vector siointr 122device sio2 at isa? disable port "IO_COM3" tty irq 5 vector siointr 123device sio3 at isa? disable port "IO_COM4" tty irq 9 vector siointr 124 125device lpt0 at isa? port? tty irq 7 vector lptintr 126device lpt1 at isa? port? tty 127device mse0 at isa? port 0x23c tty irq 5 vector mseintr 128 129device psm0 at isa? port "IO_KBD" conflicts tty irq 12 vector psmintr 130 131# Order is important here due to intrusive probes, do *not* alphabetize 132# this list of network interfaces until the probes have been fixed. 133# Right now it appears that the ie0 must be probed before ep0. See 134# revision 1.20 of this file. 135device de0 136device fxp0 137device tx0 138device vx0 139 140device ed0 at isa? port 0x280 net irq 10 iomem 0xd8000 vector edintr 141device ie0 at isa? port 0x300 net irq 10 iomem 0xd0000 vector ieintr 142device ep0 at isa? port 0x300 net irq 10 vector epintr 143device ex0 at isa? port? net irq? vector exintr 144device fe0 at isa? port 0x300 net irq ? vector feintr 145device le0 at isa? port 0x300 net irq 5 iomem 0xd0000 vector le_intr 146device lnc0 at isa? port 0x280 net irq 10 drq 0 vector lncintr 147device ze0 at isa? port 0x300 net irq 10 iomem 0xd8000 vector zeintr 148device zp0 at isa? port 0x300 net irq 10 iomem 0xd8000 vector zpintr 149 150pseudo-device loop 151pseudo-device ether 152pseudo-device sl 1 153pseudo-device ppp 1 154pseudo-device tun 1 155pseudo-device pty 16 156pseudo-device gzip # Exec gzipped a.out's 157 158# KTRACE enables the system-call tracing facility ktrace(2). 159# This adds 4 KB bloat to your kernel, and slightly increases 160# the costs of each syscall. 161options KTRACE #kernel tracing 162 163# This provides support for System V shared memory. 164# 165options SYSVSHM 166