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# 1423f7bd17SBrian Somers# $Id: GENERIC,v 1.162 1999/04/16 21:22:07 peter 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 2214b1f190SMike Smithmaxusers 32 23677060b4SPoul-Henning Kamp 2411290483SPeter Wemm#makeoptions DEBUG="-g" #Build kernel with gdb(1) debug symbols 2511290483SPeter Wemm 26cec9e91fSJustin T. Gibbsoptions MATH_EMULATE #Support for x87 emulation 27677060b4SPoul-Henning Kampoptions INET #InterNETworking 284525c93eSJordan K. Hubbardoptions FFS #Berkeley Fast Filesystem 297b778b5eSEivind Eklundoptions FFS_ROOT #FFS usable as root device [keep this!] 30cbe7e088SJordan K. Hubbardoptions MFS #Memory Filesystem 31cbe7e088SJordan K. Hubbardoptions MFS_ROOT #MFS usable as root device, "MFS" req'ed 32a788bdc4SDavid E. O'Brienoptions NFS #Network Filesystem 33a788bdc4SDavid E. O'Brienoptions NFS_ROOT #NFS usable as root device, "NFS" req'ed 34a788bdc4SDavid E. O'Brienoptions MSDOSFS #MSDOS Filesystem 35abd931ffSDavid E. O'Brienoptions "CD9660" #ISO 9660 Filesystem 36abd931ffSDavid E. O'Brienoptions "CD9660_ROOT" #CD-ROM usable as root. "CD9660" req'ed 37677060b4SPoul-Henning Kampoptions PROCFS #Process filesystem 3856c7a48cSJordan K. Hubbardoptions "COMPAT_43" #Compatible with BSD 4.3 [KEEP THIS!] 39700daf5eSJustin T. Gibbsoptions SCSI_DELAY=15000 #Be pessimistic about Joe SCSI device 400dd1eea1SJordan K. Hubbardoptions UCONSOLE #Allow users to grab the console 4125cf9d99SJordan K. Hubbardoptions FAILSAFE #Be conservative 4296fc6efbSPoul-Henning Kampoptions USERCONFIG #boot -c editor 4396fc6efbSPoul-Henning Kampoptions VISUAL_USERCONFIG #visual boot -c editor 44677060b4SPoul-Henning Kamp 45a401ebbeSDavid Greenmanconfig kernel root on wd0 46677060b4SPoul-Henning Kamp 478fab58d8SPoul-Henning Kamp# To make an SMP kernel, the next two are needed 488fab58d8SPoul-Henning Kamp#options SMP # Symmetric MultiProcessor Kernel 498fab58d8SPoul-Henning Kamp#options APIC_IO # Symmetric (APIC) I/O 508fab58d8SPoul-Henning Kamp# Optionally these may need tweaked, (defaults shown): 518fab58d8SPoul-Henning Kamp#options NCPU=2 # number of CPUs 528fab58d8SPoul-Henning Kamp#options NBUS=4 # number of busses 538fab58d8SPoul-Henning Kamp#options NAPIC=1 # number of IO APICs 548fab58d8SPoul-Henning Kamp#options NINTR=24 # number of INTs 558fab58d8SPoul-Henning Kamp 566182fdbdSPeter Wemmcontroller isa0 at nexus? 576182fdbdSPeter Wemm#controller pnp0 # PnP support for ISA 586182fdbdSPeter Wemm#controller eisa0 596182fdbdSPeter Wemmcontroller pci0 at nexus? 60677060b4SPoul-Henning Kamp 6178e33712SBruce Evanscontroller fdc0 at isa? port "IO_FD1" bio irq 6 drq 2 62677060b4SPoul-Henning Kampdisk fd0 at fdc0 drive 0 63677060b4SPoul-Henning Kampdisk fd1 at fdc0 drive 1 64677060b4SPoul-Henning Kamp 6578e33712SBruce Evanscontroller wdc0 at isa? port "IO_WD1" bio irq 14 66677060b4SPoul-Henning Kampdisk wd0 at wdc0 drive 0 67677060b4SPoul-Henning Kampdisk wd1 at wdc0 drive 1 68677060b4SPoul-Henning Kamp 6978e33712SBruce Evanscontroller wdc1 at isa? port "IO_WD2" bio irq 15 70677060b4SPoul-Henning Kampdisk wd2 at wdc1 drive 0 71677060b4SPoul-Henning Kampdisk wd3 at wdc1 drive 1 72677060b4SPoul-Henning Kamp 73d99434fbSSøren Schmidtdevice wcd0 #IDE CD-ROM 74aaf86206SPaul Trainadevice wfd0 #IDE Floppy (e.g. LS-120) 756788ce49SJordan K. Hubbard 7658371a7eSDavid E. O'Brien# A single entry for any of these controllers (ncr, ahb, ahc) is 7756ecc382SStefan Eßer# sufficient for any number of installed devices. 78677060b4SPoul-Henning Kampcontroller ncr0 79e56e7036SJustin T. Gibbscontroller ahb0 80451ab98fSJustin T. Gibbscontroller ahc0 818bafc245SMatt Jacobcontroller isp0 82677060b4SPoul-Henning Kamp 8310004708SJordan K. Hubbard# This controller offers a number of configuration options, too many to 8410004708SJordan K. Hubbard# document here - see the LINT file in this directory and look up the 856335d18eSJordan K. Hubbard# dpt0 entry there for much fuller documentation on this. 866335d18eSJordan K. Hubbardcontroller dpt0 8710004708SJordan K. Hubbard 88700daf5eSJustin T. Gibbscontroller adv0 at isa? port ? cam irq ? 89859244a6SJustin T. Gibbscontroller adw0 90700daf5eSJustin T. Gibbscontroller bt0 at isa? port ? cam irq ? 91700daf5eSJustin T. Gibbscontroller aha0 at isa? port ? cam irq ? 920dd1eea1SJordan K. Hubbard 93677060b4SPoul-Henning Kampcontroller scbus0 94677060b4SPoul-Henning Kamp 95700daf5eSJustin T. Gibbsdevice da0 96677060b4SPoul-Henning Kamp 97700daf5eSJustin T. Gibbsdevice sa0 9849bdb5b8SJoerg Wunsch 99700daf5eSJustin T. Gibbsdevice pass0 100677060b4SPoul-Henning Kamp 101677060b4SPoul-Henning Kampdevice cd0 #Only need one of these, the code dynamically grows 102677060b4SPoul-Henning Kamp 10378e33712SBruce Evansdevice wt0 at isa? port 0x300 bio irq 5 drq 1 10478e33712SBruce Evansdevice mcd0 at isa? port 0x300 bio irq 10 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 11023f7bd17SBrian Somers# atkbdc0 controls both the keyboard and the PS/2 mouse 1116182fdbdSPeter Wemmcontroller atkbdc0 at isa? port IO_KBD 1126182fdbdSPeter Wemmdevice atkbd0 at atkbdc? tty irq 1 1136182fdbdSPeter Wemmdevice psm0 at atkbdc? tty irq 12 1142ad872c5SKazutaka YOKOTA 1152ad872c5SKazutaka YOKOTAdevice vga0 at isa? port ? conflicts 1162ad872c5SKazutaka YOKOTA 1172ad872c5SKazutaka YOKOTA# splash screen/screen saver 1182ad872c5SKazutaka YOKOTApseudo-device splash 1192ad872c5SKazutaka YOKOTA 120c19da41eSPeter Wemm# syscons is the default console driver, resembling an SCO console 1212ad872c5SKazutaka YOKOTAdevice sc0 at isa? tty 122c19da41eSPeter Wemm# Enable this and PCVT_FREEBSD for pcvt vt220 compatible console driver 1232ad872c5SKazutaka YOKOTA#device vt0 at isa? tty 124c19da41eSPeter Wemm#options XSERVER # support for X server 125c19da41eSPeter Wemm#options FAT_CURSOR # start with block cursor 126c19da41eSPeter Wemm# If you have a ThinkPAD, uncomment this along with the rest of the PCVT lines 127c19da41eSPeter Wemm#options PCVT_SCANSET=2 # IBM keyboards are non-std 128c851c2f0SJoerg Wunsch 1296182fdbdSPeter Wemmdevice npx0 at nexus? port IO_NPX irq 13 130677060b4SPoul-Henning Kamp 131e597b497SNate Williams# 132e597b497SNate Williams# Laptop support (see LINT for more options) 133e597b497SNate Williams# 1346182fdbdSPeter Wemmdevice apm0 at nexus? disable flags 0x31 # Advanced Power Management 1353d4d8fe9SPoul-Henning Kamp 13692d38a13SNate Williams# PCCARD (PCMCIA) support 137e7e437dbSNate Williams#controller card0 138e7e437dbSNate Williams#device pcic0 at card? 139e7e437dbSNate Williams#device pcic1 at card? 140e597b497SNate Williams 14178e33712SBruce Evansdevice sio0 at isa? port "IO_COM1" flags 0x10 tty irq 4 14278e33712SBruce Evansdevice sio1 at isa? port "IO_COM2" tty irq 3 14378e33712SBruce Evansdevice sio2 at isa? disable port "IO_COM3" tty irq 5 14478e33712SBruce Evansdevice sio3 at isa? disable port "IO_COM4" tty irq 9 145677060b4SPoul-Henning Kamp 14604e83575SJoseph Koshy# Parallel port 147fdf94d1aSNicolas Souchudevice ppc0 at isa? port? tty irq 7 14804e83575SJoseph Koshycontroller ppbus0 1492402b9a1SDavid E. O'Briendevice lpt0 at ppbus? 150de7462baSDag-Erling Smørgravdevice plip0 at ppbus? 151de7462baSDag-Erling Smørgravdevice ppi0 at ppbus? 152de7462baSDag-Erling Smørgrav#controller vpo0 at ppbus? 153677060b4SPoul-Henning Kamp 15429c6a10bSGarrett Wollman# 15529c6a10bSGarrett Wollman# The following Ethernet NICs are all PCI devices. 15629c6a10bSGarrett Wollman# 15729c6a10bSGarrett Wollmandevice ax0 # ASIX AX88140A 15829c6a10bSGarrett Wollmandevice de0 # DEC/Intel DC21x4x (``Tulip'') 15929c6a10bSGarrett Wollmandevice fxp0 # Intel EtherExpress PRO/100B (82557, 82558) 16029c6a10bSGarrett Wollmandevice mx0 # Macronix 98713/98715/98725 (``PMAC'') 16129c6a10bSGarrett Wollmandevice pn0 # Lite-On 82c168/82c169 (``PNIC'') 16229c6a10bSGarrett Wollmandevice rl0 # RealTek 8129/8139 16329c6a10bSGarrett Wollmandevice tl0 # Texas Instruments ThunderLAN 16429c6a10bSGarrett Wollmandevice tx0 # SMC 9432TX (83c170 ``EPIC'') 16529c6a10bSGarrett Wollmandevice vr0 # VIA Rhine, Rhine II 16629c6a10bSGarrett Wollmandevice vx0 # 3Com 3c590, 3c595 (``Vortex'') 16729c6a10bSGarrett Wollmandevice wb0 # Winbond W89C840F 16829c6a10bSGarrett Wollmandevice xl0 # 3Com 3c90x (``Boomerang'', ``Cyclone'') 16929c6a10bSGarrett Wollman 170d3628763SRodney W. Grimes# Order is important here due to intrusive probes, do *not* alphabetize 171d3628763SRodney W. Grimes# this list of network interfaces until the probes have been fixed. 172d3628763SRodney W. Grimes# Right now it appears that the ie0 must be probed before ep0. See 173d3628763SRodney W. Grimes# revision 1.20 of this file. 17478e33712SBruce Evansdevice ed0 at isa? port 0x280 net irq 10 iomem 0xd8000 17578e33712SBruce Evansdevice ie0 at isa? port 0x300 net irq 10 iomem 0xd0000 17678e33712SBruce Evansdevice ep0 at isa? port 0x300 net irq 10 17778e33712SBruce Evansdevice ex0 at isa? port? net irq? 17878e33712SBruce Evansdevice fe0 at isa? port 0x300 net irq ? 17978e33712SBruce Evansdevice le0 at isa? port 0x300 net irq 5 iomem 0xd0000 18078e33712SBruce Evansdevice lnc0 at isa? port 0x280 net irq 10 drq 0 1816182fdbdSPeter Wemm#device ze0 at isa? port 0x300 net irq 10 iomem 0xd8000 1826182fdbdSPeter Wemm#device zp0 at isa? port 0x300 net irq 10 iomem 0xd8000 18378e33712SBruce Evansdevice cs0 at isa? port 0x300 net irq ? 184677060b4SPoul-Henning Kamp 185677060b4SPoul-Henning Kamppseudo-device loop 186677060b4SPoul-Henning Kamppseudo-device ether 18711af8962SJordan K. Hubbardpseudo-device sl 1 188efae35abSJordan K. Hubbardpseudo-device ppp 1 1899cfb8f7eSAtsushi Muraipseudo-device tun 1 190d3628763SRodney W. Grimespseudo-device pty 16 191d3628763SRodney W. Grimespseudo-device gzip # Exec gzipped a.out's 192c683ac7cSJoerg Wunsch 193c683ac7cSJoerg Wunsch# KTRACE enables the system-call tracing facility ktrace(2). 194c683ac7cSJoerg Wunsch# This adds 4 KB bloat to your kernel, and slightly increases 195c683ac7cSJoerg Wunsch# the costs of each syscall. 196c683ac7cSJoerg Wunschoptions KTRACE #kernel tracing 197c683ac7cSJoerg Wunsch 1987d0d5e18SJordan K. Hubbard# This provides support for System V shared memory and message queues. 19950c6520bSJordan K. Hubbard# 20050c6520bSJordan K. Hubbardoptions SYSVSHM 2017d0d5e18SJordan K. Hubbardoptions SYSVMSG 20224c38be4SJordan K. Hubbardoptions SYSVSEM 2037d0d5e18SJordan K. Hubbard 204d1436a88SDavid E. O'Brien 205fb46af4fSDag-Erling Smørgrav# The `bpfilter' pseudo-device enables the Berkeley Packet Filter. Be 206d1436a88SDavid E. O'Brien# aware of the legal and administrative consequences of enabling this 207d1436a88SDavid E. O'Brien# option. The number of devices determines the maximum number of 208d1436a88SDavid E. O'Brien# simultaneous BPF clients programs runnable. 209fb46af4fSDag-Erling Smørgrav#pseudo-device bpfilter 4 #Berkeley packet filter 2100cec007cSNick Hibma 2110cec007cSNick Hibma 2120cec007cSNick Hibma# USB support 2130cec007cSNick Hibma#controller uhci0 214a48e33e0SNick Hibma#controller ohci0 2150cec007cSNick Hibma#controller usb0 2160cec007cSNick Hibma# 2170cec007cSNick Hibma# for the moment we have to specify the priorities of the device 2180cec007cSNick Hibma# drivers explicitly by the ordering in the list below. This will 2190cec007cSNick Hibma# be changed in the future. 2200cec007cSNick Hibma# 2210cec007cSNick Hibma#device ums0 2220cec007cSNick Hibma#device ukbd0 2230cec007cSNick Hibma#device ulpt0 2241571f899SNick Hibma#device uhid0 2250cec007cSNick Hibma#device ugen0 226