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