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