GENERIC revision 1.9 1 # $NetBSD: GENERIC,v 1.9 2001/11/20 12:56:34 lukem Exp $
2 #
3 # GENERIC -- Netwinder Architecture Kernel
4 #
5
6 include "arch/netwinder/conf/std.netwinder"
7
8 # estimated number of users
9
10 maxusers 32
11
12 # Standard system options
13
14 options RTC_OFFSET=0 # hardware clock is this many mins. west of GMT
15 #options NTP # NTP phase/frequency locked loop
16
17 # CPU options
18
19 # For StrongARM systems
20 options CPU_SA110 # Support the SA110 core
21 makeoptions COPTS="-O2 -march=armv4 -mtune=strongarm"
22
23 # Architecture options
24 options FOOTBRIDGE # We have DC21285 'Footbridge' core logic
25 options NETWINDER # We are a NETWINDER
26
27 # FPA options
28
29 #options ARMFPE # ARM Ltd FPE
30
31 # File systems
32
33 file-system FFS # UFS
34 #file-system LFS # log-structured file system
35 file-system MFS # memory file system
36 file-system NFS # Network file system
37 #file-system ADOSFS # AmigaDOS-compatible file system
38 file-system EXT2FS # second extended file system (linux)
39 #file-system CD9660 # ISO 9660 + Rock Ridge file system
40 file-system MSDOSFS # MS-DOS file system
41 #file-system FDESC # /dev/fd
42 #file-system KERNFS # /kern
43 file-system NULLFS # loopback file system
44 #file-system PORTAL # portal filesystem (still experimental)
45 #file-system PROCFS # /proc
46 #file-system UMAPFS # NULLFS + uid and gid remapping
47 #file-system UNION # union file system
48
49 # File system options
50 #options QUOTA # UFS quotas
51 #options FFS_EI # FFS Endian Independant support
52 options NFSSERVER
53 options SOFTDEP
54
55 # Networking options
56
57 #options GATEWAY # packet forwarding
58 options INET # IP + ICMP + TCP + UDP
59 options INET6 # IPV6
60 #options IPSEC # IP security
61 #options IPSEC_ESP # IP security (encryption part; define w/ IPSEC)
62 #options IPSEC_DEBUG # debug for IP security
63 #options MROUTING # IP multicast routing
64 #options NS # XNS
65 #options NSIP # XNS tunneling over IP
66 #options ISO,TPIP # OSI
67 #options EON # OSI tunneling over IP
68 #options CCITT,LLC,HDLC # X.25
69 #options NETATALK # AppleTalk networking
70 #options PFIL_HOOKS # pfil(9) packet filter hooks
71 #options PPP_BSDCOMP # BSD-Compress compression support for PPP
72 #options PPP_DEFLATE # Deflate compression support for PPP
73 #options PPP_FILTER # Active filter support for PPP (requires bpf)
74 #options TCP_DEBUG # Record last TCP_NDEBUG packets with SO_DEBUG
75
76 options NFS_BOOT_BOOTP
77 options NFS_BOOT_DHCP
78 #options NFS_BOOT_BOOTPARAM
79
80 # Compatibility options
81
82 #options COMPAT_43 # 4.3BSD compatibility.
83 options COMPAT_15 # NetBSD 1.5 compatibility.
84 options COMPAT_14 # NetBSD 1.4 compatibility.
85 #options COMPAT_13 # NetBSD 1.3 compatibility.
86 #options COMPAT_12 # NetBSD 1.2 compatibility.
87 #options COMPAT_11 # NetBSD 1.1 compatibility.
88 #options COMPAT_10 # NetBSD 1.0 compatibility.
89 #options COMPAT_09 # NetBSD 0.9 compatibility.
90 #options TCP_COMPAT_42 # 4.2BSD TCP/IP bug compat. Not recommended.
91
92 # Shared memory options
93
94 options SYSVMSG # System V-like message queues
95 options SYSVSEM # System V-like semaphores
96 #options SEMMNI=10 # number of semaphore identifiers
97 #options SEMMNS=60 # number of semaphores in system
98 #options SEMUME=10 # max number of undo entries per process
99 #options SEMMNU=30 # number of undo structures in system
100 options SYSVSHM # System V-like memory sharing
101 options SHMMAXPGS=1024 # 1024 pages is the default
102
103 # Device options
104
105 #options MEMORY_DISK_HOOKS # boottime setup of ramdisk
106 #options MEMORY_DISK_SIZE=0 # Size in blocks
107 #options MINIROOTSIZE=3400 # Size in blocks
108 #options MEMORY_DISK_IS_ROOT # use memory disk as root
109
110 # Miscellaneous kernel options
111 options KTRACE # system call tracing, a la ktrace(1)
112 options IRQSTATS # manage IRQ statistics
113 #options LKM # loadable kernel modules
114 #options KMEMSTATS # kernel memory statistics
115 #options SCSIVERBOSE # Verbose SCSI errors
116 options PCIVERBOSE # Verbose PCI descriptions
117 options MIIVERBOSE # Verbose MII autoconfuration messages
118 #options PCI_CONFIG_DUMP # verbosely dump PCI config space
119 #options DDB_KEYCODE=0x40
120
121 # Development and Debugging options
122
123 #options ARM700BUGTRACK # track the ARM700 swi bug
124 #options PORTMASTER # Enable PortMaster only options
125 options DIAGNOSTIC # internally consistency checks
126 #options PMAP_DEBUG # Enable pmap_debug_level code
127 #options IPKDB # remote kernel debugging
128 options DDB # in-kernel debugger
129 options DDB_HISTORY_SIZE=100 # Enable history editing in DDB
130 #makeoptions DEBUG="-g" # compile full symbol table
131
132 config netbsd root on ? type ?
133
134 # The main bus device
135 mainbus0 at root
136
137 # The boot cpu
138 cpu0 at mainbus?
139
140 # Core logic
141 footbridge0 at mainbus?
142
143 # footbridge uart
144 #fcom0 at footbridge?
145
146 # system clock via footbridge
147 #clock* at footbridge?
148
149 # time-of-day device via footbridge
150 todclock0 at footbridge?
151
152 # PCI bus via footbridge
153 pci0 at footbridge? # PCI bus
154
155 # ISA bus support
156 pcib* at pci? dev ? function ? # ISA bridge
157 isa* at pcib?
158
159
160 # PCI IDE Controllers and Devices
161 # PCI IDE controllers - see pciide(4) for supported hardware.
162 # The 0x0001 flag force the driver to use DMA, even if the driver doesn't know
163 # how to set up DMA modes for this chip. This may work, or may cause
164 # a machine hang with some controllers.
165 pciide* at pci? dev ? function ? flags 0x0000
166
167 # IDE drives
168 # Flags are used only with controllers that support DMA operations
169 # and mode settings (e.g. some pciide controllers)
170 # The lowest order four bits (rightmost digit) of the flags define the PIO
171 # mode to use, the next set of four bits the DMA mode and the third set the
172 # UltraDMA mode. For each set of four bits, the 3 lower bits define the mode
173 # to use, and the last bit must be 1 for this setting to be used.
174 # For DMA and UDMA, 0xf (1111) means 'disable'.
175 # 0x0fac means 'use PIO mode 4, DMA mode 2, disable UltraDMA'.
176 # (0xc=1100, 0xa=1010, 0xf=1111)
177 # 0x0000 means "use whatever the drive claims to support".
178 wd* at pciide? channel ? drive ? flags 0x0000 # the drives themselves
179
180 # PCI network interfaces
181 ne* at pci? dev ? function ? # NE2000 compat ethernet
182 tlp* at pci? dev ? function ? # DECchip 21x4x (and clones) Ethernet
183 options TLP_MATCH_21142
184
185 # MII/PHY support
186 icsphy* at mii? phy ? # ISC-890 PHYs
187 ukphy* at mii? phy ? # generic unknown PHYs
188
189 # WSCONS Support
190 options WSEMUL_VT100 # VT100 / VT220 emulation
191 options WS_KERNEL_FG=WSCOL_GREEN
192 pckbc0 at isa?
193 pckbd* at pckbc?
194 wskbd* at pckbd? console ?
195 pms* at pckbc?
196 wsmouse* at pms? mux 0
197 pmsi* at pckbc?
198 wsmouse* at pmsi? mux 0
199
200 vga* at pci? dev ? function ?
201 wsdisplay* at vga? console ?
202
203 # ISA Devices
204 com0 at isa? port 0x3f8 irq 4
205 lpt0 at isa? port 0x378 irq 7
206
207
208 # Audio Devices
209
210 # ISA audio devices
211 sb0 at isa? port 0x220 irq 3 drq 1 drq2 7 # SoundBlaster
212 opl* at sb?
213 mpu* at sb?
214 midi* at sb? # SB1 MIDI port
215
216 # Audio support
217 audio* at sb?
218
219 # Pseudo-Devices
220
221 # disk/mass storage pseudo-devices
222 #pseudo-device md 1 # memory disk device (ramdisk)
223 pseudo-device vnd 4 # disk-like interface to files
224
225 # network pseudo-devices
226 pseudo-device bpfilter 4 # Berkeley packet filter
227 #pseudo-device bridge # simple inter-network bridging
228 pseudo-device loop # network loopback
229
230 # miscellaneous pseudo-devices
231 pseudo-device pty # pseudo-terminals
232 pseudo-device rnd # /dev/random and in-kernel generator
233