1677060b4SPoul-Henning Kamp# 297555463SGary Palmer# GENERIC -- Generic machine with WD/AHx/NCR/BTx family disks 3677060b4SPoul-Henning Kamp# 48830dd31SWolfram Schneider# For more information read the handbook part System Administration -> 58830dd31SWolfram Schneider# Configuring the FreeBSD Kernel -> The Configuration File. 68830dd31SWolfram Schneider# The handbook is available in /usr/share/doc/handbook or online as 78830dd31SWolfram Schneider# latest version from the FreeBSD World Wide Web server 88830dd31SWolfram Schneider# <URL:http://www.FreeBSD.ORG/> 9677060b4SPoul-Henning Kamp# 108830dd31SWolfram Schneider# An exhaustive list of options and more detailed explanations of the 118830dd31SWolfram Schneider# device lines is present in the ./LINT configuration file. If you are 128830dd31SWolfram Schneider# in doubt as to the purpose or necessity of a line, check first in LINT. 138830dd31SWolfram Schneider# 14c7e2a132SBruce Evans# $Id: GENERIC,v 1.113 1998/08/16 17:14:59 wpaul Exp $ 15677060b4SPoul-Henning Kamp 16677060b4SPoul-Henning Kampmachine "i386" 17677060b4SPoul-Henning Kampcpu "I386_CPU" 18677060b4SPoul-Henning Kampcpu "I486_CPU" 19677060b4SPoul-Henning Kampcpu "I586_CPU" 207059cdf2SDavid Greenmancpu "I686_CPU" 21677060b4SPoul-Henning Kampident GENERIC 22677060b4SPoul-Henning Kampmaxusers 10 23677060b4SPoul-Henning Kamp 24cec9e91fSJustin T. Gibbsoptions MATH_EMULATE #Support for x87 emulation 25677060b4SPoul-Henning Kampoptions INET #InterNETworking 264525c93eSJordan K. Hubbardoptions FFS #Berkeley Fast Filesystem 27b4e5146fSPoul-Henning Kampoptions NFS #Network Filesystem 284525c93eSJordan K. Hubbardoptions MSDOSFS #MSDOS Filesystem 292405ced3SJordan K. Hubbardoptions "CD9660" #ISO 9660 Filesystem 307b778b5eSEivind Eklundoptions "CD9660_ROOT" #CD-ROM usable as root device 317b778b5eSEivind Eklundoptions FFS_ROOT #FFS usable as root device [keep this!] 327b778b5eSEivind Eklundoptions NFS_ROOT #NFS usable as root device 33677060b4SPoul-Henning Kampoptions PROCFS #Process filesystem 3456c7a48cSJordan K. Hubbardoptions "COMPAT_43" #Compatible with BSD 4.3 [KEEP THIS!] 35b1529bdaSPeter Wemmoptions SCSI_DELAY=15 #Be pessimistic about Joe SCSI device 36677060b4SPoul-Henning Kampoptions BOUNCE_BUFFERS #include support for DMA bounce buffers 370dd1eea1SJordan K. Hubbardoptions UCONSOLE #Allow users to grab the console 3825cf9d99SJordan K. Hubbardoptions FAILSAFE #Be conservative 3996fc6efbSPoul-Henning Kampoptions USERCONFIG #boot -c editor 4096fc6efbSPoul-Henning Kampoptions VISUAL_USERCONFIG #visual boot -c editor 41677060b4SPoul-Henning Kamp 42a401ebbeSDavid Greenmanconfig kernel root on wd0 43677060b4SPoul-Henning Kamp 44677060b4SPoul-Henning Kampcontroller isa0 45eeb706c0SJustin T. Gibbscontroller eisa0 46677060b4SPoul-Henning Kampcontroller pci0 47677060b4SPoul-Henning Kamp 48677060b4SPoul-Henning Kampcontroller fdc0 at isa? port "IO_FD1" bio irq 6 drq 2 vector fdintr 49677060b4SPoul-Henning Kampdisk fd0 at fdc0 drive 0 50677060b4SPoul-Henning Kampdisk fd1 at fdc0 drive 1 51ccbe4f96SJoerg Wunsch# Unless you know very well what you're doing, leave ft0 at drive 2, or 52ccbe4f96SJoerg Wunsch# remove the line entirely if you don't need it. Trying to configure 53ccbe4f96SJoerg Wunsch# it on another unit might cause surprises, see PR kern/7176. 5449445644SJordan K. Hubbardtape ft0 at fdc0 drive 2 55677060b4SPoul-Henning Kamp 56a92a5c23SBruce Evansoptions "CMD640" # work around CMD640 chip deficiency 57677060b4SPoul-Henning Kampcontroller wdc0 at isa? port "IO_WD1" bio irq 14 vector wdintr 58677060b4SPoul-Henning Kampdisk wd0 at wdc0 drive 0 59677060b4SPoul-Henning Kampdisk wd1 at wdc0 drive 1 60677060b4SPoul-Henning Kamp 61677060b4SPoul-Henning Kampcontroller wdc1 at isa? port "IO_WD2" bio irq 15 vector wdintr 62677060b4SPoul-Henning Kampdisk wd2 at wdc1 drive 0 63677060b4SPoul-Henning Kampdisk wd3 at wdc1 drive 1 64677060b4SPoul-Henning Kamp 65cec9e91fSJustin T. Gibbsoptions ATAPI #Enable ATAPI support for IDE bus 66cec9e91fSJustin T. Gibbsoptions ATAPI_STATIC #Don't do it as an LKM 67cec9e91fSJustin T. Gibbsdevice wcd0 #IDE CD-ROM 68aaf86206SPaul Trainadevice wfd0 #IDE Floppy (e.g. LS-120) 696788ce49SJordan K. Hubbard 7056ecc382SStefan Eßer# A single entry for any of these controllers (ncr, ahb, ahc, amd) is 7156ecc382SStefan Eßer# sufficient for any number of installed devices. 72677060b4SPoul-Henning Kampcontroller ncr0 7356ecc382SStefan Eßercontroller amd0 74e56e7036SJustin T. Gibbscontroller ahb0 75451ab98fSJustin T. Gibbscontroller ahc0 768bafc245SMatt Jacobcontroller isp0 77677060b4SPoul-Henning Kamp 7810004708SJordan K. Hubbard# This controller offers a number of configuration options, too many to 7910004708SJordan K. Hubbard# document here - see the LINT file in this directory and look up the 8010004708SJordan K. Hubbard# dpt0 entry there for much fuller documentation on this. The options 8110004708SJordan K. Hubbard# line following dpt0 here is also currently a *required* option for it. 8210004708SJordan K. Hubbardcontroller dpt0 8310004708SJordan K. Hubbardoptions DPT_MEASURE_PERFORMANCE 8410004708SJordan K. Hubbard 85a1d01dafSJustin T. Gibbscontroller bt0 at isa? port "IO_BT0" bio irq ? vector bt_isa_intr 86cbb8b164SJustin T. Gibbscontroller uha0 at isa? port "IO_UHA0" bio irq ? drq 5 vector uhaintr 87c47b6376SPoul-Henning Kampcontroller aha0 at isa? port "IO_AHA0" bio irq ? drq 5 vector ahaintr 88677060b4SPoul-Henning Kampcontroller aic0 at isa? port 0x340 bio irq 11 vector aicintr 89e05407d8SPoul-Henning Kampcontroller nca0 at isa? port 0x1f88 bio irq 10 vector ncaintr 90e05407d8SPoul-Henning Kampcontroller nca1 at isa? port 0x350 bio irq 5 vector ncaintr 913c43212aSSøren Schmidtcontroller sea0 at isa? bio irq 5 iomem 0xc8000 iosiz 0x2000 vector seaintr 920dd1eea1SJordan K. Hubbard 93677060b4SPoul-Henning Kampcontroller scbus0 94677060b4SPoul-Henning Kamp 95677060b4SPoul-Henning Kampdevice sd0 96677060b4SPoul-Henning Kamp 9793063432SJoerg Wunschdevice od0 #See LINT for possible `od' options. 9849bdb5b8SJoerg Wunsch 99677060b4SPoul-Henning Kampdevice st0 100677060b4SPoul-Henning Kamp 101677060b4SPoul-Henning Kampdevice cd0 #Only need one of these, the code dynamically grows 102677060b4SPoul-Henning Kamp 103677060b4SPoul-Henning Kampdevice wt0 at isa? port 0x300 bio irq 5 drq 1 vector wtintr 104677060b4SPoul-Henning Kampdevice mcd0 at isa? port 0x300 bio irq 10 vector mcdintr 105677060b4SPoul-Henning Kamp 1069720b084SJordan K. Hubbardcontroller matcd0 at isa? port 0x230 bio 10705e1d9d4SJordan K. Hubbard 108f1780a6cSJordan K. Hubbarddevice scd0 at isa? port 0x230 bio 109f1780a6cSJordan K. Hubbard 110c851c2f0SJoerg Wunsch# syscons is the default console driver, resembling an SCO console 111677060b4SPoul-Henning Kampdevice sc0 at isa? port "IO_KBD" tty irq 1 vector scintr 112c851c2f0SJoerg Wunsch# Enable this and PCVT_FREEBSD for pcvt vt220 compatible console driver 113c851c2f0SJoerg Wunsch#device vt0 at isa? port "IO_KBD" tty irq 1 vector pcrint 114818de095SJordan K. Hubbard#options XSERVER # support for X server 115174f8afaSBruce Evans#options FAT_CURSOR # start with block cursor 116e9aaac99SNate Williams# If you have a ThinkPAD, uncomment this along with the rest of the PCVT lines 117b1529bdaSPeter Wemm#options PCVT_SCANSET=2 # IBM keyboards are non-std 118c851c2f0SJoerg Wunsch 119677060b4SPoul-Henning Kampdevice npx0 at isa? port "IO_NPX" irq 13 vector npxintr 120677060b4SPoul-Henning Kamp 121e597b497SNate Williams# 122e597b497SNate Williams# Laptop support (see LINT for more options) 123e597b497SNate Williams# 1243d4d8fe9SPoul-Henning Kampdevice apm0 at isa? disable flags 0x31 # Advanced Power Management 1253d4d8fe9SPoul-Henning Kamp 12692d38a13SNate Williams# PCCARD (PCMCIA) support 127e7e437dbSNate Williams#controller card0 128e7e437dbSNate Williams#device pcic0 at card? 129e7e437dbSNate Williams#device pcic1 at card? 130e597b497SNate Williams 131755b925eSJoerg Wunschdevice sio0 at isa? port "IO_COM1" flags 0x10 tty irq 4 vector siointr 132677060b4SPoul-Henning Kampdevice sio1 at isa? port "IO_COM2" tty irq 3 vector siointr 1330375cce8SJordan K. Hubbarddevice sio2 at isa? disable port "IO_COM3" tty irq 5 vector siointr 1340375cce8SJordan K. Hubbarddevice sio3 at isa? disable port "IO_COM4" tty irq 9 vector siointr 135677060b4SPoul-Henning Kamp 136677060b4SPoul-Henning Kampdevice lpt0 at isa? port? tty irq 7 vector lptintr 137677060b4SPoul-Henning Kampdevice lpt1 at isa? port? tty 138cec9e91fSJustin T. Gibbsdevice mse0 at isa? port 0x23c tty irq 5 vector mseintr 139677060b4SPoul-Henning Kamp 1409e5fbad4SNate Williamsdevice psm0 at isa? port "IO_KBD" conflicts tty irq 12 vector psmintr 1416bb76283SNate Williams 142d3628763SRodney W. Grimes# Order is important here due to intrusive probes, do *not* alphabetize 143d3628763SRodney W. Grimes# this list of network interfaces until the probes have been fixed. 144d3628763SRodney W. Grimes# Right now it appears that the ie0 must be probed before ep0. See 145d3628763SRodney W. Grimes# revision 1.20 of this file. 146cec9e91fSJustin T. Gibbsdevice de0 147cec9e91fSJustin T. Gibbsdevice fxp0 148e21faf3eSBill Pauldevice tl0 149ec4f65d2SJordan K. Hubbarddevice tx0 150cec9e91fSJustin T. Gibbsdevice vx0 151c7e2a132SBruce Evansdevice xl0 15251fa90c5SJordan K. Hubbard 153cec9e91fSJustin T. Gibbsdevice ed0 at isa? port 0x280 net irq 10 iomem 0xd8000 vector edintr 154cec9e91fSJustin T. Gibbsdevice ie0 at isa? port 0x300 net irq 10 iomem 0xd0000 vector ieintr 155d3628763SRodney W. Grimesdevice ep0 at isa? port 0x300 net irq 10 vector epintr 156cec9e91fSJustin T. Gibbsdevice ex0 at isa? port? net irq? vector exintr 157cec9e91fSJustin T. Gibbsdevice fe0 at isa? port 0x300 net irq ? vector feintr 158cec9e91fSJustin T. Gibbsdevice le0 at isa? port 0x300 net irq 5 iomem 0xd0000 vector le_intr 159cec9e91fSJustin T. Gibbsdevice lnc0 at isa? port 0x280 net irq 10 drq 0 vector lncintr 160cec9e91fSJustin T. Gibbsdevice ze0 at isa? port 0x300 net irq 10 iomem 0xd8000 vector zeintr 161cec9e91fSJustin T. Gibbsdevice zp0 at isa? port 0x300 net irq 10 iomem 0xd8000 vector zpintr 162b16d163dSMike Smithdevice cs0 at isa? port 0x300 net irq ? vector csintr 163677060b4SPoul-Henning Kamp 164677060b4SPoul-Henning Kamppseudo-device loop 165677060b4SPoul-Henning Kamppseudo-device ether 16611af8962SJordan K. Hubbardpseudo-device sl 1 167efae35abSJordan K. Hubbardpseudo-device ppp 1 1689cfb8f7eSAtsushi Muraipseudo-device tun 1 169d3628763SRodney W. Grimespseudo-device pty 16 170d3628763SRodney W. Grimespseudo-device gzip # Exec gzipped a.out's 171c683ac7cSJoerg Wunsch 172c683ac7cSJoerg Wunsch# KTRACE enables the system-call tracing facility ktrace(2). 173c683ac7cSJoerg Wunsch# This adds 4 KB bloat to your kernel, and slightly increases 174c683ac7cSJoerg Wunsch# the costs of each syscall. 175c683ac7cSJoerg Wunschoptions KTRACE #kernel tracing 176c683ac7cSJoerg Wunsch 17750c6520bSJordan K. Hubbard# This provides support for System V shared memory. 17850c6520bSJordan K. Hubbard# 17950c6520bSJordan K. Hubbardoptions SYSVSHM 180