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