GENERIC revision 1.35 1 # $NetBSD: GENERIC,v 1.35 2004/06/26 07:32:07 abs Exp $
2 #
3 # GENERIC machine description file
4 #
5 # This machine description file is used to generate the default NetBSD
6 # kernel. The generic kernel does not include all options, subsystems
7 # and device drivers, but should be useful for most applications.
8 #
9 # The machine description file can be customised for your specific
10 # machine to reduce the kernel size and improve its performance.
11 #
12 # For further information on compiling NetBSD kernels, see the config(8)
13 # man page.
14 #
15 # For further information on hardware support for this architecture, see
16 # the intro(4) man page. For further information about kernel options
17 # for this architecture, see the options(4) man page. For an explanation
18 # of each device driver in this file see the section 4 man page for the
19 # device.
20
21 include "arch/mipsco/conf/std.mipsco"
22
23 options INCLUDE_CONFIG_FILE # embed config file in kernel binary
24
25 maxusers 16
26
27 options MIPS1 # R2000/R3000 support
28
29 # Standard system options
30 options KTRACE # system call tracing support
31 options SYSTRACE # system call vetting via systrace(1)
32 options SYSVMSG # System V message queues
33 options SYSVSEM # System V semaphores
34 #options SEMMNI=10 # number of semaphore identifiers
35 #options SEMMNS=60 # number of semaphores in system
36 #options SEMUME=10 # max number of undo entries per process
37 #options SEMMNU=30 # number of undo structures in system
38 options SYSVSHM # System V shared memory
39 #options SHMMAXPGS=1024 # 1024 pages is the default
40 #options LKM # loadable kernel modules
41 #options NTP # network time protocol
42 options HZ=25
43 options USERCONF # userconf(4) support
44 #options PIPE_SOCKETPAIR # smaller, but slower pipe(2)
45
46 # Enable experimental buffer queue strategy for better responsiveness under
47 # high disk I/O load. Use it with caution - it's not proven to be stable yet.
48 #options NEW_BUFQ_STRATEGY
49
50 # Debugging options
51 options DDB # kernel dynamic debugger
52 options DDB_HISTORY_SIZE=100 # enable history editing in DDB
53 #options DEBUG # extra kernel debugging support
54 options DIAGNOSTIC # extra kernel sanity checking
55 options SCSIVERBOSE # Verbose SCSI errors
56
57 #options KGDB # Remote kernel debug using gdb
58 #options KGDB_DEV=0x0100 # KGDB port (this is serial0)
59 #options KGDB_DEVRATE=19200 # KGDB Baud Rate (default=19200)
60 #makeoptions DEBUG="-g" # Build kernel with debug symbols
61
62 # Compatibility options
63 options COMPAT_43 # compatibility with 4.3BSD binaries
64 #options COMPAT_10 # NetBSD 1.0 binary compatibility
65 #options COMPAT_11 # NetBSD 1.1 binary compatibility
66 #options COMPAT_12 # NetBSD 1.2 binary compatibility
67 options COMPAT_13 # NetBSD 1.3 binary compatibility
68 options COMPAT_14 # NetBSD 1.4 binary compatibility
69 options COMPAT_16 # NetBSD 1.6 binary compatibility
70 #options EXEC_AOUT # exec a.out binaries
71 #options EXEC_ECOFF # exec ecoff binaries
72 #options TCP_COMPAT_42 # 4.2BSD TCP/IP bug compat. Not recommended.
73
74 # Filesystem options
75 file-system FFS # Berkeley Fast Filesystem
76 file-system NFS # Sun NFS-compatible filesystem client
77 file-system KERNFS # kernel data-structure filesystem
78 #file-system NULLFS # NULL layered filesystem
79 #file-system MFS # memory-based filesystem
80 #file-system FDESC # user file descriptor filesystem
81 #file-system UMAPFS # uid/gid remapping filesystem
82 #file-system LFS # Log-based filesystem (still experimental)
83 #file-system PORTAL # portal filesystem (still experimental)
84 file-system PROCFS # /proc
85 file-system CD9660 # ISO 9660 + Rock Ridge file system
86 #file-system UNION # union file system
87 #file-system MSDOSFS # MS-DOS FAT filesystem(s).
88 #
89 options NFSSERVER # Sun NFS-compatible filesystem server
90 options QUOTA # FFS quotas
91 #options FFS_EI # FFS Endian Independant support
92
93 # Networking options
94 options INET # Internet protocols
95 #options GATEWAY # IP packet forwarding
96 #options MROUTING # packet forwarding of multicast packets
97 #options NS # Xerox NS networking
98 #options NSIP # Xerox NS tunneling over IP
99 #options ISO,TPIP # OSI networking
100 #options EON # OSI tunneling over IP
101 #options CCITT,LLC,HDLC # X.25
102 #options NETATALK # AppleTalk (over Ethernet) protocol
103 #options PPP_BSDCOMP # BSD-Compress compression support for PPP
104 #options PPP_DEFLATE # Deflate compression support for PPP
105 #options PPP_FILTER # Active filter support for PPP (requires bpf)
106 #options PFIL_HOOKS # pfil(9) packet filter hooks
107 #options IPFILTER_LOG # ipmon(8) log support
108 #options IPFILTER_DEFAULT_BLOCK # block all packets by default
109 #options TCP_DEBUG # Record last TCP_NDEBUG packets with SO_DEBUG
110
111 #options ALTQ # Manipulate network interfaces' output queues
112 #options ALTQ_BLUE # Stochastic Fair Blue
113 #options ALTQ_CBQ # Class-Based Queueing
114 #options ALTQ_CDNR # Diffserv Traffic Conditioner
115 #options ALTQ_FIFOQ # First-In First-Out Queue
116 #options ALTQ_FLOWVALVE # RED/flow-valve (red-penalty-box)
117 #options ALTQ_HFSC # Hierarchical Fair Service Curve
118 #options ALTQ_LOCALQ # Local queueing discipline
119 #options ALTQ_PRIQ # Priority Queueing
120 #options ALTQ_RED # Random Early Detection
121 #options ALTQ_RIO # RED with IN/OUT
122 #options ALTQ_WFQ # Weighted Fair Queueing
123
124 config netbsd root on ? type ?
125
126 mainbus0 at root
127
128 cpu0 at mainbus0
129 obio0 at mainbus0
130
131 mkclock0 at obio0 addr 0xbd000000 # MK48T02 realtime clock
132
133 rambo0 at obio0 addr 0xbc000000 # RAMBO DMA & timer asic
134
135 le0 at obio0 addr 0xba000000 # onboard LANCE ethernet
136
137 # Not currently implemented
138 #kb0 at obio0 addr 0xbfd00000 # keyboard
139 #fb0 at obio0 addr 0x88000000 # framebuffer
140
141 fd0 at obio0 addr 0xbe000000 # i82072 floppy disk controller
142
143 zsc0 at obio0 addr 0xbb000000 # Base address for Z8530 SCC
144 zstty0 at zsc0 channel 0 # tty00
145 zstty1 at zsc0 channel 1 # tty01
146
147 asc0 at obio0 addr 0xb8000000 # onboard NCR 53c94 SCSI controller
148
149 scsibus0 at asc0
150
151 sd* at scsibus? target ? lun ? # SCSI disks
152 st* at scsibus? target ? lun ? # SCSI tapes
153 cd* at scsibus? target ? lun ? # SCSI CD-ROMs
154 ch* at scsibus? target ? lun ? # SCSI changer devices
155
156 pseudo-device loop # loopback interface; required
157 pseudo-device pty # pseudo-terminals
158 #pseudo-device sl 2 # SLIP interfaces
159 #pseudo-device ppp 2 # PPP interfaces
160 #pseudo-device pppoe # PPP over Ethernet (RFC 2516)
161 pseudo-device tun 4 # Network "tunnel" device
162 #pseudo-device gre 2 # generic L3 over IP tunnel
163 pseudo-device bpfilter 16 # Berkeley Packet Filter
164 #pseudo-device vnd 4 # disk-like interface to files
165 #pseudo-device ccd 4 # concatenated and striped disks
166 #pseudo-device cgd 4 # cryptographic disks
167 #pseudo-device raid 8 # RAIDframe disk driver
168 # Options to enable various other RAIDframe RAID types.
169 # options RF_INCLUDE_EVENODD=1
170 # options RF_INCLUDE_RAID5_RS=1
171 # options RF_INCLUDE_PARITYLOGGING=1
172 # options RF_INCLUDE_CHAINDECLUSTER=1
173 # options RF_INCLUDE_INTERDECLUSTER=1
174 # options RF_INCLUDE_PARITY_DECLUSTERING=1
175 # options RF_INCLUDE_PARITY_DECLUSTERING_DS=1
176 #pseudo-device strip 1 # radio clock
177 #pseudo-device ipfilter # ip filter
178 pseudo-device vlan # IEEE 802.1q encapsulation
179 pseudo-device bridge # simple inter-network bridging
180 #options BRIDGE_IPF # bridge uses IP/IPv6 pfil hooks too
181 pseudo-device clockctl # user control of clock subsystem
182
183 # random number generator pseudo-device
184 pseudo-device rnd # /dev/random and in-kernel generator
185 #options RND_COM # use "com" randomness as well (BROKEN)
186 pseudo-device ksyms # /dev/ksyms
187 #pseudo-device pf # PF packet filter
188 #pseudo-device pflog # PF log if
189