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