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