HDL_G revision 1.49
1# $NetBSD: HDL_G,v 1.49 2017/02/19 07:47:00 rin 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
89options		COMPAT_NETBSD32	# allow running arm (e.g. non-earm) binaries
90options 	COMPAT_09	# NetBSD 0.9,
91options 	COMPAT_10	# NetBSD 1.0,
92options 	COMPAT_11	# NetBSD 1.1,
93options 	COMPAT_12	# NetBSD 1.2,
94options 	COMPAT_13	# NetBSD 1.3,
95options 	COMPAT_14	# NetBSD 1.4,
96options 	COMPAT_15	# NetBSD 1.5,
97options 	COMPAT_16	# NetBSD 1.6,
98options 	COMPAT_20	# NetBSD 2.0,
99options 	COMPAT_30	# NetBSD 3.0,
100options 	COMPAT_40	# NetBSD 4.0,
101options 	COMPAT_50	# NetBSD 5.0,
102options 	COMPAT_60	# NetBSD 6.0, and
103options 	COMPAT_70	# NetBSD 7.0 binary compatibility.
104options 	COMPAT_43	# 4.3BSD compatibility.
105#options 	TCP_COMPAT_42	# 4.2BSD TCP/IP bug compat. Not recommended.
106
107options 	COMPAT_OSSAUDIO	# OSS (Voxware) audio driver compatibility
108options		COMPAT_BSDPTY	# /dev/[pt]ty?? ptys.
109
110# Shared memory options
111
112options 	SYSVMSG		# System V-like message queues
113options 	SYSVSEM		# System V-like semaphores
114options 	SYSVSHM		# System V-like memory sharing
115
116# Device options
117
118# Miscellaneous kernel options
119options 	KTRACE		# system call tracing via ktrace(1)
120options 	IRQSTATS	# manage IRQ statistics
121#options 	SCSIVERBOSE	# Verbose SCSI errors
122options 	PCIVERBOSE	# Verbose PCI descriptions
123options 	MIIVERBOSE	# Verbose MII autoconfuration messages
124options 	USBVERBOSE	# verbose USB device autoconfig messages
125#options 	PCI_CONFIG_DUMP	# verbosely dump PCI config space
126options 	USERCONF	# userconf(4) support
127#options 	PIPE_SOCKETPAIR	# smaller, but slower pipe(2)
128#options 	SYSCTL_INCLUDE_DESCR	# Include sysctl descriptions in kernel
129
130# Development and Debugging options
131
132#options 	PERFCTRS	# performance counters
133#options 	DIAGNOSTIC	# internal consistency checks
134#options 	DEBUG
135#options 	PMAP_DEBUG	# Enable pmap_debug_level code
136#options 	VERBOSE_INIT_ARM # verbose bootstraping messages
137options 	DDB		# in-kernel debugger
138#options 	DDB_HISTORY_SIZE=100	# Enable history editing in DDB
139#makeoptions	DEBUG="-g"	# compile full symbol table
140makeoptions	COPY_SYMTAB=1
141
142#config		netbsd		root on ? type ?
143config		netbsd		root on wd0a type ?
144#config		netbsd		root on wd0e type ?
145
146# The main bus device
147mainbus0	at root
148
149# The boot CPU
150cpu0		at mainbus?
151
152# On-board device support
153obio*		at mainbus?
154com0		at obio? addr 0xfe800000 xint 3	# on-board TI 165C50 UART
155btn0		at obio? addr 0xfe8d0002 xint 3	# buttons
156
157# i80321 I/O Processor peripheral support
158iopxs*		at mainbus?
159
160iopiic*		at iopxs?		# I2C Controller Unit(s)
161iic0		at iopiic?
162iic1		at iopiic?
163pci0		at iopxs? bus ?		# PCI/PCI-X support
164
165# PCI-PCI bridges
166ppb*		at pci? dev ? function ?
167pci*		at ppb? bus ?
168
169# RICOH RS5C372A Real-Time Clock
170rs5c372rtc*	at iic0 addr 0x32
171
172#
173# Storage devices
174#
175
176# SCSI Controllers and Devices
177
178# SCSI bus support
179scsibus* at scsi?
180
181# SCSI devices
182sd*	at scsibus? target ? lun ?	# SCSI disk drives
183st*	at scsibus? target ? lun ?	# SCSI tape drives
184cd*	at scsibus? target ? lun ?	# SCSI CD-ROM drives
185ch*	at scsibus? target ? lun ?	# SCSI autochangers
186ses*	at scsibus? target ? lun ?	# SCSI Enclosure Services devices
187ss*	at scsibus? target ? lun ?	# SCSI scanners
188uk*	at scsibus? target ? lun ?	# SCSI unknown
189
190# PCI IDE/S-ATA controllers and devices
191pciide* 	at pci? dev ? function ? flags 0x0000	# GENERIC pciide driver
192acardide*	at pci? dev ? function ?	# Acard IDE controllers
193
194# ATA (IDE) bus support
195atabus*	at ata? channel ?
196
197# IDE drives
198# Flags are used only with controllers that support DMA operations
199# and mode settings (e.g. some pciide controllers)
200# The lowest order four bits (rightmost digit) of the flags define the PIO
201# mode to use, the next set of four bits the DMA mode and the third set the
202# UltraDMA mode. For each set of four bits, the 3 lower bits define the mode
203# to use, and the last bit must be 1 for this setting to be used.
204# For DMA and UDMA, 0xf (1111) means 'disable'.
205# 0x0fac means 'use PIO mode 4, DMA mode 2, disable UltraDMA'.
206# (0xc=1100, 0xa=1010, 0xf=1111)
207# 0x0000 means "use whatever the drive claims to support".
208wd*	at atabus? drive ? flags 0x0000
209
210# ATAPI bus support
211atapibus* at atapi?
212
213# ATAPI devices
214# flags have the same meaning as for IDE drives.
215cd*     at atapibus? drive ? flags 0x0000       # ATAPI CD-ROM drives
216sd*     at atapibus? drive ? flags 0x0000       # ATAPI disk drives
217st*	at atapibus? drive ? flags 0x0000	# ATAPI tape drives
218uk*     at atapibus? drive ? flags 0x0000       # ATAPI unknown
219
220#
221# Networking devices
222#
223
224# PCI network devices
225wm*	at pci? dev ? function ?	# Intel i82541PI Gig-E
226
227# MII/PHY support
228acphy*		at mii? phy ?		# Altima AC101 and AMD Am79c874 PHYs
229amhphy*		at mii? phy ?		# AMD 79c901 Ethernet PHYs
230bmtphy*		at mii? phy ?		# Broadcom BCM5201 and BCM5202 PHYs
231brgphy*		at mii? phy ?		# Broadcom BCM5400-family PHYs
232ciphy*		at mii? phy ?		# Cicada CS8201 Gig-E PHYs
233dmphy*		at mii? phy ?		# Davicom DM9101 PHYs
234exphy*		at mii? phy ?		# 3Com internal PHYs
235gentbi*		at mii? phy ?		# Generic Ten-Bit 1000BASE-[CLS]X PHYs
236glxtphy*	at mii? phy ?		# Level One LXT-1000 PHYs
237gphyter*	at mii? phy ?		# NS83861 Gig-E PHY
238icsphy*		at mii? phy ?		# Integrated Circuit Systems ICS189x
239igphy*		at mii? phy ?		# Intel IGP01E1000
240inphy*		at mii? phy ?		# Intel 82555 PHYs
241iophy*		at mii? phy ?		# Intel 82553 PHYs
242lxtphy*		at mii? phy ?		# Level One LXT-970 PHYs
243makphy*		at mii? phy ?		# Marvell Semiconductor 88E1000 PHYs
244nsphy*		at mii? phy ?		# NS83840 PHYs
245nsphyter*	at mii? phy ? 		# NS83843 PHYs
246pnaphy*		at mii? phy ?		# generic HomePNA PHYs
247qsphy*		at mii? phy ?		# Quality Semiconductor QS6612 PHYs
248rgephy*		at mii? phy ?		# Realtek 8169S/8110 internal PHYs
249sqphy*		at mii? phy ?		# Seeq 80220/80221/80223 PHYs
250tlphy*		at mii? phy ?		# ThunderLAN PHYs
251tqphy*		at mii? phy ?		# TDK Semiconductor PHYs
252ukphy*		at mii? phy ?		# generic unknown PHYs
253urlphy*		at mii? phy ?		# Realtek RTL8150L internal PHYs
254
255
256# USB Controller and Devices
257
258# PCI USB controllers
259ehci*	at pci?	dev ? function ?	# Enhanced Host Controller
260ohci*	at pci?	dev ? function ?	# Open Host Controller
261
262# USB bus support
263usb*	at ehci?
264usb*	at ohci?
265
266# USB Hubs
267uhub*	at usb?
268uhub*	at uhub? port ?
269
270# USB HID device
271uhidev*	at uhub? port ? configuration ? interface ?
272
273# USB Mice
274ums*	at uhidev? reportid ?
275wsmouse* at ums? mux 0
276
277# USB Keyboards
278ukbd*	at uhidev? reportid ?
279wskbd*	at ukbd? console ? mux 1
280
281# USB serial adapter
282ucycom* at uhidev? reportid ?
283
284# USB Generic HID devices
285uhid*	at uhidev? reportid ?
286
287# USB Printer
288ulpt*	at uhub? port ? configuration ? interface ?
289
290# USB Modem
291umodem*	at uhub? port ? configuration ?
292ucom*	at umodem?
293
294# Option N.V. Wireless WAN modems
295uhso*	at uhub? port ? configuration ?
296
297# USB Mass Storage
298umass*	at uhub? port ? configuration ? interface ?
299wd*	at umass?
300
301# USB audio
302uaudio*	at uhub? port ? configuration ?
303
304# USB MIDI
305umidi* at uhub? port ? configuration ?
306
307# USB IrDA
308# USB-IrDA bridge spec
309uirda* at uhub? port ? configuration ? interface ?
310irframe* at uirda?
311
312# SigmaTel STIr4200 USB/IrDA Bridge
313ustir* at uhub? port ?
314irframe* at ustir?
315
316# USB Ethernet adapters
317aue*	at uhub? port ?		# ADMtek AN986 Pegasus based adapters
318axe*	at uhub? port ?		# ASIX AX88172 based adapters
319cdce*	at uhub? port ?		# CDC, Ethernet Networking Control Model
320cue*	at uhub? port ?		# CATC USB-EL1201A based adapters
321kue*	at uhub? port ?		# Kawasaki LSI KL5KUSB101B based adapters
322udav*	at uhub? port ?		# Davicom DM9601 based adapters
323url*	at uhub? port ?		# Realtek RTL8150L based adapters
324
325# USB 802.11b adapters
326atu*	at uhub? port ?		# Atmel AT76C50XX based adapters
327ural*	at uhub? port ?		# Ralink Technology RT2500USB 802.11a/b/g
328
329# Prolific PL2301/PL2302 host-to-host adapter
330upl*	at uhub? port ?
331
332# Serial adapters
333ubsa*	at uhub? port ?		# Belkin serial adapter
334ucom*	at ubsa? portno ?
335
336uftdi*	at uhub? port ?		# FTDI FT8U100AX serial adapter
337ucom*	at uftdi? portno ?
338
339umct*	at uhub? port ?		# MCT USB-RS232 serial adapter
340ucom*	at umct? portno ?
341
342uplcom* at uhub? port ? 	# I/O DATA USB-RSAQ2 serial adapter
343ucom*	at uplcom? portno ?
344
345uvscom* at uhub? port ? 	# SUNTAC Slipper U VS-10U serial adapter
346ucom*	at uvscom? portno ?
347
348# Diamond Multimedia Rio 500
349urio*	at uhub? port ?
350
351# USB Handspring Visor
352uvisor*	at uhub? port ?
353ucom*	at uvisor?
354
355# Kyocera AIR-EDGE PHONE
356ukyopon* at uhub? port ?
357ucom*	at ukyopon? portno ?
358
359# USB scanners
360#uscanner* at uhub? port ?
361
362# USB scanners that use SCSI emulation, e.g., HP5300
363usscanner* at uhub? port ?
364
365# Y@P firmware loader
366uyap* at uhub? port ?
367
368# D-Link DSB-R100 USB radio
369udsbr*	at uhub? port ?
370radio*	at udsbr?
371
372# USB Generic driver
373ugen*	at uhub? port ?
374
375
376# Audio Devices
377
378# Audio support
379audio*  at audiobus?
380
381spkr*	at audio?			# PC speaker (synthesized)
382
383# MIDI support
384midi*   at midibus?
385
386
387# Pseudo-Devices
388
389# disk/mass storage pseudo-devices
390#pseudo-device	ccd			# concatenated/striped disk devices
391#pseudo-device	cgd			# cryptographic disk devices
392#pseudo-device	raid			# RAIDframe disk driver
393#options 	RAID_AUTOCONFIG		# auto-configuration of RAID components
394# Options to enable various other RAIDframe RAID types.
395#options 	RF_INCLUDE_EVENODD=1
396#options 	RF_INCLUDE_RAID5_RS=1
397#options 	RF_INCLUDE_PARITYLOGGING=1
398#options 	RF_INCLUDE_CHAINDECLUSTER=1
399#options 	RF_INCLUDE_INTERDECLUSTER=1
400#options 	RF_INCLUDE_PARITY_DECLUSTERING=1
401#options 	RF_INCLUDE_PARITY_DECLUSTERING_DS=1
402#pseudo-device	fss			# file system snapshot device
403#pseudo-device	putter			# for puffs and pud
404
405#pseudo-device	md			# memory disk device (ramdisk)
406pseudo-device	vnd			# disk-like interface to files
407options 	VND_COMPRESSION		# compressed vnd(4)
408
409# network pseudo-devices
410pseudo-device	bpfilter		# Berkeley packet filter
411pseudo-device	ipfilter		# IP filter (firewall) and NAT
412pseudo-device	loop			# network loopback
413pseudo-device	ppp			# Point-to-Point Protocol
414pseudo-device	pppoe			# PPP over Ethernet (RFC 2516)
415#pseudo-device	sl			# Serial Line IP
416#pseudo-device	strip			# Starmode Radio IP (Metricom)
417#pseudo-device	irframetty		# IrDA frame line discipline
418pseudo-device	tap			# virtual Ethernet
419pseudo-device	tun			# network tunneling over tty
420pseudo-device	gre			# generic L3 over IP tunnel
421pseudo-device	gif			# IPv[46] over IPv[46] tunnel (RFC1933)
422pseudo-device	faith			# IPv[46] tcp relay translation i/f
423pseudo-device	stf			# 6to4 IPv6 over IPv4 encapsulation
424pseudo-device	vlan			# IEEE 802.1q encapsulation
425pseudo-device	bridge			# simple inter-network bridging
426options 	BRIDGE_IPF		# bridge uses IP/IPv6 pfil hooks too
427pseudo-device	pf			# PF packet filter
428pseudo-device	pflog			# PF log if
429#pseudo-device	kttcp
430
431# miscellaneous pseudo-devices
432pseudo-device	pty			# pseudo-terminals
433pseudo-device	sequencer		# MIDI sequencer
434pseudo-device	clockctl		# user control of clock subsystem
435pseudo-device	ksyms			# /dev/ksyms
436
437# a pseudo device needed for Coda	# also needs CODA (above)
438#pseudo-device	vcoda			# coda minicache <-> venus comm.
439
440# a pseudo device needed for SMBFS
441pseudo-device	nsmb			# experimental - SMB requester
442
443# a pseudo device needed for verified exec
444#pseudo-device	veriexec
445
446# data mover pseudo-devices
447pseudo-device	swdmover		# software dmover(9) back-end
448pseudo-device	dmoverio		# /dev/dmover dmover(9) interface
449