GENERIC revision 1.68 1 # $NetBSD: GENERIC,v 1.68 2008/07/31 07:41:07 simonb Exp $
2
3 include "arch/sbmips/conf/std.sbmips"
4
5 options INCLUDE_CONFIG_FILE # embed config file in kernel binary
6
7 #ident "GENERIC-$Revision: 1.68 $"
8
9 #options LOCKDEBUG # XXX XXX XXX XXX
10 #options DEBUG # extra kernel debugging support
11
12 # The following three options are required for BCM1250 pass 1 silicon
13 #options SB1250_PASS1
14 #options NOFPU
15 #options SOFTFLOAT
16
17 maxusers 32
18
19 # Standard system options
20 options KTRACE # system call tracing support
21 options SYSVMSG # System V message queues
22 options SYSVSEM # System V semaphores
23 options SYSVSHM # System V shared memory
24 #options SHMMAXPGS=1024 # 1024 pages is the default
25 options P1003_1B_SEMAPHORE # p1003.1b semaphore support
26 options LKM # loadable kernel modules
27 #options NTP # network time protocol
28
29 # Debugging options
30 #options DIAGNOSTIC # extra kernel sanity checking
31 #options DEBUG # extra kernel debugging support
32 #options KMEMSTATS # kernel memory statistics (vmstat -m)
33 options USERCONF # userconf(4) support
34 options SYSCTL_INCLUDE_DESCR # Include sysctl descriptions in kernel
35 options DDB # kernel dynamic debugger
36 options DDB_HISTORY_SIZE=100 # enable history editing in DDB
37 #makeoptions DEBUG="-g" # compile full symbol table
38 options SYMTAB_SPACE=310000 # size for embedded symbol table
39
40 # Compatibility options
41 options COMPAT_43 # compatibility with 4.3BSD binaries
42 #options COMPAT_09 # NetBSD 0.9 binary compatibility
43 #options COMPAT_10 # NetBSD 1.0 binary compatibility
44 #options COMPAT_11 # NetBSD 1.1 binary compatibility
45 #options COMPAT_12 # NetBSD 1.2 binary compatibility
46 #options COMPAT_13 # NetBSD 1.3 binary compatibility
47 #options COMPAT_14 # NetBSD 1.4 binary compatibility
48 #options COMPAT_15 # NetBSD 1.5 binary compatibility
49 options COMPAT_16 # NetBSD 1.6 binary compatibility
50 options COMPAT_20 # NetBSD 2.0 binary compatibility
51 options COMPAT_30 # NetBSD 3.0 compatibility.
52 options COMPAT_40 # NetBSD 4.0 compatibility.
53 #options EXEC_ECOFF # exec ECOFF binaries
54 #options COMPAT_ULTRIX # binary compatibility with Ultrix
55 options COMPAT_BSDPTY # /dev/[pt]ty?? ptys.
56
57 # File systems
58 file-system FFS # Berkeley Fast Filesystem
59 file-system NFS # Sun NFS-compatible filesystem client
60 file-system KERNFS # kernel data-structure filesystem
61 #file-system NULLFS # NULL layered filesystem
62 file-system OVERLAY # overlay file system
63 file-system MFS # memory-based filesystem
64 file-system FDESC # user file descriptor filesystem
65 #file-system UMAPFS # uid/gid remapping filesystem
66 file-system LFS # Log-based filesystem (still experimental)
67 #file-system PORTAL # portal filesystem (still experimental)
68 file-system PROCFS # /proc
69 #file-system CD9660 # ISO 9660 + Rock Ridge file system
70 #file-system UNION # union file system
71 #file-system MSDOSFS # MS-DOS FAT filesystem(s).
72 #file-system CODA # Coda File System; also needs vcoda (below)
73 file-system PTYFS # /dev/pts/N support
74 #file-system TMPFS # Efficient memory file-system
75 #file-system UDF # experimental - OSTA UDF CD/DVD file-system
76
77 # File system options
78 options NFSSERVER # Sun NFS-compatible filesystem server
79 options QUOTA # FFS quotas
80 #options FFS_NO_SNAPSHOT # No FFS snapshot support
81 #options FFS_EI # FFS Endian Independant support
82 #options SOFTDEP # FFS soft updates support.
83 options WAPBL # File system journaling support - Experimental
84 #options UFS_DIRHASH # UFS Large Directory Hashing - Experimental
85 #options EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and
86 # immutable) behave as system flags.
87
88 # Networking options
89 #options GATEWAY # IP packet forwarding
90 options INET # Internet protocols
91 options INET6 # IPV6
92 #options IPSEC # IP security
93 #options IPSEC_ESP # IP security (encryption part; define w/IPSEC)
94 #options IPSEC_NAT_T # IPsec NAT traversal (NAT-T)
95 #options IPSEC_DEBUG # debug for IP security
96 #options MROUTING # packet forwarding of multicast packets
97 #options PIM # Protocol Independent Multicast
98 #options ISO,TPIP # OSI networking
99 #options EON # OSI tunneling over IP
100 #options NETATALK # AppleTalk (over Ethernet) protocol
101 #options PPP_BSDCOMP # BSD-Compress compression support for PPP
102 #options PPP_DEFLATE # Deflate compression support for PPP
103 options PPP_FILTER # Active filter support for PPP (requires bpf)
104 options PFIL_HOOKS # pfil(9) packet filter hooks
105 options IPFILTER_LOG # ipmon(8) log support
106 options IPFILTER_LOOKUP # ippool(8) support
107 #options IPFILTER_DEFAULT_BLOCK # block all packets by default
108
109 #options ALTQ # Manipulate network interfaces' output queues
110 #options ALTQ_BLUE # Stochastic Fair Blue
111 #options ALTQ_CBQ # Class-Based Queueing
112 #options ALTQ_CDNR # Diffserv Traffic Conditioner
113 #options ALTQ_FIFOQ # First-In First-Out Queue
114 #options ALTQ_FLOWVALVE # RED/flow-valve (red-penalty-box)
115 #options ALTQ_HFSC # Hierarchical Fair Service Curve
116 #options ALTQ_LOCALQ # Local queueing discipline
117 #options ALTQ_PRIQ # Priority Queueing
118 #options ALTQ_RED # Random Early Detection
119 #options ALTQ_RIO # RED with IN/OUT
120 #options ALTQ_WFQ # Weighted Fair Queueing
121
122 # Compatibility with 4.2BSD implementation of TCP/IP. Not recommended.
123 #options TCP_COMPAT_42
124
125 # These options enable verbose messages for several subsystems.
126 # Warning, these may compile large string tables into the kernel!
127 options PCIVERBOSE # verbose PCI device autoconfig messages
128 #options PCI_CONFIG_DUMP # verbosely dump PCI config space
129 #options SCSIVERBOSE # human readable SCSI error messages
130 options MIIVERBOSE # verbose PHY autoconfig messages
131
132 options NFS_BOOT_DHCP
133
134 #config netbsd root on ? type ?
135 config netbsd root on sbmac0 type nfs
136
137 zbbus* at root
138
139 cpu* at zbbus? busid ?
140 sbscd* at zbbus? busid ?
141 sbobio* at zbbus? busid ?
142
143 #sbicu* at sbscd? offset ?
144 sbwdog* at sbscd? offset ? intr ?
145 sbtimer0 at sbscd? offset ? intr ? flags 0x01 # clock
146 #sbtimer1 at sbscd? offset ? intr ? flags 0x02 # statclock
147 sbtimer* at sbscd? offset ? intr ?
148
149 sbmac* at sbobio? offset ?
150 sbscn* at sbobio? offset ?
151 #sbgbus* at sbobio? offset ?
152 smbus* at sbobio? offset ?
153
154 xirtc* at smbus? chan ? dev ? # Xicor X1241 RTC
155 m41t81rtc* at smbus? chan ? dev ? # ST M41T81 RTC
156
157 # MII/PHY support
158 brgphy* at mii? phy ?
159
160 # Pseudo-devices
161
162 # Disk/mass storage pseudo-devices
163 pseudo-device ccd 4 # concatenated disk devices
164 #pseudo-device cgd 4 # cryptographic disk devices
165 #pseudo-device raid 4 # RAIDframe disk driver
166 #options RAID_AUTOCONFIG # auto-configuration of RAID
167 pseudo-device md 1 # memory disk device (ramdisk)
168 pseudo-device vnd # disk-like interface to files
169 #options VND_COMPRESSION # compressed vnd(4)
170
171 # Network pseudo-devices
172 pseudo-device bpfilter # Berkeley packet filter
173 #pseudo-device carp # Common Address Redundancy Protocol
174 pseudo-device ipfilter # IP filter (firewall) and NAT
175 pseudo-device loop # network loopback
176 #pseudo-device ppp # Point-to-Point Protocol
177 #pseudo-device pppoe # PPP over Ethernet (RFC 2516)
178 #pseudo-device sl # Serial Line IP
179 #pseudo-device strip # Starmode Radio IP (Metricom)
180 #pseudo-device irframetty # IrDA frame line discipline
181 #pseudo-device tun # network tunneling over tty
182 #pseudo-device tap # virtual Ethernet
183 #pseudo-device gre # generic L3 over IP tunnel
184 #pseudo-device ipip 2 # RFC 2003 IP Encapsulation
185 #pseudo-device gif # RFC1933 tunnel
186 #pseudo-device faith # IPv[46] tcp relay translation
187 #pseudo-device stf # 6to4 IPv6 over IPv4 encapsulation
188 pseudo-device vlan # IEEE 802.1q encapsulation
189 pseudo-device bridge # simple inter-network bridging
190 #options BRIDGE_IPF # bridge uses IP/IPv6 pfil hooks too
191 pseudo-device agr # IEEE 802.3ad link aggregation
192
193 # Miscellaneous pseudo-devices
194 pseudo-device pty # pseudo-terminals
195 #pseudo-device sequencer 1 # MIDI sequencer
196 pseudo-device rnd # /dev/random & kernel generator
197 pseudo-device clockctl # user control of clock subsystem
198 pseudo-device ksyms # /dev/ksyms
199 #pseudo-device pf # PF packet filter
200 #pseudo-device pflog # PF log if
201
202 # A pseudo device needed for Coda # also needs CODA (above)
203 #pseudo-device vcoda 4 # coda minicache <-> venus comm.
204
205 # Veriexec
206 #
207 # a pseudo device needed for veriexec
208 #pseudo-device veriexec 1
209 #
210 # Uncomment the fingerprint methods below that are desired. Note that
211 # removing fingerprint methods will have almost no impact on the kernel
212 # code size.
213 #
214 #options VERIFIED_EXEC_FP_RMD160
215 #options VERIFIED_EXEC_FP_SHA256
216 #options VERIFIED_EXEC_FP_SHA384
217 #options VERIFIED_EXEC_FP_SHA512
218 #options VERIFIED_EXEC_FP_SHA1
219 #options VERIFIED_EXEC_FP_MD5
220