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