PCCONS revision 1.4 1 1.4 jdolecek # $NetBSD: PCCONS,v 1.4 2000/09/24 15:59:28 jdolecek 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.1 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.1 soda #### Pica bus devices
123 1.1 soda
124 1.1 soda pica* at mainbus0 # ACER Pica systems local bus.
125 1.1 soda aclock0 at pica?
126 1.1 soda pc0 at pica?
127 1.1 soda opms0 at pica?
128 1.1 soda com0 at pica?
129 1.1 soda com1 at pica?
130 1.1 soda lpt0 at pica?
131 1.1 soda sn0 at pica?
132 1.1 soda
133 1.1 soda fdc0 at pica?
134 1.1 soda fd* at fdc? drive ?
135 1.1 soda
136 1.1 soda asc0 at pica?
137 1.1 soda scsibus* at asc?
138 1.1 soda
139 1.1 soda #siop0 at pica?
140 1.1 soda #scsibus* at siop?
141 1.1 soda
142 1.1 soda #### ISA bus devices
143 1.1 soda
144 1.1 soda isabr* at mainbus0 # ISA Bus bridge (std ISA bus).
145 1.1 soda isa* at isabr?
146 1.1 soda #isadma0 at isa?
147 1.1 soda
148 1.1 soda aclock0 at isa? port 0x70 irq 0
149 1.1 soda
150 1.1 soda pc0 at isa? port 0x60 irq 1 # generic PC console device
151 1.1 soda com0 at isa? port 0x3f8 irq 4
152 1.1 soda com1 at isa? port 0x2f8 irq 3
153 1.1 soda com2 at isa? port 0x3e8 irq 4
154 1.1 soda com3 at isa? port 0x2e8 irq 3
155 1.1 soda ast0 at isa? port 0x1a0 irq 3 # AST 4-port serial cards
156 1.1 soda com* at ast? slave ?
157 1.1 soda
158 1.1 soda # Joystick driver. Probe is a little strange; add only if you have one.
159 1.1 soda #joy0 at isa? port 0x201
160 1.1 soda
161 1.1 soda # ISA ST506, ESDI, and IDE controllers
162 1.1 soda # Use flags 0x01 if you want to try to use 32bits data I/O (the driver will
163 1.1 soda # fall back to 16bits I/O if 32bits I/O are not functional).
164 1.1 soda # Some controllers pass the initial 32bit test, but will fail later.
165 1.1 soda # XXX - should be configured
166 1.1 soda #wdc0 at isa? port 0x1f0 irq 14 flags 0x00
167 1.1 soda #wdc1 at isa? port 0x170 irq 15 flags 0x00
168 1.1 soda #wdc* at isapnp?
169 1.1 soda
170 1.1 soda # IDE drives
171 1.1 soda # Flags are used only with controllers that support DMA operations
172 1.1 soda # and mode settings (e.g. some pciide controllers)
173 1.1 soda # The lowest order four bits (rightmost digit) of the flags define the PIO
174 1.1 soda # mode to use, the next set of four bits the DMA mode and the third set the
175 1.1 soda # UltraDMA mode. For each set of four bits, the 3 lower bits define the mode
176 1.1 soda # to use, and the last bit must be 1 for this setting to be used.
177 1.1 soda # For DMA and UDMA, 0xf (1111) means 'disable'.
178 1.1 soda # 0x0fac means 'use PIO mode 4, DMA mode 2, disable UltraDMA'.
179 1.1 soda # (0xc=1100, 0xa=1010, 0xf=1111)
180 1.1 soda # 0x0000 means "use whatever the drive claims to support".
181 1.1 soda # XXX - should be configured
182 1.1 soda #wd* at wdc? channel ? drive ? flags 0x0000
183 1.1 soda
184 1.1 soda # ATAPI bus support
185 1.1 soda # XXX - should be configured
186 1.1 soda #atapibus* at wdc? channel ?
187 1.1 soda
188 1.1 soda # ISA parallel printer interfaces
189 1.1 soda lpt0 at isa? port 0x378 irq 7
190 1.1 soda
191 1.1 soda # ISA network interfaces
192 1.1 soda # XXX - should be configured
193 1.1 soda #ec0 at isa? port 0x250 iomem 0xd8000 irq 9 # 3Com 3c503 Ethernet
194 1.1 soda #ep0 at isa? port ? irq ? # 3C509 ethernet cards
195 1.1 soda #ne0 at isa? port 0x280 irq 9 # NE[12]000 ethernet cards
196 1.1 soda #ne1 at isa? port 0x300 irq 10
197 1.1 soda #ne* at isapnp? # NE[12]000 PnP ethernet
198 1.1 soda #we0 at isa? port 0x280 iomem 0xd0000 irq 9 # WD/SMC Ethernet
199 1.1 soda #we1 at isa? port 0x300 iomem 0xcc000 irq 10
200 1.1 soda #we* at isapnp?
201 1.1 soda
202 1.1 soda # XXX - should be configured
203 1.1 soda #btl0 at isa? port 0x330 irq ? drq ?
204 1.1 soda #scsibus* at btl?
205 1.1 soda
206 1.1 soda #### Algor bus devices
207 1.1 soda
208 1.1 soda #algor* at mainbus0 # Algorithmics local bus.
209 1.1 soda
210 1.1 soda #aclock0 at algor?
211 1.1 soda #com0 at algor?
212 1.1 soda #com1 at algor?
213 1.1 soda #lpt0 at algor?
214 1.1 soda
215 1.1 soda #### PCI bus devices
216 1.1 soda
217 1.1 soda necpb* at mainbus0 # NEC RISCstation PCI host bridge.
218 1.1 soda pci* at necpb?
219 1.1 soda
220 1.1 soda #pbcpcibr* at mainbus0 # Algorithmics PCI bus bridge.
221 1.1 soda #pci* at pbcpcibr?
222 1.1 soda
223 1.1 soda #pcivga* at pci? dev ? function ?
224 1.1 soda #siop* at pci? dev ? function ?
225 1.1 soda #scsibus* at siop?
226 1.1 soda #de* at pci? dev ? function ?
227 1.1 soda
228 1.1 soda ex* at pci? dev ? function ? # 3Com 90x[B]
229 1.1 soda fxp* at pci? dev ? function ? # Intel EtherExpress PRO
230 1.1 soda le* at pci? dev ? function ? # PCnet-PCI
231 1.1 soda ne* at pci? dev ? function ? # NE2000-compatible
232 1.1 soda tlp* at pci? dev ? function ? # DECchip 21x4x (and clones)
233 1.1 soda #options TLP_MATCH_21040
234 1.1 soda #options TLP_MATCH_21041
235 1.1 soda #options TLP_MATCH_21140
236 1.1 soda #options TLP_MATCH_21142
237 1.1 soda
238 1.1 soda # IDE and related devices
239 1.1 soda # PCI IDE controllers - see pciide(4) for supported hardware.
240 1.1 soda # The 0x0001 flag force the driver to use DMA, even if the driver doesn't know
241 1.1 soda # how to set up DMA modes for this chip. This may work, or may cause
242 1.1 soda # a machine hang with some controllers.
243 1.1 soda pciide* at pci ? dev ? function ? flags 0x0000
244 1.1 soda wd* at pciide? channel ? drive ? flags 0x0000
245 1.1 soda atapibus* at pciide? channel ?
246 1.1 soda
247 1.1 soda tga* at pci? dev ? function ? # DEC ZLXp-E[123] Graphics
248 1.1 soda wsdisplay* at tga?
249 1.1 soda ahc* at pci? dev ? function ? # Adaptec [23]94x, aic78x0 SCSI
250 1.1 soda scsibus* at ahc?
251 1.1 soda
252 1.1 soda #### MII/PHY support
253 1.1 soda
254 1.1 soda exphy* at mii? phy ? # 3Com internal PHYs
255 1.1 soda icsphy* at mii? phy ? # Integrated Circuit Systems ICS1890
256 1.1 soda inphy* at mii? phy ? # Intel 82555 PHYs
257 1.1 soda iophy* at mii? phy ? # Intel 82553 PHYs
258 1.1 soda lxtphy* at mii? phy ? # Level One LXT-970 PHYs
259 1.1 soda nsphy* at mii? phy ? # NS83840 PHYs
260 1.1 soda nsphyter* at mii? phy ? # NS83843 PHYs
261 1.1 soda qsphy* at mii? phy ? # Quality Semiconductor QS6612 PHYs
262 1.1 soda sqphy* at mii? phy ? # Seeq 80220/80221/80223 PHYs
263 1.1 soda tlphy* at mii? phy ? # ThunderLAN PHYs
264 1.1 soda tqphy* at mii? phy ? # TDK Semiconductor PHYs
265 1.1 soda ukphy* at mii? phy ? # generic unknown PHYs
266 1.1 soda
267 1.1 soda #### SCSI bus devices
268 1.1 soda
269 1.1 soda sd* at scsibus? target ? lun ?
270 1.1 soda st* at scsibus? target ? lun ?
271 1.1 soda cd* at scsibus? target ? lun ?
272 1.1 soda ch* at scsibus? target ? lun ?
273 1.1 soda ss* at scsibus? target ? lun ?
274 1.1 soda uk* at scsibus? target ? lun ?
275 1.1 soda
276 1.1 soda #### ATAPI bus devices
277 1.1 soda
278 1.1 soda # flags have the same meaning as for IDE drives.
279 1.1 soda cd* at atapibus? drive ? flags 0x0000 # ATAPI CD-ROM drives
280 1.1 soda sd* at atapibus? drive ? flags 0x0000 # ATAPI disk drives
281 1.1 soda uk* at atapibus? drive ? flags 0x0000 # ATAPI unknown
282 1.1 soda
283 1.1 soda #### Pseudo devices
284 1.1 soda
285 1.1 soda # disk/mass storage pseudo-devices
286 1.1 soda pseudo-device ccd 4 # concatenated/striped disk devices
287 1.1 soda #pseudo-device raid 4 # RAIDframe disk driver
288 1.1 soda pseudo-device md 1 # memory disk device (ramdisk)
289 1.1 soda pseudo-device vnd 4 # disk-like interface to files
290 1.1 soda
291 1.1 soda # network pseudo-devices
292 1.1 soda pseudo-device bpfilter 8 # Berkeley packet filter
293 1.1 soda pseudo-device ipfilter # IP filter (firewall) and NAT
294 1.1 soda pseudo-device loop 1 # network loopback
295 1.1 soda pseudo-device ppp 2 # Point-to-Point Protocol
296 1.1 soda pseudo-device sl 2 # Serial Line IP
297 1.1 soda #pseudo-device strip 2 # Starmode Radio IP (Metricom)
298 1.1 soda pseudo-device tun 2 # network tunneling over tty
299 1.1 soda #pseudo-device gre 2 # generic L3 over IP tunnel
300 1.1 soda pseudo-device ipip 2 # IP Encapsulation within IP (RFC 2003)
301 1.1 soda pseudo-device gif 4 # IPv[46] over IPv[46] tunnel (RFC1933)
302 1.1 soda #pseudo-device faith 1 # IPv[46] tcp relay translation i/f
303 1.1 soda #pseudo-device stf 1 # 6to4 IPv6 over IPv4 encapsulation
304 1.1 soda
305 1.1 soda # miscellaneous pseudo-devices
306 1.4 jdolecek pseudo-device pty # pseudo-terminals
307 1.1 soda pseudo-device tb 1 # tablet line discipline
308 1.1 soda #pseudo-device sequencer 1 # MIDI sequencer
309 1.1 soda # rnd works; RND_COM does not on port arc yet.
310 1.1 soda pseudo-device rnd # /dev/random and in-kernel generator
311 1.1 soda #options RND_COM # use "com" randomness as well (BROKEN)
312 1.1 soda
313 1.1 soda # a pseudo device needed for Coda # also needs CODA (above)
314 1.1 soda #pseudo-device vcoda 4 # coda minicache <-> venus comm.
315 1.1 soda
316 1.1 soda # mouse & keyboard multiplexor pseudo-devices
317 1.1 soda #pseudo-device wsmux 2
318