GENERIC revision 22975
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$ 15 16# GENERIC98 -- Generic PC98 machine with WD/SCSI disks 17 18machine "pc98" 19cpu "I386_CPU" 20cpu "I486_CPU" 21cpu "I586_CPU" 22cpu "I686_CPU" 23ident "GENERIC98" 24maxusers 10 25 26options "PC98" #PC98 27options MATH_EMULATE #Support for x87 emulation 28options INET #InterNETworking 29options FFS #Berkeley Fast Filesystem 30options NFS #Network Filesystem 31options MSDOSFS #MSDOS Filesystem 32options "CD9660" #ISO 9660 Filesystem 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 EPSON_BOUNCEDMA #use bounce buufer for 15-16M 38#options EPSON_MEMWIN #EPSON memory window support 39options UCONSOLE #Allow users to grab the console 40options "LINE30" 41options FAILSAFE #Be conservative 42options USERCONFIG #boot -c editor 43options VISUAL_USERCONFIG #visual boot -c editor 44 45options SYSVSHM 46options SYSVSEM 47options SYSVMSG 48 49options AUTO_CLOCK 50options COM_MULTIPORT 51 52# 53# non-Intel CPU support 54# 55#options "IBM_486SLC" # IBM486SLC/SLC2 support 56#options "CYRIX_486DLC" # Cyrix 486DLC/SLC/DLC2/SLC2 support 57#options "CYRIX_5X86" # Cyrix 5x86 support 58#options SUSP_HLT # CPU enters suspend mode when HALT 59#options "DISABLE_5X86_LSSER" # Load-Store reordering enable 60# 61# IBM-PC HDD support 62#options COMPAT_ATDISK 63# 64# FreeBSD(98)-current is a *TEST VERSION*. 65# It is highly recomended to compile with following options, and to 66# record the panic messages and the result of trace command brefore 67# reporting a problem. 68options DDB 69options DIAGNOSTIC 70 71config kernel root on wd0 72 73controller isa0 74controller pci0 75 76controller fdc0 at isa? port "IO_FD1" bio irq 11 drq 2 vector fdintr 77disk fd0 at fdc0 drive 0 78disk fd1 at fdc0 drive 1 79disk fd2 at fdc0 drive 2 80disk fd3 at fdc0 drive 3 81tape ft0 at fdc0 drive 4 82 83controller wdc0 at isa? port "IO_WD1" bio irq 9 vector wdintr 84disk wd0 at wdc0 drive 0 85#disk wd1 at wdc0 drive 1 86#disk wd2 at wdc0 drive 2 87#disk wd3 at wdc0 drive 3 88 89options ATAPI # Enable ATAPI support for IDE bus 90options ATAPI_STATIC #Don't do it as an LKM 91device wcd0 #IDE CD-ROM 92 93# A single entry for any of these controllers (ncr, ahb, ahc) is sufficient 94# for any number of installed devices. 95controller ncr0 96controller ahc0 97 98# 99# WD33C93 SCSI card (55/92 like board) 100# 101 102options BS_TARG_SAFEMODE 103 104# PC-9801-92 105controller bs0 at isa? port "IO_SCSI" bio irq 5 drq 3 flags 0 vector bsintr 106# SC-98 107# controller bs0 at isa? port "IO_SCSI" bio irq 5 drq 3 flags 0x10000 vector bsintr 108# HA-55BS2 and later 109#controller bs0 at isa? port "IO_SCSI" bio irq 5 drq 3 flags 0x20000 vector bsintr 110# ELECOM type 111#controller bs0 at isa? port "IO_SCSI" bio irq 5 drq 3 flags 0x30000 vector bsintr 112# SMIT 113#controller bs0 at isa? port "IO_SCSI" bio irq 5 drq 3 iomem 0xdc000 iosiz 0x1000 flags 0x40000 vector bsintr 114# Logitec LHA-20x 115#controller bs0 at isa? port "IO_SCSI" bio irq 5 drq 3 flags 0x50000 vector bsintr 116 117controller aic0 at isa? port 0x1840 bio irq 5 flags 0x10000 vector aicintr 118 119controller scbus0 120 121device sd0 122 123device od0 #See LINT for possible `od' options. 124 125device st0 126 127device cd0 #Only need one of these, the code dynamically grows 128 129controller matcd0 at isa? port? bio 130 131# syscons is the default console driver, resembling an SCO console 132device sc0 at isa? port "IO_KBD" tty irq 1 vector scintr 133#options XSERVER # include code for XFree86 134 135# Mandatory, don't remove 136device npx0 at isa? port "IO_NPX" irq 8 vector npxintr 137 138# 139# Laptop support (see LINT for more options) 140# 141device apm0 at isa? disable # Advanced Power Management 142options APM_BROKEN_STATCLOCK # Workaround some buggy APM BIOS 143# PCCARD (PCMCIA) support 144#controller crd0 145#device pcic0 at crd? 146#device pcic1 at crd? 147 148device sio0 at isa? port "IO_COM1" tty irq 4 vector siointr 149device sio1 at isa? port 0xd2 tty irq 5 flags 0x101 vector siointr 150device sio2 at isa? port 0x8d2 tty flags 0x101 vector siointr 151 152device lpt0 at isa? port "IO_LPT" tty 153device mse0 at isa? port "IO_MSE" tty irq 13 vector mseintr 154 155# Order is important here due to intrusive probes, do *not* alphabetize 156# this list of network interfaces until the probes have been fixed. 157# Right now it appears that the ie0 must be probed before ep0. See 158# revision 1.20 of this file. 159device de0 160device fxp0 161device vx0 162 163# 164# DP8390 NIC 165# 166# ed0: generic driver 167# ed1: LANEED LD-BDN 168# ed2: EGY-98 169# ed3: LGY-98 170# ed4: ICM-IF-2766/EN-2298-T 171# ed5: SIC-98 172# ed6: PC-9801-108 173# ed7: LA-98 174# ed8: C-NET(98) 175# ed9: C-NET(98)E/L 176# 177device ed0 at isa? port 0x00d0 net irq 6 vector edintr 178device ed1 at isa? port 0x00d8 net irq 6 flags 0x200000 vector edintr 179device ed2 at isa? port 0x00d8 net irq 6 flags 0x300000 vector edintr 180device ed3 at isa? port 0x00d0 net irq 6 flags 0x400000 vector edintr 181device ed4 at isa? port 0x56d0 net irq 5 flags 0x500000 vector edintr 182device ed5 at isa? port 0x00d0 net irq 6 iomem 0xd0000 iosiz 16384 flags 0x600000 vector edintr 183device ed6 at isa? port 0x00d0 net irq 6 flags 0x800000 vector edintr 184device ed7 at isa? port 0x00d0 net irq 6 flags 0x900000 vector edintr 185device ed8 at isa? port 0x03d0 net irq 6 iomem 0xd0000 iosiz 16384 flags 0xa00000 vector edintr 186device ed9 at isa? port 0x03d0 net irq 6 flags 0xb00000 vector edintr 187 188device ep0 at isa? port 0x40d0 net irq 3 vector epintr 189device fe0 at isa? port 0x00d0 net irq 3 vector feintr 190device zp0 at isa? port 0x00d0 net irq 10 iomem 0xe0000 vector zpintr 191 192#controller snd0 193#device sb0 at isa? port 0x20d2 irq 10 conflicts drq 3 vector sbintr 194#device sbxvi0 at isa? drq 3 195#device sbmidi0 at isa? port 0x80d2 196#device opl0 at isa? port 0x28d2 197#device pcm0 at isa? port 0xa460 irq 12 vector pcmintr 198#device mss0 at isa? port 0xf40 irq 12 drq 1 vector adintr 199 200pseudo-device loop 201pseudo-device ether 202pseudo-device log 203pseudo-device sl 2 204# ijppp uses tun instead of ppp device 205#pseudo-device ppp 1 206pseudo-device tun 1 207pseudo-device pty 16 208pseudo-device gzip # Exec gzipped a.out's 209 210# KTRACE enables the system-call tracing facility ktrace(2). 211# This adds 4 KB bloat to your kernel, and slightly increases 212# the costs of each syscall. 213options KTRACE #kernel tracing 214 215