GENERIC revision 42157
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: GENERIC98,v 1.60 1998/12/05 09:17:31 kato Exp $ 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 32 25 26options "PC98" #PC98 27options MATH_EMULATE #Support for x87 emulation 28options INET #InterNETworking 29options FFS #Berkeley Fast Filesystem 30options FFS_ROOT #FFS usable as root device [keep this!] 31options MFS #Memory Filesystem 32options MFS_ROOT #MFS usable as root device, "MFS" req'ed 33options NFS #Network Filesystem 34options NFS_ROOT #NFS usable as root device, "NFS" req'ed 35options MSDOSFS #MSDOS Filesystem 36options "CD9660" #ISO 9660 Filesystem 37options "CD9660_ROOT" #CD-ROM usable as root. "CD9660" req'ed 38options PROCFS #Process filesystem 39options "COMPAT_43" #Compatible with BSD 4.3 [KEEP THIS!] 40options SCSI_DELAY=15000 #Be pessimistic about Joe SCSI device 41options EPSON_BOUNCEDMA #use bounce buufer for 15-16M 42#options EPSON_MEMWIN #EPSON memory window support 43options UCONSOLE #Allow users to grab the console 44options "LINE30" 45options FAILSAFE #Be conservative 46options USERCONFIG #boot -c editor 47options VISUAL_USERCONFIG #visual boot -c editor 48 49options SYSVSHM 50options SYSVSEM 51options SYSVMSG 52 53options COM_MULTIPORT 54 55# 56# IBM-PC HDD support 57#options COMPAT_ATDISK 58 59config kernel root on wd0 60 61# To make an SMP kernel, the next two are needed 62#options SMP # Symmetric MultiProcessor Kernel 63#options APIC_IO # Symmetric (APIC) I/O 64# Optionally these may need tweaked, (defaults shown): 65#options NCPU=2 # number of CPUs 66#options NBUS=4 # number of busses 67#options NAPIC=1 # number of IO APICs 68#options NINTR=24 # number of INTs 69 70controller isa0 71controller pci0 72 73controller fdc0 at isa? port "IO_FD1" bio irq 11 drq 2 74disk fd0 at fdc0 drive 0 75disk fd1 at fdc0 drive 1 76disk fd2 at fdc0 drive 2 77disk fd3 at fdc0 drive 3 78 79# options "CMD640" # work around CMD640 chip deficiency 80controller wdc0 at isa? port "IO_WD1" bio irq 9 81disk wd0 at wdc0 drive 0 82#disk wd1 at wdc0 drive 1 83#disk wd2 at wdc0 drive 2 84#disk wd3 at wdc0 drive 3 85 86options ATAPI # Enable ATAPI support for IDE bus 87options ATAPI_STATIC #Don't do it as an LKM 88device acd0 #IDE CD-ROM 89 90# A single entry for any of these controllers (ncr, ahb, ahc) is 91# for any number of installed devices. 92controller ncr0 93controller ahc0 94controller isp0 95 96# 97# WD33C93 SCSI card (55/92 like board) 98# 99 100options BS_TARG_SAFEMODE 101 102# PC-9801-92 103#controller bs0 at isa? port IO_SCSI bio irq 5 drq 3 flags 0 104# SC-98 105# controller bs0 at isa? port IO_SCSI bio irq 5 drq 3 flags 0x10000 106# HA-55BS2 and later 107#controller bs0 at isa? port IO_SCSI bio irq 5 drq 3 flags 0x20000 108# ELECOM type 109#controller bs0 at isa? port IO_SCSI bio irq 5 drq 3 flags 0x30000 110# SMIT 111#controller bs0 at isa? port IO_SCSI bio irq 5 drq 3 iomem 0xdd000 iosiz 0x1000 flags 0x40000 112# Logitec LHA-20x 113#controller bs0 at isa? port IO_SCSI bio irq 5 drq 3 flags 0x50000 114 115#controller aic0 at isa? port 0x1840 bio irq 5 flags 0x10000 116 117controller scbus0 118 119device da0 120 121device sa0 122 123device pass0 124 125device cd0 #Only need one of these, the code dynamically grows 126 127controller matcd0 at isa? port? bio 128 129device sc0 at isa? port IO_KBD tty irq 1 130 131device npx0 at isa? port IO_NPX irq 8 132 133# 134# Laptop support (see LINT for more options) 135# 136device apm0 at isa? disable flags 0x31 # Advanced Power Management 137 138# PCCARD (PCMCIA) support 139#controller card0 140#device pcic0 at card? 141#device pcic1 at card? 142 143device sio0 at isa? port "IO_COM1" tty irq 4 144device sio1 at isa? port 0xd2 tty irq 5 flags 0x101 145device sio2 at isa? port 0x8d2 tty flags 0x101 146 147device lpt0 at isa? port IO_LPT tty 148device mse0 at isa? port IO_MSE tty irq 13 149 150# Order is important here due to intrusive probes, do *not* alphabetize 151# this list of network interfaces until the probes have been fixed. 152# Right now it appears that the ie0 must be probed before ep0. See 153# revision 1.20 of this file. 154device de0 155device fxp0 156device mx0 157device pn0 158device rl0 159device tl0 160device tx0 161device vr0 162device vx0 163device wb0 164 165# 166# DP8390 NIC 167# 168# ed0: generic driver 169# ed1: LANEED LD-BDN 170# ed2: EGY-98 171# ed3: LGY-98 172# ed4: ICM-IF-2766/EN-2298-T 173# ed5: SIC-98 174# ed6: PC-9801-108 175# ed7: LA-98 176# ed8: C-NET(98) 177# ed9: C-NET(98)E/L 178# fe0: RE1000/1000Plus 179# fe1: C-NET(98)P2/C-NET(9N)E 180# 181device ed0 at isa? port 0x00d0 net irq 6 182device ed5 at isa? port 0x00d0 net irq 6 iomem 0xd0000 iosiz 16384 flags 0x600000 183device ed1 at isa? port 0x00d8 net irq 6 flags 0x200000 184device ed3 at isa? port 0x00d0 net irq 6 flags 0x400000 185device ed4 at isa? port 0x56d0 net irq 5 flags 0x500000 186device ed2 at isa? port 0x00d8 net irq 6 flags 0x300000 187device ed7 at isa? port 0x00d0 net irq 6 flags 0x900000 188device ed6 at isa? port 0x0770 net irq 6 flags 0x800000 189device ed9 at isa? port 0x03d0 net irq 6 flags 0xb00000 190device ed8 at isa? port 0xa3d0 net irq 6 iomem 0xd0000 iosiz 16384 flags 0xa00000 191 192device ep0 at isa? port 0x40d0 net irq 3 193device fe0 at isa? port 0x00d0 net irq 3 194device fe1 at isa? port 0x73d0 net irq 5 195device lnc0 at isa? port 0x03d0 net irq 6 196device zp0 at isa? port 0x00d0 net irq 10 iomem 0xe0000 197 198#controller snd0 199#device sb0 at isa? port 0x20d2 irq 10 conflicts drq 3 200#device sbxvi0 at isa? drq 3 201#device sbmidi0 at isa? port 0x80d2 202#device opl0 at isa? port 0x28d2 203#device pcm0 at isa? port 0xa460 irq 12 204#device mss0 at isa? port 0xf40 irq 12 drq 1 205 206pseudo-device loop 207pseudo-device ether 208pseudo-device sl 1 209pseudo-device ppp 1 210pseudo-device tun 1 211pseudo-device pty 16 212pseudo-device gzip # Exec gzipped a.out's 213 214# KTRACE enables the system-call tracing facility ktrace(2). 215# This adds 4 KB bloat to your kernel, and slightly increases 216# the costs of each syscall. 217options KTRACE #kernel tracing 218 219# The `bpfilter' pseudo-device enables the Berkeley Packet Filter. Be 220# aware of the legal and administrative consequences of enabling this 221# option. The number of devices determines the maximum number of 222# simultaneous BPF clients programs runnable. 223#pseudo-device bpfilter 4 #Berkeley packet filter 224