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# 148fab58d8SPoul-Henning Kamp# $Id: GENERIC,v 1.137 1998/12/27 13:06:40 phk 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 24cec9e91fSJustin T. Gibbsoptions MATH_EMULATE #Support for x87 emulation 25677060b4SPoul-Henning Kampoptions INET #InterNETworking 264525c93eSJordan K. Hubbardoptions FFS #Berkeley Fast Filesystem 277b778b5eSEivind Eklundoptions FFS_ROOT #FFS usable as root device [keep this!] 28cbe7e088SJordan K. Hubbardoptions MFS #Memory Filesystem 29cbe7e088SJordan K. Hubbardoptions MFS_ROOT #MFS usable as root device, "MFS" req'ed 30a788bdc4SDavid E. O'Brienoptions NFS #Network Filesystem 31a788bdc4SDavid E. O'Brienoptions NFS_ROOT #NFS usable as root device, "NFS" req'ed 32a788bdc4SDavid E. O'Brienoptions MSDOSFS #MSDOS Filesystem 33abd931ffSDavid E. O'Brienoptions "CD9660" #ISO 9660 Filesystem 34abd931ffSDavid E. O'Brienoptions "CD9660_ROOT" #CD-ROM usable as root. "CD9660" req'ed 35677060b4SPoul-Henning Kampoptions PROCFS #Process filesystem 3656c7a48cSJordan K. Hubbardoptions "COMPAT_43" #Compatible with BSD 4.3 [KEEP THIS!] 37700daf5eSJustin T. Gibbsoptions SCSI_DELAY=15000 #Be pessimistic about Joe SCSI device 380dd1eea1SJordan K. Hubbardoptions UCONSOLE #Allow users to grab the console 3925cf9d99SJordan K. Hubbardoptions FAILSAFE #Be conservative 4096fc6efbSPoul-Henning Kampoptions USERCONFIG #boot -c editor 4196fc6efbSPoul-Henning Kampoptions VISUAL_USERCONFIG #visual boot -c editor 42677060b4SPoul-Henning Kamp 43a401ebbeSDavid Greenmanconfig kernel root on wd0 44677060b4SPoul-Henning Kamp 458fab58d8SPoul-Henning Kamp# To make an SMP kernel, the next two are needed 468fab58d8SPoul-Henning Kamp#options SMP # Symmetric MultiProcessor Kernel 478fab58d8SPoul-Henning Kamp#options APIC_IO # Symmetric (APIC) I/O 488fab58d8SPoul-Henning Kamp# Optionally these may need tweaked, (defaults shown): 498fab58d8SPoul-Henning Kamp#options NCPU=2 # number of CPUs 508fab58d8SPoul-Henning Kamp#options NBUS=4 # number of busses 518fab58d8SPoul-Henning Kamp#options NAPIC=1 # number of IO APICs 528fab58d8SPoul-Henning Kamp#options NINTR=24 # number of INTs 538fab58d8SPoul-Henning Kamp 54677060b4SPoul-Henning Kampcontroller isa0 55eeb706c0SJustin T. Gibbscontroller eisa0 56677060b4SPoul-Henning Kampcontroller pci0 57677060b4SPoul-Henning Kamp 5878e33712SBruce Evanscontroller fdc0 at isa? port "IO_FD1" bio irq 6 drq 2 59677060b4SPoul-Henning Kampdisk fd0 at fdc0 drive 0 60677060b4SPoul-Henning Kampdisk fd1 at fdc0 drive 1 61ccbe4f96SJoerg Wunsch# Unless you know very well what you're doing, leave ft0 at drive 2, or 62ccbe4f96SJoerg Wunsch# remove the line entirely if you don't need it. Trying to configure 63ccbe4f96SJoerg Wunsch# it on another unit might cause surprises, see PR kern/7176. 6449445644SJordan K. Hubbardtape ft0 at fdc0 drive 2 65677060b4SPoul-Henning Kamp 66a92a5c23SBruce Evansoptions "CMD640" # work around CMD640 chip deficiency 6778e33712SBruce Evanscontroller wdc0 at isa? port "IO_WD1" bio irq 14 68677060b4SPoul-Henning Kampdisk wd0 at wdc0 drive 0 69677060b4SPoul-Henning Kampdisk wd1 at wdc0 drive 1 70677060b4SPoul-Henning Kamp 7178e33712SBruce Evanscontroller wdc1 at isa? port "IO_WD2" bio irq 15 72677060b4SPoul-Henning Kampdisk wd2 at wdc1 drive 0 73677060b4SPoul-Henning Kampdisk wd3 at wdc1 drive 1 74677060b4SPoul-Henning Kamp 75cec9e91fSJustin T. Gibbsoptions ATAPI #Enable ATAPI support for IDE bus 76cec9e91fSJustin T. Gibbsoptions ATAPI_STATIC #Don't do it as an LKM 77cec9e91fSJustin T. Gibbsdevice wcd0 #IDE CD-ROM 78aaf86206SPaul Trainadevice wfd0 #IDE Floppy (e.g. LS-120) 796788ce49SJordan K. Hubbard 8058371a7eSDavid E. O'Brien# A single entry for any of these controllers (ncr, ahb, ahc) is 8156ecc382SStefan Eßer# sufficient for any number of installed devices. 82677060b4SPoul-Henning Kampcontroller ncr0 83e56e7036SJustin T. Gibbscontroller ahb0 84451ab98fSJustin T. Gibbscontroller ahc0 858bafc245SMatt Jacobcontroller isp0 86677060b4SPoul-Henning Kamp 8710004708SJordan K. Hubbard# This controller offers a number of configuration options, too many to 8810004708SJordan K. Hubbard# document here - see the LINT file in this directory and look up the 896335d18eSJordan K. Hubbard# dpt0 entry there for much fuller documentation on this. 906335d18eSJordan K. Hubbardcontroller dpt0 9110004708SJordan K. Hubbard 92700daf5eSJustin T. Gibbscontroller adv0 at isa? port ? cam irq ? 93859244a6SJustin T. Gibbscontroller adw0 94700daf5eSJustin T. Gibbscontroller bt0 at isa? port ? cam irq ? 95700daf5eSJustin T. Gibbscontroller aha0 at isa? port ? cam irq ? 9678e33712SBruce Evans#controller aic0 at isa? port 0x340 bio irq 11 970dd1eea1SJordan K. Hubbard 98677060b4SPoul-Henning Kampcontroller scbus0 99677060b4SPoul-Henning Kamp 100700daf5eSJustin T. Gibbsdevice da0 101677060b4SPoul-Henning Kamp 102700daf5eSJustin T. Gibbsdevice sa0 10349bdb5b8SJoerg Wunsch 104700daf5eSJustin T. Gibbsdevice pass0 105677060b4SPoul-Henning Kamp 106677060b4SPoul-Henning Kampdevice cd0 #Only need one of these, the code dynamically grows 107677060b4SPoul-Henning Kamp 10878e33712SBruce Evansdevice wt0 at isa? port 0x300 bio irq 5 drq 1 10978e33712SBruce Evansdevice mcd0 at isa? port 0x300 bio irq 10 110677060b4SPoul-Henning Kamp 1119720b084SJordan K. Hubbardcontroller matcd0 at isa? port 0x230 bio 11205e1d9d4SJordan K. Hubbard 113f1780a6cSJordan K. Hubbarddevice scd0 at isa? port 0x230 bio 114f1780a6cSJordan K. Hubbard 1154a04f6f6SBruce Evansdevice sc0 at isa? port IO_KBD conflicts tty irq 1 116c851c2f0SJoerg Wunsch 1174a04f6f6SBruce Evansdevice npx0 at isa? port IO_NPX irq 13 118677060b4SPoul-Henning Kamp 119e597b497SNate Williams# 120e597b497SNate Williams# Laptop support (see LINT for more options) 121e597b497SNate Williams# 1223d4d8fe9SPoul-Henning Kampdevice apm0 at isa? disable flags 0x31 # Advanced Power Management 1233d4d8fe9SPoul-Henning Kamp 12492d38a13SNate Williams# PCCARD (PCMCIA) support 125e7e437dbSNate Williams#controller card0 126e7e437dbSNate Williams#device pcic0 at card? 127e7e437dbSNate Williams#device pcic1 at card? 128e597b497SNate Williams 12978e33712SBruce Evansdevice sio0 at isa? port "IO_COM1" flags 0x10 tty irq 4 13078e33712SBruce Evansdevice sio1 at isa? port "IO_COM2" tty irq 3 13178e33712SBruce Evansdevice sio2 at isa? disable port "IO_COM3" tty irq 5 13278e33712SBruce Evansdevice sio3 at isa? disable port "IO_COM4" tty irq 9 133677060b4SPoul-Henning Kamp 13478e33712SBruce Evansdevice lpt0 at isa? port? tty irq 7 135677060b4SPoul-Henning Kamp 1364a04f6f6SBruce Evansdevice psm0 at isa? port IO_KBD conflicts tty irq 12 1376bb76283SNate Williams 138d3628763SRodney W. Grimes# Order is important here due to intrusive probes, do *not* alphabetize 139d3628763SRodney W. Grimes# this list of network interfaces until the probes have been fixed. 140d3628763SRodney W. Grimes# Right now it appears that the ie0 must be probed before ep0. See 141d3628763SRodney W. Grimes# revision 1.20 of this file. 142cec9e91fSJustin T. Gibbsdevice de0 143cec9e91fSJustin T. Gibbsdevice fxp0 144726ff6a1SBill Pauldevice mx0 145726ff6a1SBill Pauldevice pn0 146589e38a6SBill Pauldevice rl0 147e21faf3eSBill Pauldevice tl0 148ec4f65d2SJordan K. Hubbarddevice tx0 149726ff6a1SBill Pauldevice vr0 150cec9e91fSJustin T. Gibbsdevice vx0 151726ff6a1SBill Pauldevice wb0 152c7e2a132SBruce Evansdevice xl0 15351fa90c5SJordan K. Hubbard 15478e33712SBruce Evansdevice ed0 at isa? port 0x280 net irq 10 iomem 0xd8000 15578e33712SBruce Evansdevice ie0 at isa? port 0x300 net irq 10 iomem 0xd0000 15678e33712SBruce Evansdevice ep0 at isa? port 0x300 net irq 10 15778e33712SBruce Evansdevice ex0 at isa? port? net irq? 15878e33712SBruce Evansdevice fe0 at isa? port 0x300 net irq ? 15978e33712SBruce Evansdevice le0 at isa? port 0x300 net irq 5 iomem 0xd0000 16078e33712SBruce Evansdevice lnc0 at isa? port 0x280 net irq 10 drq 0 16178e33712SBruce Evansdevice ze0 at isa? port 0x300 net irq 10 iomem 0xd8000 16278e33712SBruce Evansdevice zp0 at isa? port 0x300 net irq 10 iomem 0xd8000 16378e33712SBruce Evansdevice cs0 at isa? port 0x300 net irq ? 164677060b4SPoul-Henning Kamp 165677060b4SPoul-Henning Kamppseudo-device loop 166677060b4SPoul-Henning Kamppseudo-device ether 16711af8962SJordan K. Hubbardpseudo-device sl 1 168efae35abSJordan K. Hubbardpseudo-device ppp 1 1699cfb8f7eSAtsushi Muraipseudo-device tun 1 170d3628763SRodney W. Grimespseudo-device pty 16 171d3628763SRodney W. Grimespseudo-device gzip # Exec gzipped a.out's 172c683ac7cSJoerg Wunsch 173c683ac7cSJoerg Wunsch# KTRACE enables the system-call tracing facility ktrace(2). 174c683ac7cSJoerg Wunsch# This adds 4 KB bloat to your kernel, and slightly increases 175c683ac7cSJoerg Wunsch# the costs of each syscall. 176c683ac7cSJoerg Wunschoptions KTRACE #kernel tracing 177c683ac7cSJoerg Wunsch 17850c6520bSJordan K. Hubbard# This provides support for System V shared memory. 17950c6520bSJordan K. Hubbard# 18050c6520bSJordan K. Hubbardoptions SYSVSHM 181d1436a88SDavid E. O'Brien 182fb46af4fSDag-Erling Smørgrav# The `bpfilter' pseudo-device enables the Berkeley Packet Filter. Be 183d1436a88SDavid E. O'Brien# aware of the legal and administrative consequences of enabling this 184d1436a88SDavid E. O'Brien# option. The number of devices determines the maximum number of 185d1436a88SDavid E. O'Brien# simultaneous BPF clients programs runnable. 186fb46af4fSDag-Erling Smørgrav#pseudo-device bpfilter 4 #Berkeley packet filter 1870cec007cSNick Hibma 1880cec007cSNick Hibma 1890cec007cSNick Hibma# USB support 1900cec007cSNick Hibma#controller uhci0 191a48e33e0SNick Hibma#controller ohci0 1920cec007cSNick Hibma#controller usb0 1930cec007cSNick Hibma# 1940cec007cSNick Hibma# for the moment we have to specify the priorities of the device 1950cec007cSNick Hibma# drivers explicitly by the ordering in the list below. This will 1960cec007cSNick Hibma# be changed in the future. 1970cec007cSNick Hibma# 1980cec007cSNick Hibma#device ums0 1990cec007cSNick Hibma#device ukbd0 2000cec007cSNick Hibma#device ulpt0 2010cec007cSNick Hibma#device uhub0 202eca58e5eSNick Hibma#device ucom0 203eca58e5eSNick Hibma#device umodem0 2040cec007cSNick Hibma#device hid0 2050cec007cSNick Hibma#device ugen0 206eca58e5eSNick Hibma 2070cec007cSNick Hibma# 2080cec007cSNick Hibma#options USB_DEBUG 2090cec007cSNick Hibma#options USBVERBOSE 210