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