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