GENERIC revision 42079
1227569Sphilip# 2301388Sarybchik# GENERIC -- Generic machine with WD/AHx/NCR/BTx family disks 3227569Sphilip# 4227569Sphilip# For more information read the handbook part System Administration -> 5227569Sphilip# Configuring the FreeBSD Kernel -> The Configuration File. 6227569Sphilip# The handbook is available in /usr/share/doc/handbook or online as 7227569Sphilip# latest version from the FreeBSD World Wide Web server 8227569Sphilip# <URL:http://www.FreeBSD.ORG/> 9284555Sarybchik# 10227569Sphilip# An exhaustive list of options and more detailed explanations of the 11284555Sarybchik# device lines is present in the ./LINT configuration file. If you are 12284555Sarybchik# in doubt as to the purpose or necessity of a line, check first in LINT. 13284555Sarybchik# 14284555Sarybchik# $Id: GENERIC,v 1.136 1998/12/27 12:52:45 phk Exp $ 15284555Sarybchik 16284555Sarybchikmachine "i386" 17284555Sarybchikcpu "I386_CPU" 18284555Sarybchikcpu "I486_CPU" 19284555Sarybchikcpu "I586_CPU" 20284555Sarybchikcpu "I686_CPU" 21284555Sarybchikident GENERIC 22284555Sarybchikmaxusers 32 23284555Sarybchik 24284555Sarybchikoptions MATH_EMULATE #Support for x87 emulation 25284555Sarybchikoptions INET #InterNETworking 26284555Sarybchikoptions FFS #Berkeley Fast Filesystem 27284555Sarybchikoptions FFS_ROOT #FFS usable as root device [keep this!] 28284555Sarybchikoptions MFS #Memory Filesystem 29284555Sarybchikoptions MFS_ROOT #MFS usable as root device, "MFS" req'ed 30284555Sarybchikoptions NFS #Network Filesystem 31284555Sarybchikoptions NFS_ROOT #NFS usable as root device, "NFS" req'ed 32227569Sphilipoptions MSDOSFS #MSDOS Filesystem 33227569Sphilipoptions "CD9660" #ISO 9660 Filesystem 34227569Sphilipoptions "CD9660_ROOT" #CD-ROM usable as root. "CD9660" req'ed 35227569Sphilipoptions PROCFS #Process filesystem 36227569Sphilipoptions "COMPAT_43" #Compatible with BSD 4.3 [KEEP THIS!] 37227569Sphilipoptions SCSI_DELAY=15000 #Be pessimistic about Joe SCSI device 38227569Sphilipoptions UCONSOLE #Allow users to grab the console 39227569Sphilipoptions FAILSAFE #Be conservative 40227569Sphilipoptions USERCONFIG #boot -c editor 41227569Sphilipoptions VISUAL_USERCONFIG #visual boot -c editor 42284555Sarybchik 43227569Sphilipconfig kernel root on wd0 44280599Sarybchik 45227569Sphilipcontroller isa0 46227569Sphilipcontroller eisa0 47227569Sphilipcontroller pci0 48227569Sphilip 49227569Sphilipcontroller fdc0 at isa? port "IO_FD1" bio irq 6 drq 2 50227569Sphilipdisk fd0 at fdc0 drive 0 51227569Sphilipdisk fd1 at fdc0 drive 1 52227569Sphilip# Unless you know very well what you're doing, leave ft0 at drive 2, or 53227569Sphilip# remove the line entirely if you don't need it. Trying to configure 54227569Sphilip# it on another unit might cause surprises, see PR kern/7176. 55227569Sphiliptape ft0 at fdc0 drive 2 56227569Sphilip 57227569Sphilipoptions "CMD640" # work around CMD640 chip deficiency 58227569Sphilipcontroller wdc0 at isa? port "IO_WD1" bio irq 14 59227569Sphilipdisk wd0 at wdc0 drive 0 60227569Sphilipdisk wd1 at wdc0 drive 1 61227569Sphilip 62227569Sphilipcontroller wdc1 at isa? port "IO_WD2" bio irq 15 63280502Sarybchikdisk wd2 at wdc1 drive 0 64227569Sphilipdisk wd3 at wdc1 drive 1 65280615Sarybchik 66280615Sarybchikoptions ATAPI #Enable ATAPI support for IDE bus 67280599Sarybchikoptions ATAPI_STATIC #Don't do it as an LKM 68280599Sarybchikdevice wcd0 #IDE CD-ROM 69280599Sarybchikdevice wfd0 #IDE Floppy (e.g. LS-120) 70280599Sarybchik 71280599Sarybchik# A single entry for any of these controllers (ncr, ahb, ahc) is 72227569Sphilip# sufficient for any number of installed devices. 73227569Sphilipcontroller ncr0 74227569Sphilipcontroller ahb0 75227569Sphilipcontroller ahc0 76280599Sarybchikcontroller isp0 77280599Sarybchik 78280599Sarybchik# This controller offers a number of configuration options, too many to 79280599Sarybchik# document here - see the LINT file in this directory and look up the 80227569Sphilip# dpt0 entry there for much fuller documentation on this. 81227569Sphilipcontroller dpt0 82227569Sphilip 83227569Sphilipcontroller adv0 at isa? port ? cam irq ? 84227569Sphilipcontroller adw0 85280599Sarybchikcontroller bt0 at isa? port ? cam irq ? 86280599Sarybchikcontroller aha0 at isa? port ? cam irq ? 87280599Sarybchik#controller aic0 at isa? port 0x340 bio irq 11 88280599Sarybchik 89227569Sphilipcontroller scbus0 90227569Sphilip 91227569Sphilipdevice da0 92227569Sphilip 93227569Sphilipdevice sa0 94280599Sarybchik 95280599Sarybchikdevice pass0 96280599Sarybchik 97280599Sarybchikdevice cd0 #Only need one of these, the code dynamically grows 98280599Sarybchik 99227569Sphilipdevice wt0 at isa? port 0x300 bio irq 5 drq 1 100227569Sphilipdevice mcd0 at isa? port 0x300 bio irq 10 101227569Sphilip 102227569Sphilipcontroller matcd0 at isa? port 0x230 bio 103227569Sphilip 104227569Sphilipdevice scd0 at isa? port 0x230 bio 105227569Sphilip 106280599Sarybchikdevice sc0 at isa? port IO_KBD conflicts tty irq 1 107280599Sarybchik 108280599Sarybchikdevice npx0 at isa? port IO_NPX irq 13 109280599Sarybchik 110280599Sarybchik# 111227569Sphilip# Laptop support (see LINT for more options) 112227569Sphilip# 113227569Sphilipdevice apm0 at isa? disable flags 0x31 # Advanced Power Management 114227569Sphilip 115227569Sphilip# PCCARD (PCMCIA) support 116227569Sphilip#controller card0 117227569Sphilip#device pcic0 at card? 118280599Sarybchik#device pcic1 at card? 119280599Sarybchik 120280599Sarybchikdevice sio0 at isa? port "IO_COM1" flags 0x10 tty irq 4 121280599Sarybchikdevice sio1 at isa? port "IO_COM2" tty irq 3 122280599Sarybchikdevice sio2 at isa? disable port "IO_COM3" tty irq 5 123227569Sphilipdevice sio3 at isa? disable port "IO_COM4" tty irq 9 124227569Sphilip 125280501Sarybchikdevice lpt0 at isa? port? tty irq 7 126280501Sarybchik 127280501Sarybchikdevice psm0 at isa? port IO_KBD conflicts tty irq 12 128280501Sarybchik 129227569Sphilip# Order is important here due to intrusive probes, do *not* alphabetize 130227569Sphilip# this list of network interfaces until the probes have been fixed. 131280532Sarybchik# Right now it appears that the ie0 must be probed before ep0. See 132280532Sarybchik# revision 1.20 of this file. 133227569Sphilipdevice de0 134227569Sphilipdevice fxp0 135227569Sphilipdevice mx0 136227569Sphilipdevice pn0 137227569Sphilipdevice rl0 138227569Sphilipdevice tl0 139227569Sphilipdevice tx0 140227569Sphilipdevice vr0 141227569Sphilipdevice vx0 142227569Sphilipdevice wb0 143227569Sphilipdevice xl0 144227569Sphilip 145227569Sphilipdevice ed0 at isa? port 0x280 net irq 10 iomem 0xd8000 146280615Sarybchikdevice ie0 at isa? port 0x300 net irq 10 iomem 0xd0000 147280615Sarybchikdevice ep0 at isa? port 0x300 net irq 10 148227569Sphilipdevice ex0 at isa? port? net irq? 149227569Sphilipdevice fe0 at isa? port 0x300 net irq ? 150227569Sphilipdevice le0 at isa? port 0x300 net irq 5 iomem 0xd0000 151227569Sphilipdevice lnc0 at isa? port 0x280 net irq 10 drq 0 152227569Sphilipdevice ze0 at isa? port 0x300 net irq 10 iomem 0xd8000 153227569Sphilipdevice zp0 at isa? port 0x300 net irq 10 iomem 0xd8000 154227569Sphilipdevice cs0 at isa? port 0x300 net irq ? 155227569Sphilip 156227569Sphilippseudo-device loop 157227569Sphilippseudo-device ether 158227569Sphilippseudo-device sl 1 159227569Sphilippseudo-device ppp 1 160227569Sphilippseudo-device tun 1 161227569Sphilippseudo-device pty 16 162227569Sphilippseudo-device gzip # Exec gzipped a.out's 163227569Sphilip 164227569Sphilip# KTRACE enables the system-call tracing facility ktrace(2). 165227569Sphilip# This adds 4 KB bloat to your kernel, and slightly increases 166227569Sphilip# the costs of each syscall. 167227569Sphilipoptions KTRACE #kernel tracing 168227569Sphilip 169227569Sphilip# This provides support for System V shared memory. 170227569Sphilip# 171227569Sphilipoptions SYSVSHM 172227569Sphilip 173227569Sphilip# The `bpfilter' pseudo-device enables the Berkeley Packet Filter. Be 174227569Sphilip# aware of the legal and administrative consequences of enabling this 175227569Sphilip# option. The number of devices determines the maximum number of 176227569Sphilip# simultaneous BPF clients programs runnable. 177227569Sphilip#pseudo-device bpfilter 4 #Berkeley packet filter 178227569Sphilip 179227569Sphilip 180227569Sphilip# USB support 181227569Sphilip#controller uhci0 182301315Sarybchik#controller ohci0 183227569Sphilip#controller usb0 184227569Sphilip# 185227569Sphilip# for the moment we have to specify the priorities of the device 186227569Sphilip# drivers explicitly by the ordering in the list below. This will 187227569Sphilip# be changed in the future. 188227569Sphilip# 189227569Sphilip#device ums0 190227569Sphilip#device ukbd0 191227569Sphilip#device ulpt0 192227569Sphilip#device uhub0 193227569Sphilip#device ucom0 194227569Sphilip#device umodem0 195227569Sphilip#device hid0 196227569Sphilip#device ugen0 197227569Sphilip 198227569Sphilip# 199227569Sphilip#options USB_DEBUG 200227569Sphilip#options USBVERBOSE 201227569Sphilip