HDL_G revision 1.22 1 # $NetBSD: HDL_G,v 1.22 2011/03/06 17:08:22 bouyer Exp $
2 #
3 # HDL_G -- I-O DATA HDL-G Kernel
4 #
5
6 include "arch/evbarm/conf/std.hdl_g"
7
8 #options INCLUDE_CONFIG_FILE # embed config file in kernel binary
9
10 maxusers 32 # estimated number of users
11
12 # CPU options
13
14 # For XScale systems
15 options CPU_XSCALE_80321 # Support the XScale core
16 makeoptions CPUFLAGS="-mcpu=xscale"
17
18 # Architecture options
19 options XSCALE_CACHE_READ_WRITE_ALLOCATE
20
21 # Standard system options
22
23 options RTC_OFFSET=0 # hardware clock is this many mins. west of GMT
24 #options HZ=512 # clock interrupt generates every 1/HZ sec
25 #options NTP # NTP phase/frequency locked loop
26
27 # File systems
28
29 file-system FFS # UFS
30 file-system EXT2FS # second extended file system (linux)
31 #file-system LFS # log-structured file system
32 file-system MFS # memory file system
33 file-system NFS # Network file system
34 file-system CD9660 # ISO 9660 + Rock Ridge file system
35 #file-system CODA # Coda File System; also needs vcoda (below)
36 file-system FDESC # /dev/fd
37 file-system KERNFS # /kern
38 file-system MSDOSFS # MS-DOS file system
39 file-system NTFS # Windows/NT file system (experimental)
40 file-system NULLFS # loopback file system
41 #file-system OVERLAY # overlay file system
42 file-system PROCFS # /proc
43 file-system PTYFS # /dev/pts/N support
44 file-system SMBFS # experimental - CIFS; also needs nsmb (below)
45 file-system TMPFS # Efficient memory file-system
46 #file-system UDF # experimental - OSTA UDF CD/DVD file-system
47 file-system UMAPFS # NULLFS + uid and gid remapping
48 file-system UNION # union file system
49
50 # File system options
51 #options QUOTA # legacy UFS quotas
52 #options QUOTA2 # new, in-filesystem UFS quotas
53 #options FFS_EI # FFS Endian Independant support
54 options NFSSERVER
55 options WAPBL # File system journaling support - Experimental
56 #options UFS_DIRHASH # UFS Large Directory Hashing - Experimental
57 #options FFS_NO_SNAPSHOT # No FFS snapshot support
58 #options EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and
59 # immutable) behave as system flags.
60
61 # Networking options
62
63 #options GATEWAY # packet forwarding
64 options INET # IP + ICMP + TCP + UDP
65 options INET6 # IPV6
66 #options IPSEC # IP security
67 #options IPSEC_ESP # IP security (encryption part; define w/ IPSEC)
68 #options IPSEC_NAT_T # IPsec NAT traversal (NAT-T)
69 #options IPSEC_DEBUG # debug for IP security
70 #options MROUTING # IP multicast routing
71 #options PIM # Protocol Independent Multicast
72 #options ISO,TPIP # OSI
73 #options EON # OSI tunneling over IP
74 #options NETATALK # AppleTalk networking
75 #options PFIL_HOOKS # pfil(9) packet filter hooks
76 #options PPP_BSDCOMP # BSD-Compress compression support for PPP
77 #options PPP_DEFLATE # Deflate compression support for PPP
78 #options PPP_FILTER # Active filter support for PPP (requires bpf)
79 options PFIL_HOOKS # pfil(9) packet filter hooks
80 options IPFILTER_LOG # ipmon(8) log support
81 options IPFILTER_LOOKUP # ippool(8) support
82 options IPFILTER_COMPAT # Compat for IP-Filter
83 #options IPFILTER_DEFAULT_BLOCK # block all packets by default
84 #options TCP_DEBUG # Record last TCP_NDEBUG packets with SO_DEBUG
85 #options TCP_SIGNATURE
86
87 #options NFS_BOOT_BOOTP
88 options NFS_BOOT_DHCP
89 options NFS_BOOT_BOOTPARAM
90
91 # Compatibility options
92
93 options COMPAT_09 # NetBSD 0.9 compatibility.
94 options COMPAT_10 # NetBSD 1.0 compatibility.
95 options COMPAT_11 # NetBSD 1.1 compatibility.
96 options COMPAT_12 # NetBSD 1.2 compatibility.
97 options COMPAT_13 # NetBSD 1.3 compatibility.
98 options COMPAT_14 # NetBSD 1.4 compatibility.
99 options COMPAT_15 # NetBSD 1.5 compatibility.
100 options COMPAT_16 # NetBSD 1.6 compatibility.
101 options COMPAT_20 # NetBSD 2.0 compatibility.
102 options COMPAT_30 # NetBSD 3.0 compatibility.
103 options COMPAT_40 # NetBSD 4.0 compatibility.
104 options COMPAT_50 # NetBSD 5.0 compatibility.
105 options COMPAT_43 # 4.3BSD compatibility.
106 #options TCP_COMPAT_42 # 4.2BSD TCP/IP bug compat. Not recommended.
107
108 options COMPAT_OSSAUDIO # OSS (Voxware) audio driver compatibility
109 options COMPAT_BSDPTY # /dev/[pt]ty?? ptys.
110
111 # Shared memory options
112
113 options SYSVMSG # System V-like message queues
114 options SYSVSEM # System V-like semaphores
115 #options SEMMNI=10 # number of semaphore identifiers
116 #options SEMMNS=60 # number of semaphores in system
117 #options SEMUME=10 # max number of undo entries per process
118 #options SEMMNU=30 # number of undo structures in system
119 options SYSVSHM # System V-like memory sharing
120 options P1003_1B_SEMAPHORE # p1003.1b semaphore support
121
122 # Device options
123
124 # Miscellaneous kernel options
125 options KTRACE # system call tracing via ktrace(1)
126 options IRQSTATS # manage IRQ statistics
127 #options KMEMSTATS # kernel memory statistics
128 #options SCSIVERBOSE # Verbose SCSI errors
129 options PCIVERBOSE # Verbose PCI descriptions
130 options MIIVERBOSE # Verbose MII autoconfuration messages
131 options USBVERBOSE # verbose USB device autoconfig messages
132 #options PCI_CONFIG_DUMP # verbosely dump PCI config space
133 options USERCONF # userconf(4) support
134 #options PIPE_SOCKETPAIR # smaller, but slower pipe(2)
135 #options SYSCTL_INCLUDE_DESCR # Include sysctl descriptions in kernel
136
137 # Development and Debugging options
138
139 #options PERFCTRS # performance counters
140 #options DIAGNOSTIC # internally consistency checks
141 #options DEBUG
142 #options PMAP_DEBUG # Enable pmap_debug_level code
143 #options VERBOSE_INIT_ARM # verbose bootstraping messages
144 options DDB # in-kernel debugger
145 #options DDB_HISTORY_SIZE=100 # Enable history editing in DDB
146 #makeoptions DEBUG="-g" # compile full symbol table
147 options SYMTAB_SPACE=590000
148
149 #config netbsd root on ? type ?
150 config netbsd root on wd0a type ?
151 #config netbsd root on wd0e type ?
152
153 # The main bus device
154 mainbus0 at root
155
156 # The boot CPU
157 cpu0 at mainbus?
158
159 # On-board device support
160 obio* at mainbus?
161 com0 at obio? addr 0xfe800000 xint 3 # on-board TI 165C50 UART
162 btn0 at obio? addr 0xfe8d0002 xint 3 # buttons
163
164 # i80321 I/O Processor peripheral support
165 iopxs* at mainbus?
166
167 iopiic* at iopxs? # I2C Controller Unit(s)
168 iic0 at iopiic?
169 iic1 at iopiic?
170 pci0 at iopxs? bus ? # PCI/PCI-X support
171
172 # PCI-PCI bridges
173 ppb* at pci? dev ? function ?
174 pci* at ppb? bus ?
175
176 # RICOH RS5C372A Real-Time Clock
177 rs5c372rtc* at iic0 addr 0x32
178
179 #
180 # Storage devices
181 #
182
183 # SCSI Controllers and Devices
184
185 # SCSI bus support
186 scsibus* at scsi?
187
188 # SCSI devices
189 sd* at scsibus? target ? lun ? # SCSI disk drives
190 st* at scsibus? target ? lun ? # SCSI tape drives
191 cd* at scsibus? target ? lun ? # SCSI CD-ROM drives
192 ch* at scsibus? target ? lun ? # SCSI autochangers
193 ses* at scsibus? target ? lun ? # SCSI Enclosure Services devices
194 ss* at scsibus? target ? lun ? # SCSI scanners
195 uk* at scsibus? target ? lun ? # SCSI unknown
196
197 # PCI IDE/S-ATA controllers and devices
198 pciide* at pci? dev ? function ? flags 0x0000 # GENERIC pciide driver
199 acardide* at pci? dev ? function ? # Acard IDE controllers
200
201 # ATA (IDE) bus support
202 atabus* at ata? channel ?
203
204 # IDE drives
205 # Flags are used only with controllers that support DMA operations
206 # and mode settings (e.g. some pciide controllers)
207 # The lowest order four bits (rightmost digit) of the flags define the PIO
208 # mode to use, the next set of four bits the DMA mode and the third set the
209 # UltraDMA mode. For each set of four bits, the 3 lower bits define the mode
210 # to use, and the last bit must be 1 for this setting to be used.
211 # For DMA and UDMA, 0xf (1111) means 'disable'.
212 # 0x0fac means 'use PIO mode 4, DMA mode 2, disable UltraDMA'.
213 # (0xc=1100, 0xa=1010, 0xf=1111)
214 # 0x0000 means "use whatever the drive claims to support".
215 wd* at atabus? drive ? flags 0x0000
216
217 # ATAPI bus support
218 atapibus* at atapi?
219
220 # ATAPI devices
221 # flags have the same meaning as for IDE drives.
222 cd* at atapibus? drive ? flags 0x0000 # ATAPI CD-ROM drives
223 sd* at atapibus? drive ? flags 0x0000 # ATAPI disk drives
224 st* at atapibus? drive ? flags 0x0000 # ATAPI tape drives
225 uk* at atapibus? drive ? flags 0x0000 # ATAPI unknown
226
227 #
228 # Networking devices
229 #
230
231 # PCI network devices
232 wm* at pci? dev ? function ? # Intel i82541PI Gig-E
233
234 # MII/PHY support
235 acphy* at mii? phy ? # Altima AC101 and AMD Am79c874 PHYs
236 amhphy* at mii? phy ? # AMD 79c901 Ethernet PHYs
237 bmtphy* at mii? phy ? # Broadcom BCM5201 and BCM5202 PHYs
238 brgphy* at mii? phy ? # Broadcom BCM5400-family PHYs
239 ciphy* at mii? phy ? # Cicada CS8201 Gig-E PHYs
240 dmphy* at mii? phy ? # Davicom DM9101 PHYs
241 exphy* at mii? phy ? # 3Com internal PHYs
242 gentbi* at mii? phy ? # Generic Ten-Bit 1000BASE-[CLS]X PHYs
243 glxtphy* at mii? phy ? # Level One LXT-1000 PHYs
244 gphyter* at mii? phy ? # NS83861 Gig-E PHY
245 icsphy* at mii? phy ? # Integrated Circuit Systems ICS189x
246 igphy* at mii? phy ? # Intel IGP01E1000
247 inphy* at mii? phy ? # Intel 82555 PHYs
248 iophy* at mii? phy ? # Intel 82553 PHYs
249 lxtphy* at mii? phy ? # Level One LXT-970 PHYs
250 makphy* at mii? phy ? # Marvell Semiconductor 88E1000 PHYs
251 nsphy* at mii? phy ? # NS83840 PHYs
252 nsphyter* at mii? phy ? # NS83843 PHYs
253 pnaphy* at mii? phy ? # generic HomePNA PHYs
254 qsphy* at mii? phy ? # Quality Semiconductor QS6612 PHYs
255 rgephy* at mii? phy ? # Realtek 8169S/8110 internal PHYs
256 sqphy* at mii? phy ? # Seeq 80220/80221/80223 PHYs
257 tlphy* at mii? phy ? # ThunderLAN PHYs
258 tqphy* at mii? phy ? # TDK Semiconductor PHYs
259 ukphy* at mii? phy ? # generic unknown PHYs
260 urlphy* at mii? phy ? # Realtek RTL8150L internal PHYs
261
262
263 # USB Controller and Devices
264
265 # PCI USB controllers
266 ehci* at pci? dev ? function ? # Enhanced Host Controller
267 ohci* at pci? dev ? function ? # Open Host Controller
268
269 # USB bus support
270 usb* at ehci?
271 usb* at ohci?
272
273 # USB Hubs
274 uhub* at usb?
275 uhub* at uhub? port ?
276
277 # USB HID device
278 uhidev* at uhub? port ? configuration ? interface ?
279
280 # USB Mice
281 ums* at uhidev? reportid ?
282 wsmouse* at ums? mux 0
283
284 # USB Keyboards
285 ukbd* at uhidev? reportid ?
286 wskbd* at ukbd? console ? mux 1
287
288 # USB serial adapter
289 ucycom* at uhidev? reportid ?
290
291 # USB Generic HID devices
292 uhid* at uhidev? reportid ?
293
294 # USB Printer
295 ulpt* at uhub? port ? configuration ? interface ?
296
297 # USB Modem
298 umodem* at uhub? port ? configuration ?
299 ucom* at umodem?
300
301 # Option N.V. Wireless WAN modems
302 uhso* at uhub? port ? configuration ?
303
304 # USB Mass Storage
305 umass* at uhub? port ? configuration ? interface ?
306 wd* at umass?
307
308 # USB audio
309 uaudio* at uhub? port ? configuration ?
310
311 # USB MIDI
312 umidi* at uhub? port ? configuration ?
313
314 # USB IrDA
315 # USB-IrDA bridge spec
316 uirda* at uhub? port ? configuration ? interface ?
317 irframe* at uirda?
318
319 # SigmaTel STIr4200 USB/IrDA Bridge
320 ustir* at uhub? port ?
321 irframe* at ustir?
322
323 # USB Ethernet adapters
324 aue* at uhub? port ? # ADMtek AN986 Pegasus based adapters
325 axe* at uhub? port ? # ASIX AX88172 based adapters
326 cdce* at uhub? port ? # CDC, Ethernet Networking Control Model
327 cue* at uhub? port ? # CATC USB-EL1201A based adapters
328 kue* at uhub? port ? # Kawasaki LSI KL5KUSB101B based adapters
329 udav* at uhub? port ? # Davicom DM9601 based adapters
330 url* at uhub? port ? # Realtek RTL8150L based adapters
331
332 # USB 802.11b adapters
333 atu* at uhub? port ? # Atmel AT76C50XX based adapters
334 ral* at uhub? port ? # Ralink Technology RT25x0 802.11a/b/g
335
336 # Prolific PL2301/PL2302 host-to-host adapter
337 upl* at uhub? port ?
338
339 # Serial adapters
340 ubsa* at uhub? port ? # Belkin serial adapter
341 ucom* at ubsa? portno ?
342
343 uftdi* at uhub? port ? # FTDI FT8U100AX serial adapter
344 ucom* at uftdi? portno ?
345
346 umct* at uhub? port ? # MCT USB-RS232 serial adapter
347 ucom* at umct? portno ?
348
349 uplcom* at uhub? port ? # I/O DATA USB-RSAQ2 serial adapter
350 ucom* at uplcom? portno ?
351
352 uvscom* at uhub? port ? # SUNTAC Slipper U VS-10U serial adapter
353 ucom* at uvscom? portno ?
354
355 # Diamond Multimedia Rio 500
356 urio* at uhub? port ?
357
358 # USB Handspring Visor
359 uvisor* at uhub? port ?
360 ucom* at uvisor?
361
362 # Kyocera AIR-EDGE PHONE
363 ukyopon* at uhub? port ?
364 ucom* at ukyopon? portno ?
365
366 # USB scanners
367 uscanner* at uhub? port ?
368
369 # USB scanners that use SCSI emulation, e.g., HP5300
370 usscanner* at uhub? port ?
371
372 # Y@P firmware loader
373 uyap* at uhub? port ?
374
375 # D-Link DSB-R100 USB radio
376 udsbr* at uhub? port ?
377 radio* at udsbr?
378
379 # USB Generic driver
380 ugen* at uhub? port ?
381
382
383 # Audio Devices
384
385 # Audio support
386 audio* at audiobus?
387
388 # MIDI support
389 midi* at midibus?
390
391
392 # Pseudo-Devices
393
394 # disk/mass storage pseudo-devices
395 #pseudo-device ccd 4 # concatenated/striped disk devices
396 #pseudo-device cgd 4 # cryptographic disk devices
397 #pseudo-device raid 8 # RAIDframe disk driver
398 #options RAID_AUTOCONFIG # auto-configuration of RAID components
399 # Options to enable various other RAIDframe RAID types.
400 #options RF_INCLUDE_EVENODD=1
401 #options RF_INCLUDE_RAID5_RS=1
402 #options RF_INCLUDE_PARITYLOGGING=1
403 #options RF_INCLUDE_CHAINDECLUSTER=1
404 #options RF_INCLUDE_INTERDECLUSTER=1
405 #options RF_INCLUDE_PARITY_DECLUSTERING=1
406 #options RF_INCLUDE_PARITY_DECLUSTERING_DS=1
407 #pseudo-device fss # file system snapshot device
408
409 #pseudo-device md # memory disk device (ramdisk)
410 pseudo-device vnd 4 # disk-like interface to files
411 options VND_COMPRESSION # compressed vnd(4)
412
413 # network pseudo-devices
414 pseudo-device bpfilter # Berkeley packet filter
415 pseudo-device ipfilter # IP filter (firewall) and NAT
416 pseudo-device loop # network loopback
417 pseudo-device ppp # Point-to-Point Protocol
418 pseudo-device pppoe # PPP over Ethernet (RFC 2516)
419 #pseudo-device sl # Serial Line IP
420 #pseudo-device strip # Starmode Radio IP (Metricom)
421 #pseudo-device irframetty # IrDA frame line discipline
422 pseudo-device tap # virtual Ethernet
423 pseudo-device tun # network tunneling over tty
424 pseudo-device gre # generic L3 over IP tunnel
425 pseudo-device gif # IPv[46] over IPv[46] tunnel (RFC1933)
426 pseudo-device faith # IPv[46] tcp relay translation i/f
427 pseudo-device stf # 6to4 IPv6 over IPv4 encapsulation
428 pseudo-device vlan # IEEE 802.1q encapsulation
429 pseudo-device bridge # simple inter-network bridging
430 options BRIDGE_IPF # bridge uses IP/IPv6 pfil hooks too
431 pseudo-device pf # PF packet filter
432 pseudo-device pflog # PF log if
433 #pseudo-device kttcp
434
435 # miscellaneous pseudo-devices
436 pseudo-device pty # pseudo-terminals
437 pseudo-device sequencer # MIDI sequencer
438 pseudo-device rnd # /dev/random and in-kernel generator
439 pseudo-device clockctl # user control of clock subsystem
440 pseudo-device ksyms # /dev/ksyms
441
442 # a pseudo device needed for Coda # also needs CODA (above)
443 #pseudo-device vcoda 4 # coda minicache <-> venus comm.
444
445 # a pseudo device needed for SMBFS
446 pseudo-device nsmb # experimental - SMB requester
447
448 # a pseudo device needed for verified exec
449 #pseudo-device veriexec 1
450
451 # data mover pseudo-devices
452 pseudo-device swdmover # softare dmover(9) back-end
453 pseudo-device dmoverio # /dev/dmover dmover(9) interface
454