PCCONS revision 1.7 1 # $NetBSD: PCCONS,v 1.7 2001/06/13 15:37:27 soda Exp $
2 # $OpenBSD: GENERIC,v 1.29 1999/08/29 12:14:03 niklas Exp $
3 #
4 # PCCONS -- generic but pccons rather than wscons
5 #
6
7 include "arch/arc/conf/std.arc"
8
9 maxusers 32 # estimated number of users
10
11 # Platform support
12 options PLATFORM_ACER_PICA_61 # Pica, NEC ImageRISCstation
13 options PLATFORM_DESKTECH_ARCSTATION_I # DESKstation rPC44
14 options PLATFORM_DESKTECH_TYNE # DESKstation Tyne
15 options PLATFORM_MICROSOFT_JAZZ # MIPS Magnum
16 options PLATFORM_NEC_JC94 # NEC Express 5800/230 PCI R4K
17 options PLATFORM_NEC_R94 # NEC RISCstation 2200 EISA
18 options PLATFORM_NEC_R96 # NEC Express RISCserver, RISCserver 2200
19 options PLATFORM_NEC_RAX94 # NEC RISCstation 2200 PCI
20 options PLATFORM_NEC_RD94 # NEC RISCstation 2250
21 options PLATFORM_SNI_RM200PCI
22
23 # Standard system options
24
25 options RTC_OFFSET=0 # hardware clock is this many mins. west of GMT
26 options NTP # NTP phase/frequency locked loop
27
28 options KTRACE # system call tracing via ktrace(1)
29
30 options SYSVMSG # System V-like message queues
31 options SYSVSEM # System V-like semaphores
32 options SYSVSHM # System V-like memory sharing
33 #options SHMMAXPGS=1024 # 1024 pages is the default
34
35 options LKM # loadable kernel modules
36
37 # Diagnostic/debugging support options
38 options DIAGNOSTIC # cheap kernel consistency checks
39 #options DEBUG # expensive debugging checks/support
40 #options KMEMSTATS # kernel memory statistics (vmstat -m)
41 options DDB # in-kernel debugger
42 #options DDB_HISTORY_SIZE=100 # enable history editing in DDB
43 #options KGDB # remote gdb
44 #options KGDBRATE=19200 # kernel gdb port rate (default 9600)
45 #options KGDBDEV="17*256+0" # device for kernel gdb
46 #makeoptions DEBUG="-g" # compile full symbol table
47
48 # Compatibility options
49 options COMPAT_10 # NetBSD 1.0,
50 options COMPAT_11 # NetBSD 1.1,
51 options COMPAT_12 # NetBSD 1.2,
52 options COMPAT_13 # NetBSD 1.3,
53 options COMPAT_14 # NetBSD 1.4,
54 options COMPAT_43 # and 4.3BSD
55 options COMPAT_386BSD_MBRPART # recognize old partition ID
56
57 # mipsel specific
58 options COMPAT_ULTRIX # Ultrix binary compatibility
59 options EXEC_ECOFF # Ultrix RISC binaries are ECOFF format
60
61 # File systems
62 file-system FFS # fast filesystem
63 file-system EXT2FS # second extended file system (linux)
64 file-system LFS # log-structured file system
65 file-system MFS # memory file system
66 file-system NTFS # Windows/NT file system (experimental)
67 file-system CD9660 # ISO 9660 + Rock Ridge file system
68 file-system MSDOSFS # MS-DOS file system
69 file-system NFS # Network File System client
70 file-system FDESC # /dev/fd
71 file-system KERNFS # /kern
72 file-system NULLFS # loopback file system
73 file-system OVERLAY # overlay file system
74 file-system PORTAL # portal filesystem (still experimental)
75 file-system PROCFS # /proc
76 file-system UMAPFS # NULLFS + uid and gid remapping
77 file-system UNION # union file system
78 #file-system CODA # Coda File System; also needs vcoda (below)
79
80 # File system options
81 options QUOTA # FFS quotas
82 #options FFS_EI # FFS Endian Independent support
83 options SOFTDEP # FFS soft updates support.
84 options NFSSERVER # Network File System server
85 #options EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and
86 # immutable) behave as system flags.
87
88 # Networking options
89 #options GATEWAY # IP packet forwarding
90 options INET # IP + ICMP + TCP + UDP
91 options INET6 # IPV6
92 #options IPSEC # IP security
93 #options IPSEC_ESP # IP security (encryption part; define w/IPSEC)
94 #options IPSEC_DEBUG # debug for IP security
95 #options MROUTING # IP multicast routing
96 options NS # XNS
97 #options NSIP # XNS tunneling over IP
98 options ISO,TPIP # OSI networking
99 #options EON # OSI tunneling over IP
100 options CCITT,LLC,HDLC # X.25
101 options NETATALK # AppleTalk networking protocols
102 options PPP_BSDCOMP # BSD-Compress compression support for PPP
103 options PPP_DEFLATE # Deflate compression support for PPP
104 options PPP_FILTER # Active filter support for PPP (requires bpf)
105 options PFIL_HOOKS # pfil(9) packet filter hooks
106 options IPFILTER_LOG # ipmon(8) log support
107
108 # Compatibility with 4.2BSD implementation of TCP/IP. Not recommended.
109 #options TCP_COMPAT_42
110
111 # These options enable verbose messages for several subsystems.
112 # Warning, these may compile large string tables into the kernel!
113 #options EISAVERBOSE # verbose EISA device autoconfig messages
114 options PCIVERBOSE # verbose PCI device autoconfig messages
115 #options PCI_CONFIG_DUMP # verbosely dump PCI config space
116 options SCSIVERBOSE # human readable SCSI error messages
117
118 # wscons terminal emulation
119 options WSEMUL_VT100 # VT100 emulation
120
121 # Kernel root file system and dump configuration.
122 options NFS_BOOT_DHCP,NFS_BOOT_BOOTPARAM
123 config netbsd root on ? type ?
124 #config netbsd root on sd0a type ffs
125 #config netbsd root on ? type nfs
126
127 #
128 # Device configuration
129 #
130
131 mainbus0 at root
132 cpu* at mainbus0
133
134 #### Jazz-Internal bus devices
135
136 # PLATFORM_ACER_PICA_61
137 # PLATFORM_MICROSOFT_JAZZ
138 # PLATFORM_NEC_JC94
139 # PLATFORM_NEC_R94
140 # PLATFORM_NEC_R96
141 # PLATFORM_NEC_RAX94
142 # PLATFORM_NEC_RD94
143 jazzio* at mainbus0 # Jazz-Internal bus host bridge.
144
145 timer0 at jazzio?
146 mcclock0 at jazzio?
147 pc0 at jazzio?
148 opms0 at jazzio?
149 com0 at jazzio?
150 com1 at jazzio?
151 lpt0 at jazzio?
152 sn0 at jazzio?
153
154 fdc0 at jazzio?
155 fd* at fdc? drive ?
156
157 asc0 at jazzio? # NCR53C9x SCSI
158 scsibus* at asc?
159
160 osiop0 at jazzio? flags 0x00000 # NCR53C710 SCSI
161 osiop1 at jazzio? flags 0x00000
162 scsibus* at osiop?
163
164 #oosiop0 at jazzio? # NCR53C700 SCSI
165 #oosiop1 at jazzio?
166 #scsibus* at oosiop?
167
168 #### ISA bus devices
169
170 # PLATFORM_ACER_PICA_61
171 # PLATFORM_MICROSOFT_JAZZ
172 # PLATFORM_NEC_R94
173 # PLATFORM_NEC_R96
174 jazzisabr* at mainbus0 # Jazz-(E)ISA bus bridge.
175 isa* at jazzisabr?
176
177 # PLATFORM_DESKTECH_ARCSTATION_I
178 arcsisabr* at mainbus0 # DESKstation rPC44 ISA host bridge.
179 isa* at arcsisabr?
180
181 # PLATFORM_DESKTECH_TYNE
182 tyneisabr* at mainbus0 # DESKstation Tyne ISA host bridge.
183 isa* at tyneisabr?
184
185 #isadma0 at isa?
186
187 timer0 at isa? port 0x40 irq 0
188 mcclock0 at isa? port 0x70
189
190 pc0 at isa? irq 1 # generic PC console device
191 opms0 at isa? irq 12 # PS/2 auxiliary port mouse
192 #vga0 at isa?
193 #pckbc0 at isa? # PC keyboard controller
194 com0 at isa? port 0x3f8 irq 4
195 com1 at isa? port 0x2f8 irq 3
196 com2 at isa? port 0x3e8 irq 4
197 com3 at isa? port 0x2e8 irq 3
198 ast0 at isa? port 0x1a0 irq 3 # AST 4-port serial cards
199 com* at ast? slave ?
200
201 # Joystick driver. Probe is a little strange; add only if you have one.
202 #joy0 at isa? port 0x201
203
204 # ISA ST506, ESDI, and IDE controllers
205 # Use flags 0x01 if you want to try to use 32bits data I/O (the driver will
206 # fall back to 16bits I/O if 32bits I/O are not functional).
207 # Some controllers pass the initial 32bit test, but will fail later.
208 # XXX - should be configured
209 #wdc0 at isa? port 0x1f0 irq 14 flags 0x00
210 #wdc1 at isa? port 0x170 irq 15 flags 0x00
211 #wdc* at isapnp?
212
213 # IDE drives
214 # Flags are used only with controllers that support DMA operations
215 # and mode settings (e.g. some pciide controllers)
216 # The lowest order four bits (rightmost digit) of the flags define the PIO
217 # mode to use, the next set of four bits the DMA mode and the third set the
218 # UltraDMA mode. For each set of four bits, the 3 lower bits define the mode
219 # to use, and the last bit must be 1 for this setting to be used.
220 # For DMA and UDMA, 0xf (1111) means 'disable'.
221 # 0x0fac means 'use PIO mode 4, DMA mode 2, disable UltraDMA'.
222 # (0xc=1100, 0xa=1010, 0xf=1111)
223 # 0x0000 means "use whatever the drive claims to support".
224 # XXX - should be configured
225 #wd* at wdc? channel ? drive ? flags 0x0000
226
227 # ATAPI bus support
228 # XXX - should be configured
229 #atapibus* at wdc? channel ?
230
231 # ISA parallel printer interfaces
232 lpt0 at isa? port 0x378 irq 7
233
234 # ISA network interfaces
235 # XXX - should be configured
236 #ec0 at isa? port 0x250 iomem 0xd8000 irq 9 # 3Com 3c503 Ethernet
237 #ep0 at isa? port ? irq ? # 3C509 ethernet cards
238 #ne0 at isa? port 0x280 irq 9 # NE[12]000 ethernet cards
239 #ne1 at isa? port 0x300 irq 10
240 #ne* at isapnp? # NE[12]000 PnP ethernet
241 #we0 at isa? port 0x280 iomem 0xd0000 irq 9 # WD/SMC Ethernet
242 #we1 at isa? port 0x300 iomem 0xcc000 irq 10
243 #we* at isapnp?
244
245 # XXX - should be configured
246 #btl0 at isa? port 0x330 irq ? drq ?
247 #scsibus* at btl?
248
249 #### PCI bus devices
250
251 # PLATFORM_NEC_JC94
252 # PLATFORM_NEC_RAX94
253 # PLATFORM_NEC_RD94
254 necpb* at mainbus0 # NEC RISCstation PCI host bridge.
255 pci* at necpb?
256
257 #pcivga* at pci? dev ? function ?
258 tga* at pci? dev ? function ? # DEC ZLXp-E[123] Graphics
259
260 ahc* at pci? dev ? function ? # Adaptec [23]94x, aic78x0 SCSI
261 scsibus* at ahc?
262
263 iha* at pci? dev ? function ? # Initio INIC-940/950 SCSI
264 scsibus* at iha?
265
266 #siop* at pci? dev ? function ? # NCR/Symbios 53c8xx SCSI
267 #scsibus* at siop?
268
269 #de* at pci? dev ? function ?
270 ex* at pci? dev ? function ? # 3Com 90x[B]
271 fxp* at pci? dev ? function ? # Intel EtherExpress PRO
272 le* at pci? dev ? function ? # PCnet-PCI
273 ne* at pci? dev ? function ? # NE2000-compatible
274 tlp* at pci? dev ? function ? # DECchip 21x4x (and clones)
275 #options TLP_MATCH_21040
276 #options TLP_MATCH_21041
277 #options TLP_MATCH_21140
278 #options TLP_MATCH_21142
279
280 # IDE and related devices
281 # PCI IDE controllers - see pciide(4) for supported hardware.
282 # The 0x0001 flag force the driver to use DMA, even if the driver doesn't know
283 # how to set up DMA modes for this chip. This may work, or may cause
284 # a machine hang with some controllers.
285 pciide* at pci ? dev ? function ? flags 0x0000
286 wd* at pciide? channel ? drive ? flags 0x0000
287 atapibus* at pciide? channel ?
288
289 #### MII/PHY support
290
291 exphy* at mii? phy ? # 3Com internal PHYs
292 icsphy* at mii? phy ? # Integrated Circuit Systems ICS1890
293 inphy* at mii? phy ? # Intel 82555 PHYs
294 iophy* at mii? phy ? # Intel 82553 PHYs
295 lxtphy* at mii? phy ? # Level One LXT-970 PHYs
296 nsphy* at mii? phy ? # NS83840 PHYs
297 nsphyter* at mii? phy ? # NS83843 PHYs
298 qsphy* at mii? phy ? # Quality Semiconductor QS6612 PHYs
299 sqphy* at mii? phy ? # Seeq 80220/80221/80223 PHYs
300 tlphy* at mii? phy ? # ThunderLAN PHYs
301 tqphy* at mii? phy ? # TDK Semiconductor PHYs
302 ukphy* at mii? phy ? # generic unknown PHYs
303
304 #### SCSI bus devices
305
306 sd* at scsibus? target ? lun ?
307 st* at scsibus? target ? lun ?
308 cd* at scsibus? target ? lun ?
309 ch* at scsibus? target ? lun ?
310 ss* at scsibus? target ? lun ?
311 uk* at scsibus? target ? lun ?
312
313 #### ATAPI bus devices
314
315 # flags have the same meaning as for IDE drives.
316 cd* at atapibus? drive ? flags 0x0000 # ATAPI CD-ROM drives
317 sd* at atapibus? drive ? flags 0x0000 # ATAPI disk drives
318 uk* at atapibus? drive ? flags 0x0000 # ATAPI unknown
319
320 #### Workstation Console attachments
321
322 wsdisplay* at tga?
323
324 #### Pseudo devices
325
326 # disk/mass storage pseudo-devices
327 pseudo-device ccd 4 # concatenated/striped disk devices
328 #pseudo-device raid 4 # RAIDframe disk driver
329 pseudo-device md 1 # memory disk device (ramdisk)
330 pseudo-device vnd 4 # disk-like interface to files
331
332 # network pseudo-devices
333 pseudo-device bpfilter 8 # Berkeley packet filter
334 pseudo-device ipfilter # IP filter (firewall) and NAT
335 pseudo-device loop 1 # network loopback
336 pseudo-device ppp 2 # Point-to-Point Protocol
337 pseudo-device sl 2 # Serial Line IP
338 #pseudo-device strip 2 # Starmode Radio IP (Metricom)
339 pseudo-device tun 2 # network tunneling over tty
340 #pseudo-device gre 2 # generic L3 over IP tunnel
341 pseudo-device ipip 2 # IP Encapsulation within IP (RFC 2003)
342 pseudo-device gif 4 # IPv[46] over IPv[46] tunnel (RFC1933)
343 #pseudo-device faith 1 # IPv[46] tcp relay translation i/f
344 #pseudo-device stf 1 # 6to4 IPv6 over IPv4 encapsulation
345 pseudo-device vlan # IEEE 802.1q encapsulation
346
347 # miscellaneous pseudo-devices
348 pseudo-device pty # pseudo-terminals
349 pseudo-device tb 1 # tablet line discipline
350 #pseudo-device sequencer 1 # MIDI sequencer
351 # rnd works; RND_COM does not on port arc yet.
352 pseudo-device rnd # /dev/random and in-kernel generator
353 #options RND_COM # use "com" randomness as well (BROKEN)
354
355 # a pseudo device needed for Coda # also needs CODA (above)
356 #pseudo-device vcoda 4 # coda minicache <-> venus comm.
357
358 # mouse & keyboard multiplexor pseudo-devices
359 #pseudo-device wsmux 2
360