]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - sys/pc98/conf/GENERIC
Synced with sys/i386/conf/GENERIC rev 1.222.
[FreeBSD/FreeBSD.git] / sys / pc98 / conf / GENERIC
1 #
2 # GENERIC -- Generic machine with WD/AHx/NCR/BTx family disks
3 #
4 # For more information on this file, please read the handbook section on
5 # Kernel Configuration Files:
6 #
7 #    http://www.freebsd.org/handbook/kernelconfig-config.html
8 #
9 # The handbook is also available locally in /usr/share/doc/handbook
10 # if you've installed the doc distribution, otherwise always see the
11 # FreeBSD World Wide Web server (http://www.FreeBSD.ORG/) for the
12 # latest information.
13 #
14 # An exhaustive list of options and more detailed explanations of the
15 # device lines is also present in the ./LINT configuration file. If you are
16 # in doubt as to the purpose or necessity of a line, check first in LINT.
17 #
18 # $FreeBSD$
19
20 # GENERIC98 -- Generic PC98 machine with WD/SCSI disks
21
22 machine         pc98
23 cpu             I386_CPU
24 cpu             I486_CPU
25 cpu             I586_CPU
26 cpu             I686_CPU
27 ident           GENERIC98
28 maxusers        32
29
30 #makeoptions    DEBUG=-g                #Build kernel with gdb(1) debug symbols
31
32 options         PC98                    #PC98
33 options         MATH_EMULATE            #Support for x87 emulation
34 options         INET                    #InterNETworking
35 options         FFS                     #Berkeley Fast Filesystem
36 options         FFS_ROOT                #FFS usable as root device [keep this!]
37 options         MFS                     #Memory Filesystem
38 options         MD_ROOT                 #MD is a potential root device
39 options         NFS                     #Network Filesystem
40 options         NFS_ROOT                #NFS usable as root device, "NFS" req'ed
41 options         MSDOSFS                 #MSDOS Filesystem
42 options         CD9660                  #ISO 9660 Filesystem
43 options         CD9660_ROOT             #CD-ROM usable as root. "CD9660" req'ed
44 options         PROCFS                  #Process filesystem
45 options         COMPAT_43               #Compatible with BSD 4.3 [KEEP THIS!]
46 options         SCSI_DELAY=15000        #Be pessimistic about Joe SCSI device
47 options         EPSON_BOUNCEDMA         #use bounce buufer for 15-16M
48 #options        EPSON_MEMWIN            #EPSON memory window support
49 options         UCONSOLE                #Allow users to grab the console
50 #options        LINE30
51 options         USERCONFIG              #boot -c editor
52 options         VISUAL_USERCONFIG       #visual boot -c editor
53 options         KTRACE                  #ktrace(1) syscall trace support
54 options         SYSVSHM                 #SYSV-style shared memory
55 options         SYSVMSG                 #SYSV-style message queues
56 options         SYSVSEM                 #SYSV-style semaphores
57
58 # To make an SMP kernel, the next two are needed
59 #options        SMP                     # Symmetric MultiProcessor Kernel
60 #options        APIC_IO                 # Symmetric (APIC) I/O
61 # Optionally these may need tweaked, (defaults shown):
62 #options        NCPU=2                  # number of CPUs
63 #options        NBUS=4                  # number of busses
64 #options        NAPIC=1                 # number of IO APICs
65 #options        NINTR=24                # number of INTs
66
67 controller      isa0
68 controller      pci0
69
70 # Floppy drives
71 controller      fdc0    at isa? port IO_FD1 irq 11 drq 2
72 device          fd0     at fdc0 drive 0
73 device          fd1     at fdc0 drive 1
74 device          fd2     at fdc0 drive 2
75 device          fd3     at fdc0 drive 3
76
77 # IDE controller and disks
78 controller      wdc0    at isa? port IO_WD1 irq 9
79 device          wd0     at wdc0 drive 0
80 #device         wd1     at wdc0 drive 1
81 #device         wd2     at wdc0 drive 2
82 #device         wd3     at wdc0 drive 3
83
84 # ATAPI devices on wdc?
85 device          wcd0            #IDE CD-ROM
86 #device         wfd0            #IDE Floppy (e.g. LS-120)
87 #device         wst0            #IDE Tape (e.g. Travan)
88
89 # SCSI Controllers
90 # A single entry for any of these controllers (ahb, ahc, amd, ncr, etc...) is
91 # sufficient for any number of installed devices.
92 controller      adv0
93 controller      ahc0            # AHA2940 and onboard AIC7xxx devices
94 controller      amd0            # AMD 53C974 (Teckram DC-390(T))
95 controller      isp0            # Qlogic family
96 controller      ncr0            # NCR/Symbios Logic
97 controller      sym0            # NCR/Symbios Logic (newer chipsets)
98
99 #
100 # WD33C93 SCSI card (55/92 like board)
101 #
102
103 options BS_TARG_SAFEMODE
104
105 # PC-9801-92
106 controller bs0 at isa? port IO_SCSI irq 5 drq 3 flags 0
107 # SC-98
108 # controller bs0 at isa? port IO_SCSI irq 5 drq 3 flags 0x10000
109 # HA-55BS2 and later
110 #controller bs0 at isa? port IO_SCSI irq 5 drq 3 flags 0x20000
111 # ELECOM type
112 #controller bs0 at isa? port IO_SCSI irq 5 drq 3 flags 0x30000
113 # SMIT
114 #controller bs0 at isa? port IO_SCSI irq 5 drq 3 iomem 0xdd000 iosiz 0x1000 flags 0x40000
115 # Logitec LHA-20x
116 #controller bs0 at isa? port IO_SCSI irq 5 drq 3 flags 0x50000
117
118 # SCSI peripherals
119 # Only one of each of these is needed, they are dynamically allocated.
120 controller      scbus0          # SCSI bus (required)
121 device          da0             # Direct Access (disks)
122 device          sa0             # Sequential Access (tape etc)
123 device          cd0             # CD
124 device          pass0           # Passthrough device (direct SCSI access)
125
126 # RAID controllers
127 device          amr0            # AMI MegaRAID
128 device          mlx0            # Mylex DAC960 family
129
130 # keyboard driver
131 device          pckbd0  at isa? port IO_KBD irq 1
132 #options        KBD_INSTALL_CDEV
133
134 device          gdc0    at isa?
135
136 # splash screen/screen saver
137 pseudo-device   splash
138
139 # syscons is the default console driver, resembling an SCO console
140 device          sc0     at isa?
141
142 # Floating point support - do not disable.
143 device          npx0    at nexus? port IO_NPX irq 8
144
145 # Power management support (see LINT for more options)
146 device          apm0    at nexus? disable flags 0x20 # Advanced Power Management
147
148 # PCCARD (PCMCIA) support
149 #controller     card0
150 #device         pcic0   at isa?
151 #device         pcic1   at isa?
152
153 # Serial (COM) ports
154 #
155 options         COM_MULTIPORT
156 #
157 # COM1
158 device          sio0    at isa? port IO_COM1 irq 4
159 # COM2 (2nd CCU)
160 device          sio1    at isa? port 0x238 irq 5 flags 0x12000000
161 # PC-9861K, PC-9801-101, MDC-926Rs
162 #device         sio1    at isa? port IO_COM2 irq 5 flags 0x01000000
163 #device         sio2    at isa? port IO_COM3 irq 6 flags 0x02000000
164 # PC-9801-120 (PnP off)
165 #device         sio1    at isa? port 0x8b0 irq 5 flags 0x11000000
166 # MC-16550II, MC-RS98
167 #device         sio1    at isa? port 0xd2 irq 5 flags 0x14000101
168 #device         sio2    at isa? port 0x8d2 flags 0x14000101
169 # RSB-2000, RSB-3000, B98-02
170 #device         sio1    at isa? port 0xb0 flags 0x15000101
171 #device         sio2    at isa? port 0xb1 flags 0x15000101
172 # RSB-384
173 #device         sio1    at isa? port 0xb0 flags 0x16000000
174 #device         sio2    at isa? port 0xb1 flags 0x16000000
175 # RSA-98III
176 #device         sio1    at isa? port 0x50e0 irq 5 flags 0x18000101
177 #device         sio2    at isa? port 0x51e0 flags 0x18000101
178 # ESP98
179 #options        COM_ESP
180 #device         sio1    at isa? port 0x18b0 irq 5 flags 0x19000000
181
182 device          mse0    at isa? port IO_MSE irq 13
183
184 # NEW Parallel port
185 device          ppc0    at isa? port? irq 14
186 controller      ppbus0          # Parallel port bus (required)
187 device          lpt0            # Printer
188 device          plip0           # TCP/IP over parallel
189 device          ppi0            # Parallel port interface device
190 #controller     vpo0            # Requires scbus and da0
191 # OLD Parallel port
192 # Please stay olpt driver after ppc driver
193 device          olpt0   at isa? port IO_LPT
194
195
196 # PCI Ethernet NICs.
197 device          de0             # DEC/Intel DC21x4x (``Tulip'')
198 device          fxp0            # Intel EtherExpress PRO/100B (82557, 82558)
199 device          tx0             # SMC 9432TX (83c170 ``EPIC'')
200 device          vx0             # 3Com 3c590, 3c595 (``Vortex'')
201 device          wx0             # Intel Gigabit Ethernet Card (``Wiseman'')
202
203 # PCI Ethernet NICs that use the common MII bus controller code.
204 controller      miibus0         # MII bus support
205 device          dc0             # DEC/Intel 21143 and various workalikes
206 device          rl0             # RealTek 8129/8139
207 device          sf0             # Adaptec AIC-6915 (``Starfire'')
208 device          sis0            # Silicon Integrated Systems SiS 900/SiS 7016
209 device          ste0            # Sundance ST201 (D-Link DFE-550TX)
210 device          tl0             # Texas Instruments ThunderLAN
211 device          vr0             # VIA Rhine, Rhine II
212 device          wb0             # Winbond W89C840F
213 device          xl0             # 3Com 3c90x (``Boomerang'', ``Cyclone'')
214
215 # ISA Ethernet NICs.
216 #
217 # DP8390 NIC
218 #
219 # ed0: generic driver
220 # ed1: LANEED LD-BDN
221 # ed2: EGY-98
222 # ed3: LGY-98
223 # ed4: ICM-IF-2766/EN-2298-T
224 # ed5: SIC-98
225 # ed6: PC-9801-108
226 # ed7: LA-98
227 # ed8: C-NET(98)
228 # ed9: C-NET(98)E/L
229 #
230 # MB86960A NIC
231 #
232 # fe0: RE1000/1000Plus/AccessPC N98C+/LAC-98
233 # fe1: C-NET(98)P2/C-NET(9N)E
234 #
235 # FE_8BIT_SUPPORT is needed to support LAC-98
236 #
237 #device ed0 at isa? port 0x00d0 irq 6
238 #device ed5 at isa? port 0x00d0 irq 6 iomem 0xd0000 iosiz 16384 flags 0x600000
239 #device ed1 at isa? port 0x00d8 irq 6 flags 0x200000
240 #device ed3 at isa? port 0x00d0 irq 6 flags 0x400000
241 #device ed4 at isa? port 0x56d0 irq 5 flags 0x500000
242 #device ed2 at isa? port 0x00d8 irq 6 flags 0x300000
243 #device ed7 at isa? port 0x00d0 irq 6 flags 0x900000
244 #device ed6 at isa? port 0x0770 irq 6 flags 0x800000
245 #device ed9 at isa? port 0x03d0 irq 6 flags 0xb00000
246 #device ed8 at isa? port 0xa3d0 irq 6 iomem 0xd0000 iosiz 16384 flags 0xa00000
247 #device ed11 at isa? port 0x00d0 irq 6 iomem 0xd0000 iosiz 32768 flags 0x610000
248
249 options         FE_8BIT_SUPPORT         # LAC-98 support
250
251 device fe0 at isa? port 0x00d0 irq 3
252 device fe1 at isa? port 0x73d0 irq 5
253 device lnc0 at isa? port 0x03d0 irq 6
254
255 # NOTE: This removes the isa attachment so that the pccard unit numbers
256 # come out right.
257 device          ep0 at isa? port 0x40d0 irq 3
258
259 # WaveLAN/IEEE 802.11 wireless NICs. Note: the WaveLAN/IEEE really
260 # exists only as a PCMCIA device, so there is no ISA attatement needed
261 # and resources will always be dynamically assigned by the pccard code.
262 #device         wi0
263
264 #controller     snd0
265 #device sb0     at isa? port 0x20d2 irq 10 conflicts drq 3
266 #device sbxvi0  at isa? drq 3
267 #device sbmidi0 at isa? port 0x80d2
268 #device opl0    at isa? port 0x28d2
269 #device nss0    at isa? port 0xa460 irq 12
270 #device mss0    at isa? port 0xf40 irq 12 drq 1
271 #device mpu0    at isa? port 0xe0d0 irq 6
272
273 # Pseudo devices - the number indicates how many units to allocated.
274 pseudo-device   loop            # Network loopback
275 pseudo-device   ether           # Ethernet support
276 pseudo-device   sl      1       # Kernel SLIP
277 pseudo-device   ppp     1       # Kernel PPP
278 pseudo-device   tun             # Packet tunnel.
279 pseudo-device   pty             # Pseudo-ttys (telnet etc)
280 pseudo-device   md              # Memory "disks"
281
282 # The `bpf' pseudo-device enables the Berkeley Packet Filter.
283 # Be aware of the administrative consequences of enabling this!
284 pseudo-device   bpf             #Berkeley packet filter
285
286 #pseudo-device  compat_atdisk   #IBM-PC HDD support
287
288 # USB support
289 #controller     uhci0           # UHCI PCI->USB interface
290 #controller     ohci0           # OHCI PCI->USB interface
291 #controller     usb0            # USB Bus (required)
292 #device         ugen0           # Generic
293 #device         uhid0           # "Human Interface Devices"
294 #device         ukbd0           # Keyboard
295 #device         ulpt0           # Printer
296 #controller     umass0          # Disks/Mass storage - Requires scbus and da0
297 #device         ums0            # Mouse
298 #device         aue0            # ADMtek USB ethernet
299 #device         kue0            # Kawasaki LSI USB ethernet