NET4501 revision 1.5 1 # $NetBSD: NET4501,v 1.5 2002/04/12 08:11:04 gmcgarry Exp $
2 #
3 # NET4501 -- kernel configuration for a Soekris Engineering net4501
4 # single-board computer.
5 #
6 # http://www.soekris.com/
7 #
8
9 include "arch/i386/conf/std.i386"
10
11 #ident "NET4501-$Revision: 1.5 $"
12
13 maxusers 32 # estimated number of users
14
15 # CPU support. At least one is REQUIRED.
16 #options I386_CPU
17 options I486_CPU
18 #options I586_CPU
19 #options I686_CPU
20
21 makeoptions COPTS="-Os -mcpu=i486"
22 options VNODE_OP_NOINLINE
23
24 # CPU-related options.
25 #options MATH_EMULATE # floating point emulation
26 #options VM86 # virtual 8086 emulation
27 #options USER_LDT # user-settable LDT; used by WINE
28 # eliminate delay no-ops in I/O; recommended on all but very old machines
29 options DUMMY_NOPS
30
31 #options MTRR # memory-type range register syscall support
32
33 # delay between "rebooting ..." message and hardware reset, in milliseconds
34 #options CPURESET_DELAY=2000
35
36 # This option allows you to force a serial console at the specified
37 # I/O address. see console(4) for details.
38 #options CONSDEVNAME="\"com\"",CONADDR=0x2f8,CONSPEED=57600
39 # you don't want the option below ON iff you are using the
40 # serial console option of the new boot strap code.
41 #options CONS_OVERRIDE # Always use above! independent of boot info
42
43 # The following options override the memory sizes passed in from the boot
44 # block. Use them *only* if the boot block is unable to determine the correct
45 # values. Note that the BIOS may *correctly* report less than 640k of base
46 # memory if the extended BIOS data area is located at the top of base memory
47 # (as is the case on most recent systems).
48 #options REALBASEMEM=639 # size of base memory (in KB)
49 #options REALEXTMEM=15360 # size of extended memory (in KB)
50
51 # Standard system options
52
53 options UCONSOLE # users can use TIOCCONS (for xconsole)
54 options INSECURE # disable kernel security levels
55
56 options RTC_OFFSET=0 # hardware clock is this many mins. west of GMT
57 options NTP # NTP phase/frequency locked loop
58
59 options KTRACE # system call tracing via ktrace(1)
60
61 options SYSVMSG # System V-like message queues
62 options SYSVSEM # System V-like semaphores
63 #options SEMMNI=10 # number of semaphore identifiers
64 #options SEMMNS=60 # number of semaphores in system
65 #options SEMUME=10 # max number of undo entries per process
66 #options SEMMNU=30 # number of undo structures in system
67 options SYSVSHM # System V-like memory sharing
68 #options SHMMAXPGS=1024 # 1024 pages is the default
69
70 options LKM # loadable kernel modules
71
72 #options USERCONF # userconf(4) support
73 #options PIPE_SOCKETPAIR # smaller, but slower pipe(2)
74
75 # Diagnostic/debugging support options
76 #options DIAGNOSTIC # expensive kernel consistency checks
77 #options DEBUG # expensive debugging checks/support
78 #options KMEMSTATS # kernel memory statistics (vmstat -m)
79 options DDB # in-kernel debugger
80 options DDB_HISTORY_SIZE=512 # enable history editing in DDB
81 #options KGDB # remote debugger
82 #options KGDB_DEVNAME="\"com\"",KGDB_DEVADDR=0x3f8,KGDB_DEVRATE=9600
83 #makeoptions DEBUG="-g" # compile full symbol table
84
85 # Compatibility options
86 options COMPAT_NOMID # compatibility with 386BSD, BSDI, NetBSD 0.8,
87 options COMPAT_09 # NetBSD 0.9,
88 options COMPAT_10 # NetBSD 1.0,
89 options COMPAT_11 # NetBSD 1.1,
90 options COMPAT_12 # NetBSD 1.2,
91 options COMPAT_13 # NetBSD 1.3,
92 options COMPAT_14 # NetBSD 1.4,
93 options COMPAT_15 # NetBSD 1.5,
94 options COMPAT_43 # and 4.3BSD
95 options COMPAT_386BSD_MBRPART # recognize old partition ID
96 #options TCP_COMPAT_42 # 4.2BSD TCP/IP bug compat. Not recommended.
97
98 #options COMPAT_SVR4 # binary compatibility with SVR4
99 #options COMPAT_IBCS2 # binary compatibility with SCO and ISC
100 #options COMPAT_LINUX # binary compatibility with Linux
101 #options COMPAT_FREEBSD # binary compatibility with FreeBSD
102 #options COMPAT_MACH # binary compatibility with Mach binaries
103 #options EXEC_MACHO # exec MACH-O binaries
104 #options COMPAT_PECOFF # kernel support to run Win32 apps
105
106 # File systems
107 file-system FFS # UFS
108 #file-system EXT2FS # second extended file system (linux)
109 #file-system LFS # log-structured file system
110 file-system MFS # memory file system
111 file-system NFS # Network File System client
112 #file-system NTFS # Windows/NT file system (experimental)
113 #file-system CD9660 # ISO 9660 + Rock Ridge file system
114 #file-system MSDOSFS # MS-DOS file system
115 file-system FDESC # /dev/fd
116 file-system KERNFS # /kern
117 #file-system NULLFS # loopback file system
118 #file-system OVERLAY # overlay file system
119 #file-system PORTAL # portal filesystem (still experimental)
120 file-system PROCFS # /proc
121 #file-system UMAPFS # NULLFS + uid and gid remapping
122 #file-system UNION # union file system
123 #file-system CODA # Coda File System; also needs vcoda (below)
124
125 # File system options
126 #options QUOTA # UFS quotas
127 #options FFS_EI # FFS Endian Independent support
128 options SOFTDEP # FFS soft updates support.
129 #options NFSSERVER # Network File System server
130 #options EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and
131 # immutable) behave as system flags.
132
133 # Networking options
134 options GATEWAY # packet forwarding
135 options INET # IP + ICMP + TCP + UDP
136 options INET6 # IPV6
137 #options IPSEC # IP security
138 #options IPSEC_ESP # IP security (encryption part; define w/IPSEC)
139 #options IPSEC_DEBUG # debug for IP security
140 options MROUTING # IP multicast routing
141 #options NS # XNS
142 #options NSIP # XNS tunneling over IP
143 #options ISO,TPIP # OSI
144 #options EON # OSI tunneling over IP
145 #options CCITT,LLC,HDLC # X.25
146 #options NETATALK # AppleTalk networking protocols
147 #options PPP_BSDCOMP # BSD-Compress compression support for PPP
148 #options PPP_DEFLATE # Deflate compression support for PPP
149 #options PPP_FILTER # Active filter support for PPP (requires bpf)
150 options PFIL_HOOKS # pfil(9) packet filter hooks
151 #options IPFILTER_LOG # ipmon(8) log support
152 #options TCP_DEBUG # Record last TCP_NDEBUG packets with SO_DEBUG
153
154 # These options enable verbose messages for several subsystems.
155 # Warning, these may compile large string tables into the kernel!
156 #options MIIVERBOSE # verbose PHY autoconfig messages
157 #options PCIVERBOSE # verbose PCI device autoconfig messages
158 #options PCI_CONFIG_DUMP # verbosely dump PCI config space
159
160 options NFS_BOOT_DHCP,NFS_BOOT_BOOTPARAM
161
162 # Kernel root file system and dump configuration.
163 config netbsd root on ? type ?
164 #config netbsd root on sd0a type ffs
165 #config netbsd root on ? type nfs
166
167 #
168 # Device configuration
169 #
170
171 mainbus0 at root
172
173 # Basic Bus Support
174
175 # PCI bus support
176 pci* at mainbus? bus ?
177 pci* at pchb? bus ?
178
179 # Configure PCI using BIOS information
180 #options PCIBIOS # PCI BIOS support
181 #options PCIBIOSVERBOSE # PCI BIOS verbose info
182 #options PCIBIOS_ADDR_FIXUP # fixup PCI I/O addresses
183 #options PCIBIOS_BUS_FIXUP # fixup PCI bus numbering
184 #options PCIBIOS_INTR_FIXUP # fixup PCI interrupt routing
185 #options PCIBIOS_IRQS_HINT=0x0a00 # PCI interrupts hint. IRQ 9 or 11
186 #options PCIBIOS_INTR_GUESS # see pcibios(4)
187 #options PCIINTR_DEBUG # super-verbose PCI interrupt fixup
188
189 # PCI bridges
190 pchb* at pci? dev ? function ? # PCI-Host bridges
191
192 # ISA bus support
193 isa0 at mainbus?
194
195 # Coprocessor Support
196
197 # Math Coprocessor support
198 npx0 at isa? port 0xf0 irq 13 # x86 math coprocessor
199
200 # ISA serial interfaces
201 com0 at isa? port 0x3f8 irq 4 # Standard PC serial ports
202 com1 at isa? port 0x2f8 irq 3
203
204 # IDE and related devices
205
206 # ISA ST506, ESDI, and IDE controllers
207 # Use flags 0x01 if you want to try to use 32bits data I/O (the driver will
208 # fall back to 16bits I/O if 32bits I/O are not functional).
209 # Some controllers pass the initial 32bit test, but will fail later.
210 wdc0 at isa? port 0x1f0 irq 14 flags 0x00
211
212 # IDE drives
213 # Flags are used only with controllers that support DMA operations
214 # and mode settings (e.g. some pciide controllers)
215 # The lowest order four bits (rightmost digit) of the flags define the PIO
216 # mode to use, the next set of four bits the DMA mode and the third set the
217 # UltraDMA mode. For each set of four bits, the 3 lower bits define the mode
218 # to use, and the last bit must be 1 for this setting to be used.
219 # For DMA and UDMA, 0xf (1111) means 'disable'.
220 # 0x0fac means 'use PIO mode 4, DMA mode 2, disable UltraDMA'.
221 # (0xc=1100, 0xa=1010, 0xf=1111)
222 # 0x0000 means "use whatever the drive claims to support".
223 wd* at wdc? channel ? drive ? flags 0x0000
224
225 # Network Interfaces
226
227 # PCI network interfaces
228 sip* at pci? dev ? function ? # SiS 900/DP83815 Ethernet
229
230 # MII/PHY support
231 nsphyter* at mii? phy ? # NS83843 PHYs
232
233 # Pseudo-Devices
234
235 # network pseudo-devices
236 pseudo-device bpfilter 16 # Berkeley packet filter
237 pseudo-device ipfilter # IP filter (firewall) and NAT
238 pseudo-device loop # network loopback
239 #pseudo-device ppp 2 # Point-to-Point Protocol
240 #pseudo-device pppoe # PPP over Ethernet (RFC 2516)
241 #pseudo-device sl 2 # Serial Line IP
242 #pseudo-device strip 2 # Starmode Radio IP (Metricom)
243 pseudo-device tun 2 # network tunneling over tty
244 #pseudo-device gre 2 # generic L3 over IP tunnel
245 pseudo-device gif 4 # IPv[46] over IPv[46] tunnel (RFC1933)
246 pseudo-device faith 1 # IPv[46] tcp relay translation i/f
247 pseudo-device stf 1 # 6to4 IPv6 over IPv4 encapsulation
248 pseudo-device vlan # IEEE 802.1q encapsulation
249 pseudo-device bridge # simple inter-network bridging
250
251 # miscellaneous pseudo-devices
252 pseudo-device pty # pseudo-terminals
253 #pseudo-device tb 1 # tablet line discipline
254 #pseudo-device sequencer 1 # MIDI sequencer
255 # rnd works; RND_COM does not on port i386 yet.
256 pseudo-device rnd # /dev/random and in-kernel generator
257 #options RND_COM # use "com" randomness as well (BROKEN)
258