2 # GENERIC -- Generic machine with WD/AHx/NCR/BTx family disks
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/>
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.
14 # $Id: GENERIC98,v 1.69 1999/03/17 08:56:28 kato Exp $
16 # GENERIC98 -- Generic PC98 machine with WD/SCSI disks
27 options MATH_EMULATE #Support for x87 emulation
28 options INET #InterNETworking
29 options FFS #Berkeley Fast Filesystem
30 options FFS_ROOT #FFS usable as root device [keep this!]
31 options MFS #Memory Filesystem
32 options MFS_ROOT #MFS usable as root device, "MFS" req'ed
33 options NFS #Network Filesystem
34 options NFS_ROOT #NFS usable as root device, "NFS" req'ed
35 options MSDOSFS #MSDOS Filesystem
36 options "CD9660" #ISO 9660 Filesystem
37 options "CD9660_ROOT" #CD-ROM usable as root. "CD9660" req'ed
38 options PROCFS #Process filesystem
39 options "COMPAT_43" #Compatible with BSD 4.3 [KEEP THIS!]
40 options SCSI_DELAY=15000 #Be pessimistic about Joe SCSI device
41 options EPSON_BOUNCEDMA #use bounce buufer for 15-16M
42 #options EPSON_MEMWIN #EPSON memory window support
43 options UCONSOLE #Allow users to grab the console
45 options FAILSAFE #Be conservative
46 options USERCONFIG #boot -c editor
47 options VISUAL_USERCONFIG #visual boot -c editor
57 #options COMPAT_ATDISK
59 config kernel root on wd0
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
71 controller pnp0 # PnP support for ISA
74 controller fdc0 at isa? port "IO_FD1" bio irq 11 drq 2
75 disk fd0 at fdc0 drive 0
76 disk fd1 at fdc0 drive 1
77 disk fd2 at fdc0 drive 2
78 disk fd3 at fdc0 drive 3
80 # options "CMD640" # work around CMD640 chip deficiency
81 controller wdc0 at isa? port "IO_WD1" bio irq 9
82 disk wd0 at wdc0 drive 0
83 #disk wd1 at wdc0 drive 1
84 #disk wd2 at wdc0 drive 2
85 #disk wd3 at wdc0 drive 3
87 options ATAPI #Enable ATAPI support for IDE bus
88 options ATAPI_STATIC #Don't do it as an LKM
89 device wcd0 #IDE CD-ROM
91 # A single entry for any of these controllers (ncr, ahb, ahc) is
92 # sufficient for any number of installed devices.
99 # WD33C93 SCSI card (55/92 like board)
102 options BS_TARG_SAFEMODE
105 controller bs0 at isa? port IO_SCSI bio irq 5 drq 3 flags 0
107 # controller bs0 at isa? port IO_SCSI bio irq 5 drq 3 flags 0x10000
109 #controller bs0 at isa? port IO_SCSI bio irq 5 drq 3 flags 0x20000
111 #controller bs0 at isa? port IO_SCSI bio irq 5 drq 3 flags 0x30000
113 #controller bs0 at isa? port IO_SCSI bio irq 5 drq 3 iomem 0xdd000 iosiz 0x1000 flags 0x40000
115 #controller bs0 at isa? port IO_SCSI bio irq 5 drq 3 flags 0x50000
125 device cd0 #Only need one of these, the code dynamically grows
127 controller matcd0 at isa? port? bio
130 device pckbd0 at isa? port IO_KBD tty irq 1
131 #options KBD_INSTALL_CDEV
135 #pseudo-device splash
137 device sc0 at isa? tty
139 device npx0 at isa? port IO_NPX irq 8
142 # Laptop support (see LINT for more options)
144 device apm0 at isa? disable flags 0x31 # Advanced Power Management
146 # PCCARD (PCMCIA) support
148 #device pcic0 at card?
149 #device pcic1 at card?
155 device sio0 at isa? port "IO_COM1" tty irq 4
157 device sio1 at isa? port 0x238 tty irq 5 flags 0x12000000
158 # PC-9861K, PC-9801-101, MDC-926Rs
159 #device sio1 at isa? port "IO_COM2" tty irq 5 flags 0x01000000
160 #device sio2 at isa? port "IO_COM3" tty irq 6 flags 0x02000000
161 # PC-9801-120 (PnP off)
162 #device sio1 at isa? port 0x8b0 tty irq 5 flags 0x11000000
163 # MC-16550II, MC-RS98
164 #device sio1 at isa? port 0xd2 tty irq 5 flags 0x14000101
165 #device sio2 at isa? port 0x8d2 tty flags 0x14000101
166 # RSB-2000, RSB-3000, B98-02
167 #device sio1 at isa? port 0xb0 tty flags 0x15000101
168 #device sio2 at isa? port 0xb1 tty flags 0x15000101
170 #device sio1 at isa? port 0xb0 tty flags 0x16000000
171 #device sio2 at isa? port 0xb1 tty flags 0x16000000
173 #device sio1 at isa? port 0x50e0 tty irq 5 flags 0x18000101
174 #device sio2 at isa? port 0x51e0 tty flags 0x18000101
177 #device sio1 at isa? port 0x18b0 tty irq 5 flags 0x19000000
179 #device lpt0 at isa? port IO_LPT tty
180 device mse0 at isa? port IO_MSE tty irq 13
182 # Order is important here due to intrusive probes, do *not* alphabetize
183 # this list of network interfaces until the probes have been fixed.
184 # Right now it appears that the ie0 must be probed before ep0. See
185 # revision 1.20 of this file.
202 # ed0: generic driver
206 # ed4: ICM-IF-2766/EN-2298-T
212 # fe0: RE1000/1000Plus/AccessPC N98C+/LAC-98
213 # fe1: C-NET(98)P2/C-NET(9N)E
215 # FE_8BIT_SUPPORT is needed to support LAC-98
217 device ed0 at isa? port 0x00d0 net irq 6
218 device ed5 at isa? port 0x00d0 net irq 6 iomem 0xd0000 iosiz 16384 flags 0x600000
219 device ed1 at isa? port 0x00d8 net irq 6 flags 0x200000
220 device ed3 at isa? port 0x00d0 net irq 6 flags 0x400000
221 device ed4 at isa? port 0x56d0 net irq 5 flags 0x500000
222 device ed2 at isa? port 0x00d8 net irq 6 flags 0x300000
223 device ed7 at isa? port 0x00d0 net irq 6 flags 0x900000
224 device ed6 at isa? port 0x0770 net irq 6 flags 0x800000
225 device ed9 at isa? port 0x03d0 net irq 6 flags 0xb00000
226 device ed8 at isa? port 0xa3d0 net irq 6 iomem 0xd0000 iosiz 16384 flags 0xa00000
227 device ep0 at isa? port 0x40d0 net irq 3
228 device fe0 at isa? port 0x00d0 net irq 3
229 device fe1 at isa? port 0x73d0 net irq 5
230 device lnc0 at isa? port 0x03d0 net irq 6
231 device zp0 at isa? port 0x00d0 net irq 10 iomem 0xe0000
233 options "FE_8BIT_SUPPORT" # LAC-98 support
236 #device sb0 at isa? port 0x20d2 irq 10 conflicts drq 3
237 #device sbxvi0 at isa? drq 3
238 #device sbmidi0 at isa? port 0x80d2
239 #device opl0 at isa? port 0x28d2
240 #device pcm0 at isa? port 0xa460 irq 12
241 #device mss0 at isa? port 0xf40 irq 12 drq 1
249 pseudo-device gzip # Exec gzipped a.out's
251 # KTRACE enables the system-call tracing facility ktrace(2).
252 # This adds 4 KB bloat to your kernel, and slightly increases
253 # the costs of each syscall.
254 options KTRACE #kernel tracing
256 # The `bpfilter' pseudo-device enables the Berkeley Packet Filter. Be
257 # aware of the legal and administrative consequences of enabling this
258 # option. The number of devices determines the maximum number of
259 # simultaneous BPF clients programs runnable.
260 #pseudo-device bpfilter 4 #Berkeley packet filter