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