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
7include		"arch/arc/conf/std.arc"
8
9maxusers	32		# estimated number of users
10
11# Platform support
12options 	PLATFORM_ACER_PICA_61		# Pica, NEC ImageRISCstation
13options 	PLATFORM_DESKTECH_ARCSTATION_I	# DESKstation rPC44
14options 	PLATFORM_DESKTECH_TYNE		# DESKstation Tyne
15options 	PLATFORM_MICROSOFT_JAZZ		# MIPS Magnum
16options 	PLATFORM_NEC_JC94		# NEC Express 5800/230 PCI R4K
17options 	PLATFORM_NEC_R94		# NEC RISCstation 2200 EISA
18options 	PLATFORM_NEC_R96      # NEC Express RISCserver, RISCserver 2200
19options 	PLATFORM_NEC_RAX94		# NEC RISCstation 2200 PCI
20options 	PLATFORM_NEC_RD94		# NEC RISCstation 2250
21options 	PLATFORM_SNI_RM200PCI
22
23# Standard system options
24
25options 	RTC_OFFSET=0	# hardware clock is this many mins. west of GMT
26options 	NTP		# NTP phase/frequency locked loop
27
28options 	KTRACE		# system call tracing via ktrace(1)
29
30options 	SYSVMSG		# System V-like message queues
31options 	SYSVSEM		# System V-like semaphores
32options 	SYSVSHM		# System V-like memory sharing
33#options 	SHMMAXPGS=1024	# 1024 pages is the default
34
35options 	LKM		# loadable kernel modules
36
37# Diagnostic/debugging support options
38options 	DIAGNOSTIC	# cheap kernel consistency checks
39#options 	DEBUG		# expensive debugging checks/support
40#options 	KMEMSTATS	# kernel memory statistics (vmstat -m)
41options 	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
49options 	COMPAT_10	# NetBSD 1.0,
50options 	COMPAT_11	# NetBSD 1.1,
51options 	COMPAT_12	# NetBSD 1.2,
52options 	COMPAT_13	# NetBSD 1.3,
53options 	COMPAT_14	# NetBSD 1.4,
54options 	COMPAT_43	# and 4.3BSD
55options 	COMPAT_386BSD_MBRPART # recognize old partition ID
56
57# mipsel specific
58options 	COMPAT_ULTRIX	# Ultrix binary compatibility
59options 	EXEC_ECOFF	# Ultrix RISC binaries are ECOFF format
60
61# File systems
62file-system 	FFS		# fast filesystem
63file-system 	EXT2FS		# second extended file system (linux)
64file-system 	LFS		# log-structured file system
65file-system 	MFS		# memory file system
66file-system 	NTFS		# Windows/NT file system (experimental)
67file-system 	CD9660		# ISO 9660 + Rock Ridge file system
68file-system 	MSDOSFS		# MS-DOS file system
69file-system 	NFS		# Network File System client
70file-system 	FDESC		# /dev/fd
71file-system 	KERNFS		# /kern
72file-system 	NULLFS		# loopback file system
73file-system 	OVERLAY		# overlay file system
74file-system 	PORTAL		# portal filesystem (still experimental)
75file-system 	PROCFS		# /proc
76file-system 	UMAPFS		# NULLFS + uid and gid remapping
77file-system 	UNION		# union file system
78#file-system	CODA		# Coda File System; also needs vcoda (below)
79
80# File system options
81options 	QUOTA		# FFS quotas
82#options 	FFS_EI		# FFS Endian Independent support
83options 	SOFTDEP		# FFS soft updates support.
84options 	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
90options 	INET		# IP + ICMP + TCP + UDP
91options 	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
96options 	NS		# XNS
97#options 	NSIP		# XNS tunneling over IP
98options 	ISO,TPIP	# OSI networking
99#options 	EON		# OSI tunneling over IP
100options 	CCITT,LLC,HDLC	# X.25
101options 	NETATALK	# AppleTalk networking protocols
102options 	PPP_BSDCOMP	# BSD-Compress compression support for PPP
103options 	PPP_DEFLATE	# Deflate compression support for PPP
104options 	PPP_FILTER	# Active filter support for PPP (requires bpf)
105options 	PFIL_HOOKS	# pfil(9) packet filter hooks
106options 	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
114options 	PCIVERBOSE	# verbose PCI device autoconfig messages
115#options 	PCI_CONFIG_DUMP	# verbosely dump PCI config space
116options 	SCSIVERBOSE	# human readable SCSI error messages
117
118# wscons terminal emulation
119options 	WSEMUL_VT100	# VT100 emulation
120
121# Kernel root file system and dump configuration.
122options 	NFS_BOOT_DHCP,NFS_BOOT_BOOTPARAM
123config		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
131mainbus0	at root
132cpu*		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
143jazzio*		at mainbus0	# Jazz-Internal bus host bridge.
144
145timer0		at jazzio?
146mcclock0 	at jazzio?
147pc0		at jazzio?
148opms0		at jazzio?
149com0		at jazzio?
150com1		at jazzio?
151lpt0		at jazzio?
152sn0		at jazzio?
153
154fdc0		at jazzio?
155fd*		at fdc? drive ?
156
157asc0		at jazzio?			# NCR53C9x SCSI
158scsibus* 	at asc?
159
160osiop0		at jazzio? flags 0x00000	# NCR53C710 SCSI
161osiop1		at jazzio? flags 0x00000
162scsibus* 	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
174jazzisabr*	at mainbus0	# Jazz-(E)ISA bus bridge.
175isa*		at jazzisabr?
176
177# PLATFORM_DESKTECH_ARCSTATION_I
178arcsisabr*	at mainbus0	# DESKstation rPC44 ISA host bridge.
179isa*		at arcsisabr?
180
181# PLATFORM_DESKTECH_TYNE
182tyneisabr*	at mainbus0	# DESKstation Tyne ISA host bridge.
183isa*		at tyneisabr?
184
185#isadma0 	at isa?
186
187timer0		at isa? port 0x40 irq 0
188mcclock0 	at isa? port 0x70
189
190pc0		at isa? irq 1			# generic PC console device
191opms0		at isa? irq 12			# PS/2 auxiliary port mouse
192#vga0		at isa?
193#pckbc0		at isa?				# PC keyboard controller
194com0		at isa? port 0x3f8 irq 4
195com1		at isa? port 0x2f8 irq 3
196com2		at isa? port 0x3e8 irq 4
197com3		at isa? port 0x2e8 irq 3
198ast0		at isa? port 0x1a0 irq 3	# AST 4-port serial cards
199com*		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
232lpt0		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
254necpb*		at mainbus0	# NEC RISCstation PCI host bridge.
255pci*		at necpb?
256
257#pcivga* 	at pci? dev ? function ?
258tga*		at pci? dev ? function ?	# DEC ZLXp-E[123] Graphics
259
260ahc*		at pci? dev ? function ?	# Adaptec [23]94x, aic78x0 SCSI
261scsibus*	at ahc?
262
263iha*		at pci? dev ? function ?	# Initio INIC-940/950 SCSI
264scsibus*	at iha?
265
266#siop*		at pci? dev ? function ?	# NCR/Symbios 53c8xx SCSI
267#scsibus* 	at siop?
268
269#de*		at pci? dev ? function ?
270ex*		at pci? dev ? function ?	# 3Com 90x[B]
271fxp*		at pci? dev ? function ?	# Intel EtherExpress PRO
272le*		at pci? dev ? function ?	# PCnet-PCI
273ne*		at pci? dev ? function ?	# NE2000-compatible
274tlp*		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.
285pciide*		at pci ? dev ? function ? flags 0x0000
286wd*		at pciide? channel ? drive ? flags 0x0000
287atapibus*	at pciide? channel ?
288
289#### MII/PHY support
290
291exphy*		at mii? phy ?		# 3Com internal PHYs
292icsphy*		at mii? phy ?		# Integrated Circuit Systems ICS1890
293inphy*		at mii? phy ?		# Intel 82555 PHYs
294iophy*		at mii? phy ?		# Intel 82553 PHYs
295lxtphy*		at mii? phy ?		# Level One LXT-970 PHYs
296nsphy*		at mii? phy ?		# NS83840 PHYs
297nsphyter*	at mii? phy ?		# NS83843 PHYs
298qsphy*		at mii? phy ?		# Quality Semiconductor QS6612 PHYs
299sqphy*		at mii? phy ?		# Seeq 80220/80221/80223 PHYs
300tlphy*		at mii? phy ?		# ThunderLAN PHYs
301tqphy*		at mii? phy ?		# TDK Semiconductor PHYs
302ukphy*		at mii? phy ?		# generic unknown PHYs
303
304#### SCSI bus devices
305
306sd*		at scsibus? target ? lun ?
307st*		at scsibus? target ? lun ?
308cd*		at scsibus? target ? lun ?
309ch*		at scsibus? target ? lun ?
310ss*		at scsibus? target ? lun ?
311uk*		at scsibus? target ? lun ?
312
313#### ATAPI bus devices
314
315# flags have the same meaning as for IDE drives.
316cd*		at atapibus? drive ? flags 0x0000	# ATAPI CD-ROM drives
317sd*		at atapibus? drive ? flags 0x0000	# ATAPI disk drives
318uk*		at atapibus? drive ? flags 0x0000	# ATAPI unknown
319
320#### Workstation Console attachments
321
322wsdisplay*	at tga?
323
324#### Pseudo devices
325
326# disk/mass storage pseudo-devices
327pseudo-device	ccd		4	# concatenated/striped disk devices
328#pseudo-device	raid		4	# RAIDframe disk driver
329pseudo-device	md		1	# memory disk device (ramdisk)
330pseudo-device	vnd		4	# disk-like interface to files
331
332# network pseudo-devices
333pseudo-device	bpfilter	8	# Berkeley packet filter
334pseudo-device	ipfilter		# IP filter (firewall) and NAT
335pseudo-device	loop		1	# network loopback
336pseudo-device	ppp		2	# Point-to-Point Protocol
337pseudo-device	sl		2	# Serial Line IP
338#pseudo-device	strip		2	# Starmode Radio IP (Metricom)
339pseudo-device	tun		2	# network tunneling over tty
340#pseudo-device	gre		2	# generic L3 over IP tunnel
341pseudo-device	ipip		2	# IP Encapsulation within IP (RFC 2003)
342pseudo-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
345pseudo-device	vlan			# IEEE 802.1q encapsulation
346
347# miscellaneous pseudo-devices
348pseudo-device	pty			# pseudo-terminals
349pseudo-device	tb		1	# tablet line discipline
350#pseudo-device	sequencer	1	# MIDI sequencer
351# rnd works; RND_COM does not on port arc yet.
352pseudo-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