GENERIC revision 1.1 1 # $NetBSD: GENERIC,v 1.1 2006/12/16 05:07:52 ober 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/zaurus/conf/std.zaurus"
22
23 #options INCLUDE_CONFIG_FILE # embed config file in kernel binary
24
25 maxusers 32 # estimated number of users
26
27 # CPU options
28
29 # For XScale systems
30 #options CPU_XSCALE_PXA250 # Support the XScale PXA25x core
31 options CPU_XSCALE_PXA270 # Support the XScale PXA27x core
32 makeoptions CPUFLAGS="-mcpu=xscale"
33
34 # Architecture options
35 options XSCALE_CACHE_READ_WRITE_ALLOCATE
36 options PXAGPIO_HAS_GPION_INTRS
37
38 # Standard system options
39
40 options RTC_OFFSET=0 # hardware clock is this many mins. west of GMT
41 #options HZ=512 # clock interrupt generates every 1/HZ sec
42 #options NTP # NTP phase/frequency locked loop
43
44 # File systems
45 file-system FFS # UFS
46 #file-system EXT2FS # second extended file system (linux)
47 #file-system LFS # log-structured file system
48 file-system MFS # memory file system
49 #file-system NFS # Network File System client
50 #file-system NTFS # Windows/NT file system (experimental)
51 #file-system CD9660 # ISO 9660 + Rock Ridge file system
52 #file-system MSDOSFS # MS-DOS file system
53 #file-system FDESC # /dev/fd
54 file-system KERNFS # /kern
55 #file-system NULLFS # loopback file system
56 #file-system OVERLAY # overlay file system
57 #file-system PORTAL # portal filesystem (still experimental)
58 #file-system PROCFS # /proc
59 #file-system UMAPFS # NULLFS + uid and gid remapping
60 #file-system UNION # union file system
61 #file-system CODA # Coda File System; also needs vcoda (below)
62 #file-system PTYFS # /dev/pts/N support
63 file-system TMPFS # Efficient memory file-system
64 #file-system UDF # experimental - OSTA UDF CD/DVD file-system
65
66 # File system options
67 #options QUOTA # UFS quotas
68 #options FFS_EI # FFS Endian Independant support
69 #options NFSSERVER
70 #options SOFTDEP
71 #options UFS_DIRHASH # UFS Large Directory Hashing - Experimental
72 options FFS_NO_SNAPSHOT # No FFS snapshot support
73 #options EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and
74 # immutable) behave as system flags.
75
76 # Networking options
77 #options GATEWAY # packet forwarding
78 options INET # IP + ICMP + TCP + UDP
79 #options INET6 # IPv6
80
81 # Compatibility options
82 #options COMPAT_13 # NetBSD 1.3,
83 #options COMPAT_14 # NetBSD 1.4,
84 #options COMPAT_15 # NetBSD 1.5,
85 #options COMPAT_16 # NetBSD 1.6,
86 #options COMPAT_20 # NetBSD 2.0,
87 #options COMPAT_30 # NetBSD 3.0 compatibility.
88 options COMPAT_43 # and 4.3BSD
89 #options TCP_COMPAT_42 # 4.2BSD TCP/IP bug compat. Not recommended.
90 options COMPAT_OSSAUDIO # OSS (Voxware) audio driver compatibility
91 options COMPAT_BSDPTY # /dev/[pt]ty?? ptys.
92
93 # Shared memory options
94
95 options SYSVMSG # System V-like message queues
96 options SYSVSEM # System V-like semaphores
97 #options SEMMNI=10 # number of semaphore identifiers
98 #options SEMMNS=60 # number of semaphores in system
99 #options SEMUME=10 # max number of undo entries per process
100 #options SEMMNU=30 # number of undo structures in system
101 options SYSVSHM # System V-like memory sharing
102 #options SHMMAXPGS=1024 # 1024 pages is the default
103 options P1003_1B_SEMAPHORE # p1003.1b semaphore support
104
105 # Device options
106
107 # Miscellaneous kernel options
108 #options KTRACE # system call tracing via ktrace(1)
109 #options SYSTRACE # system call vetting via systrace(1)
110 #options IRQSTATS # manage IRQ statistics
111 #options LKM # loadable kernel modules
112 #options KMEMSTATS # kernel memory statistics
113 #options SCSIVERBOSE # Verbose SCSI errors
114 #options MIIVERBOSE # Verbose MII autoconfuration messages
115 #options USBVERBOSE # verbose USB device autoconfig messages
116 #options USERCONF # userconf(4) support
117 #options PIPE_SOCKETPAIR # smaller, but slower pipe(2)
118 #options SYSCTL_INCLUDE_DESCR # Include sysctl descriptions in kernel
119
120 #
121 # wscons options
122 #
123 # builtin terminal emulations
124 #options WSEMUL_VT100
125 # allocate a number of virtual screens at autoconfiguration time
126 #options WSDISPLAY_DEFAULTSCREENS=4
127
128 # customization of console and kernel output - see dev/wscons/wsdisplayvar.h
129 #options WSDISPLAY_CUSTOM_OUTPUT # color customization from wsconsctl(8)
130 #options WS_DEFAULT_FG=WSCOL_WHITE
131 #options WS_DEFAULT_BG=WSCOL_BLACK
132 #options WS_DEFAULT_COLATTR="(0)"
133 #options WS_DEFAULT_MONOATTR="(0)"
134 #options WS_KERNEL_FG=WSCOL_BROWN
135 #options WS_KERNEL_BG=WSCOL_BLUE
136 #options WS_KERNEL_COLATTR=""
137 #options WS_KERNEL_MONOATTR=""
138
139 # compatibility to other console drivers
140 #options WSDISPLAY_COMPAT_PCVT # emulate some ioctls
141 #options WSDISPLAY_COMPAT_USL # VT handling
142 #options WSDISPLAY_COMPAT_RAWKBD # can get raw scancodes
143
144 #options FONT_VT220L8x10 # the console font
145
146 # Development and Debugging options
147
148 options DIAGNOSTIC # internally consistency checks
149 options DEBUG
150 #options VERBOSE_INIT_ARM # verbose bootstraping messages
151 options DDB # in-kernel debugger
152 options DDB_HISTORY_SIZE=100 # Enable history editing in DDB
153 #options KGDB
154 #makeoptions DEBUG="-g" # compile full symbol table
155 #options SYMTAB_SPACE=512000
156
157
158 # Kernel root file system and dump configuration.
159 config netbsd root on ? type ?
160
161
162 # The main bus device
163 mainbus0 at root
164
165 # The boot cpu
166 cpu0 at mainbus?
167
168 # integrated peripherals
169 pxaip0 at mainbus?
170
171 pxaintc0 at pxaip? # interrupt controller
172 pxagpio0 at pxaip? # GPIO
173 pxadmac0 at pxaip? # DMA controller
174
175 # PCMCIA/CF socket and GPIO controllers
176 scoop0 at pxaip?
177 scoop1 at pxaip?
178
179 # ADC, touch screen, backlight
180 #zssp0 at pxaip?
181
182 # touch screen
183 #zts0 at pxaip?
184 #wsmouse* at zts? mux 0
185
186 # keyboard
187 #zkbd0 at pxaip?
188 #wskbd* at zkbd? mux 1
189
190 # Zaurus remote controller
191 #zrc0 at pxaip?
192 #wskbd* at zrc? mux 1
193
194 # LCD
195 #lcd0 at pxaip?
196 #wsdisplay* at lcd? console ?
197
198 ## Audio
199 #zaudio0 at pxaip?
200 #audio* at zaudio?
201
202 # cotulla integrated 16550 UARTs
203 options COM_PXA2X0
204 com0 at pxaip? addr 0x40100000 intr 22 # Full Function UART
205 com1 at pxaip? addr 0x40200000 intr 21 # Bluetooth UART
206 com2 at pxaip? addr 0x40700000 intr 20 # Standard UART (for IrDA)
207
208 # integrated PCMCIA/CF controller
209 pxapcic0 at pxaip?
210
211 # PCMCIA bus support
212 pcmcia* at pxapcic?
213
214 # PCMCIA (CF) devices
215 com* at pcmcia? # PCMCIA modems/serial ports
216 wi* at pcmcia? # WaveLAN IEEE 802.11DS
217 ne* at pcmcia? # PCMCIA based NE2000 ethernet
218 wdc* at pcmcia? # hard disk controller
219
220 atabus* at wdc? channel ?
221
222 # IDE hard drives
223 wd* at atabus? drive ? flags 0x0000
224
225 # Pseudo-Devices
226
227 # disk/mass storage pseudo-devices
228 #pseudo-device md 1 # memory disk device (ramdisk)
229 #pseudo-device vnd 4 # disk-like interface to files
230 #options VND_COMPRESSION # compressed vnd(4)
231
232 # network pseudo-devices
233 pseudo-device loop # network loopback
234
235 # miscellaneous pseudo-devices
236 pseudo-device pty # pseudo-terminals
237 #pseudo-device sequencer # MIDI sequencer
238 pseudo-device rnd # /dev/random and in-kernel generator
239 pseudo-device clockctl # user control of clock subsystem
240 pseudo-device ksyms # /dev/ksyms
241
242 # a pseudo device needed for Coda # also needs CODA (above)
243 #pseudo-device vcoda 4 # coda minicache <-> venus comm.
244
245 # a pseudo device needed for SMBFS
246 #pseudo-device nsmb # experimental - SMB requester
247
248 # a pseudo device needed for verified exec
249 #pseudo-device veriexec 1
250
251 # wscons pseudo-devices
252 #pseudo-device wsmux # mouse & keyboard multiplexor
253 #pseudo-device wsfont
254