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