1# $NetBSD: IYONIX,v 1.10 2024/01/29 18:27:11 christos Exp $ 2# 3# GENERIC machine description file 4# 5# This machine description file is used to generate the default NetBSD 6# kernel. The generic kernel does not include all options, subsystems 7# and device drivers, but should be useful for most applications. 8# 9# The machine description file can be customised for your specific 10# machine to reduce the kernel size and improve its performance. 11# 12# For further information on compiling NetBSD kernels, see the config(8) 13# man page. 14# 15# For further information on hardware support for this architecture, see 16# the intro(4) man page. For further information about kernel options 17# for this architecture, see the options(4) man page. For an explanation 18# of each device driver in this file see the section 4 man page for the 19# device. 20 21include "arch/evbarm/conf/std.iyonix" 22 23options INCLUDE_CONFIG_FILE # embed config file in kernel binary 24 25#ident "GENERIC-$Revision: 1.10 $" 26 27maxusers 32 # estimated number of users 28 29options MSGBUFSIZE=65536 30 31# CPU options 32 33# For XScale systems 34options CPU_XSCALE_80321 # Support the XScale core 35makeoptions CPUFLAGS="-mcpu=xscale" 36 37# Architecture options 38options XSCALE_CACHE_READ_WRITE_ALLOCATE 39#options HZ=512 40makeoptions CPUFLAGS="-mcpu=xscale" 41 42# Standard system options 43 44options RTC_OFFSET=0 # hardware clock is this many mins. west of GMT 45#options NTP # NTP phase/frequency locked loop 46 47#options KTRACE # system call tracing via ktrace(1) 48 49 50#options SYSVMSG # System V-like message queues 51#options SYSVSEM # System V-like semaphores 52#options SYSVSHM # System V-like memory sharing 53 54# Device options 55 56# Console options. The default console is speed is 115200 baud. 57#options CONSPEED=9600 # Console speed 58 59# Miscellaneous kernel options 60options KTRACE # system call tracing, a la ktrace(1) 61options IRQSTATS # manage IRQ statistics 62#options SCSIVERBOSE # Verbose SCSI errors 63options PCIVERBOSE # Verbose PCI descriptions 64options MIIVERBOSE # Verbose MII autoconfuration messages 65#options PCI_CONFIG_DUMP # verbosely dump PCI config space 66 67options USERCONF # userconf(4) support 68#options PIPE_SOCKETPAIR # smaller, but slower pipe(2) 69#options SYSCTL_INCLUDE_DESCR # Include sysctl descriptions in kernel 70 71# Development and Debugging options 72 73# Alternate buffer queue strategies for better responsiveness under high 74# disk I/O load. 75#options BUFQ_READPRIO 76#options BUFQ_PRIOCSCAN 77 78# Diagnostic/debugging support options 79#options DIAGNOSTIC # expensive kernel consistency checks 80#options DEBUG # expensive debugging checks/support 81options DDB # in-kernel debugger 82#options DDB_ONPANIC=1 # see also sysctl(7): `ddb.onpanic' 83options DDB_HISTORY_SIZE=512 # enable history editing in DDB 84#options DDB_KEYCODE=0x40 85#options KGDB # remote debugger 86#options KGDB_DEVNAME="\"com\"",KGDB_DEVADDR=0x3f8,KGDB_DEVRATE=9600 87#makeoptions DEBUG="-g" # compile full symbol table 88makeoptions COPY_SYMTAB=1 89#options UVMHIST # kernhist for uvm/pmap subsystems 90#options VERBOSE_INIT_ARM # verbose bootstraping messages 91 92#options PMAP_INCLUDE_PTE_SYNC 93#options LOCKDEBUG 94 95 96# Compatibility options 97 98include "conf/compat_netbsd70.config" 99options COMPAT_NETBSD32 # allow running arm (e.g. non-earm) binaries 100 101# File systems 102file-system FFS # UFS 103#file-system EXT2FS # second extended file system (linux) 104#file-system LFS # log-structured file system 105#file-system MFS # memory file system 106file-system NFS # Network File System client 107#file-system NTFS # Windows/NT file system (experimental) 108file-system CD9660 # ISO 9660 + Rock Ridge file system 109file-system MSDOSFS # MS-DOS file system 110#file-system FDESC # /dev/fd 111file-system KERNFS # /kern 112#file-system NULLFS # loopback file system 113#file-system OVERLAY # overlay file system 114file-system PROCFS # /proc 115#file-system UMAPFS # NULLFS + uid and gid remapping 116#file-system UNION # union file system 117#file-system CODA # Coda File System; also needs vcoda (below) 118file-system PTYFS # /dev/ptm support 119file-system TMPFS # Efficient memory file-system 120#file-system UDF # experimental - OSTA UDF CD/DVD file-system 121#file-system HFS # experimental - Apple HFS+ (read-only) 122file-system FILECORE # Acorn filecore file system 123 124# File system options 125#options FFS_EI # FFS Endian Independent support 126options FFS_NO_SNAPSHOT # No FFS snapshot support 127#options QUOTA # legacy UFS quotas 128#options QUOTA2 # new, in-filesystem UFS quotas 129#options UFS_DIRHASH # UFS Large Directory Hashing 130#options UFS_EXTATTR # Extended attribute support for UFS1 131options WAPBL # File system journaling support 132#options NFSSERVER # Network File System server 133 134# Networking options 135#options GATEWAY # packet forwarding 136options INET # IP + ICMP + TCP + UDP 137options INET6 # IPV6 138#options IPSEC # IP security 139#options IPSEC_DEBUG # debug for IP security 140#options MROUTING # IP multicast routing 141#options PIM # Protocol Independent Multicast 142#options NETATALK # AppleTalk networking protocols 143#options PPP_BSDCOMP # BSD-Compress compression support for PPP 144#options PPP_DEFLATE # Deflate compression support for PPP 145#options PPP_FILTER # Active filter support for PPP (requires bpf) 146#options TCP_DEBUG # Record last TCP_NDEBUG packets with SO_DEBUG 147 148#options ALTQ # Manipulate network interfaces' output queues 149#options ALTQ_BLUE # Stochastic Fair Blue 150#options ALTQ_CBQ # Class-Based Queueing 151#options ALTQ_CDNR # Diffserv Traffic Conditioner 152#options ALTQ_FIFOQ # First-In First-Out Queue 153#options ALTQ_FLOWVALVE # RED/flow-valve (red-penalty-box) 154#options ALTQ_HFSC # Hierarchical Fair Service Curve 155#options ALTQ_LOCALQ # Local queueing discipline 156#options ALTQ_PRIQ # Priority Queueing 157#options ALTQ_RED # Random Early Detection 158#options ALTQ_RIO # RED with IN/OUT 159#options ALTQ_WFQ # Weighted Fair Queueing 160 161 162options NFS_BOOT_DHCP,NFS_BOOT_BOOTPARAM 163 164options DKWEDGE_AUTODISCOVER 165options DKWEDGE_METHOD_BSDLABEL 166#options DKWEDGE_METHOD_MBR 167 168options INSECURE 169 170# Kernel root file system and dump configuration. 171#config netbsd root on ? type ? 172#config netbsd root on wd1a type ffs 173#config netbsd root on wm0 type nfs 174config netbsd root on "wedge:system/a" type ffs 175 176# 177# Device configuration 178# 179 180mainbus0 at root 181 182cpu0 at mainbus? 183 184# i80321 I/O Processor peripheral support 185iopxs* at mainbus? 186 187iopaau* at iopxs? # Application Accelerator Unit 188iopiic* at iopxs? # I2C Controller Unit(s) 189iic0 at iopiic? 190iic1 at iopiic? 191iopwdog* at iopxs? # Watchdog timer 192pci0 at iopxs? bus ? # PCI/PCI-X support 193 194# The curious can see their RAM timings. 195spdmem* at iic1 addr 0x56 196 197# onboard RTC. RISC OS starts counting years at 2000 198dsrtc0 at iic0 addr 0x68 199 200# PCI bridges 201ppb* at pci? dev ? function ? # PCI-PCI bridges 202pci* at ppb? bus ? 203# XXX 'puc's aren't really bridges, but there's no better place for them here 204#puc* at pci? dev ? function ? # PCI "universal" comm. cards 205 206#options COMCONSOLE 207 208# VGA 209#vga* at pci? dev ? function ? 210genfb* at pci? dev ? function ? 211#options GENFB_PCI_DEBUG 212#gffb* at pci? dev ? function ? 213 214# these exist but aren't configured by RISC OS 215#alipm* at pci? 216#iic* at alipm? 217 218# Display 219wsdisplay0 at wsemuldisplaydev? console 1 220wsdisplay* at wsemuldisplaydev? 221 222#options WSEMUL_SUN # sun terminal emulation 223options WSEMUL_VT100 # vt100 terminal emulation 224options WS_DEFAULT_FG=WSCOL_BLACK 225options WS_DEFAULT_BG=WSCOL_LIGHT_WHITE 226options WS_KERNEL_FG=WSCOL_GREEN 227options WS_KERNEL_BG=WSCOL_LIGHT_WHITE 228options WSDISPLAY_COMPAT_PCVT # emulate some ioctls 229options WSDISPLAY_COMPAT_SYSCONS # emulate some ioctls 230options WSDISPLAY_COMPAT_USL # VT handling 231options WSDISPLAY_COMPAT_RAWKBD # can get raw scancodes 232#options WSDISPLAY_DEFAULTSCREENS=4 233options FONT_GO_MONO12x23 234options WSDISPLAY_SCROLLSUPPORT 235options VCONS_DRAW_INTR 236options RASOPS_DEFAULT_WIDTH=100 237options RASOPS_DEFAULT_HEIGHT=30 238 239# IDE and related devices 240# PCI IDE controllers - see pciide(4) for supported hardware. 241# The 0x0001 flag force the driver to use DMA, even if the driver doesn't know 242# how to set up DMA modes for this chip. This may work, or may cause 243# a machine hang with some controllers. 244#pciide* at pci? dev ? function ? flags 0x0000 # GENERIC pciide driver 245aceride* at pci? dev ? function ? # Acer Lab IDE controllers 246mvsata* at pci? dev ? function ? 247 248# ATA (IDE) bus support 249atabus* at ata? 250#options ATADEBUG 251 252# IDE drives 253# Flags are used only with controllers that support DMA operations 254# and mode settings (e.g. some pciide controllers) 255# The lowest order four bits (rightmost digit) of the flags define the PIO 256# mode to use, the next set of four bits the DMA mode and the third set the 257# UltraDMA mode. For each set of four bits, the 3 lower bits define the mode 258# to use, and the last bit must be 1 for this setting to be used. 259# For DMA and UDMA, 0xf (1111) means 'disable'. 260# 0x0fac means 'use PIO mode 4, DMA mode 2, disable UltraDMA'. 261# (0xc=1100, 0xa=1010, 0xf=1111) 262# 0x0000 means "use whatever the drive claims to support". 263wd* at atabus? drive ? flags 0x0000 264 265# ATAPI bus support 266atapibus* at atapi? 267 268# ATAPI devices 269# flags have the same meaning as for IDE drives. 270# XXX No DMA on IDE devices for now 271cd* at atapibus? drive ? flags 0x0ff0 # ATAPI CD-ROM drives 272sd* at atapibus? drive ? flags 0x0000 # ATAPI disk drives 273st* at atapibus? drive ? flags 0x0000 # ATAPI tape drives 274uk* at atapibus? drive ? flags 0x0000 # ATAPI unknown 275 276 277# Network Interfaces 278 279# onboard ethernet 280wm* at pci? dev ? function ? # Intel 8254x gigabit 281 282# MII/PHY support 283makphy* at mii? phy ? # Marvell Semiconductor 88E1000 PHYs 284ukphy* at mii? phy ? # generic unknown PHYs 285 286 287# USB Controller and Devices 288 289# Iyonix ships with an ehci/ohci card 290ehci* at pci? dev ? function ? # Enhanced Host Controller 291ohci* at pci? dev ? function ? # Open Host Controller 292#uhci* at pci? dev ? function ? # Universal Host Controller (Intel) 293 294# USB bus support 295usb* at ehci? 296usb* at ohci? 297#usb* at uhci? 298#usb* at slhci? 299 300# USB Hubs 301uhub* at usb? 302uhub* at uhub? port ? 303 304# USB HID device 305uhidev* at uhub? port ? configuration ? interface ? 306 307# USB Mice 308ums* at uhidev? reportid ? 309wsmouse* at ums? mux 0 310 311# USB eGalax touch-panel 312#uep* at uhub? port ? 313#wsmouse* at uep? mux 0 314 315# USB Keyboards 316ukbd* at uhidev? reportid ? 317wskbd* at ukbd? console ? mux 1 318 319# USB Generic HID devices 320uhid* at uhidev? reportid ? 321 322# USB Mass Storage 323umass* at uhub? port ? configuration ? interface ? 324 325# USB audio 326uaudio* at uhub? port ? configuration ? 327 328# USB MIDI 329#umidi* at uhub? port ? configuration ? 330 331# USB Ethernet adapters 332#axe* at uhub? port ? # ASIX AX88172 based adapters 333 334uplcom* at uhub? port ? # I/O DATA USB-RSAQ2 serial adapter 335ucom* at uplcom? portno ? 336 337# USB Generic driver 338#ugen* at uhub? port ? 339 340 341# Iyonix onboard audio 342autri* at pci? dev ? function ? # Trident 4DWAVE based AC'97 Audio 343 344# Audio support 345audio* at audiobus? 346 347spkr* at audio? # PC speaker (synthesized) 348 349# On-board device support 350 351obio* at mainbus? 352com1 at obio? addr 0x900003e8 xint 1 # on-board UART 353com0 at obio? addr 0x900002f8 xint 1 # on-board UART 354#com* at obio? addr 0x900003e8 xint 1 # on-board UART 355#com* at obio? addr 0x900003f8 xint 1 # on-board UART 356 357# Pseudo-Devices 358 359#pseudo-device crypto # /dev/crypto device 360#pseudo-device swcrypto # software crypto implementation 361 362# disk/mass storage pseudo-devices 363 364pseudo-device fss # file system snapshot device 365 366# network pseudo-devices 367pseudo-device bpfilter # Berkeley packet filter 368#pseudo-device carp # Common Address Redundancy Protocol 369#pseudo-device npf # NPF packet filter 370pseudo-device loop # network loopback 371#pseudo-device ppp # Point-to-Point Protocol 372#pseudo-device pppoe # PPP over Ethernet (RFC 2516) 373#pseudo-device sl # Serial Line IP 374#pseudo-device irframetty # IrDA frame line discipline 375#pseudo-device tap # virtual Ethernet 376#pseudo-device tun # network tunneling over tty 377#pseudo-device gre # generic L3 over IP tunnel 378#pseudo-device gif # IPv[46] over IPv[46] tunnel (RFC1933) 379#pseudo-device faith # IPv[46] tcp relay translation i/f# 380#pseudo-device stf # 6to4 IPv6 over IPv4 encapsulation 381#pseudo-device vlan # IEEE 802.1q encapsulation 382#pseudo-device bridge # simple inter-network bridging 383#pseudo-device vether # Virtual Ethernet for bridge 384#pseudo-device agr # IEEE 802.3ad link aggregation 385# srt is EXPERIMENTAL 386#pseudo-device srt # source-address-based routing 387 388# 389# accept filters 390pseudo-device accf_data # "dataready" accept filter 391pseudo-device accf_http # "httpready" accept filter 392 393# miscellaneous pseudo-devices 394pseudo-device pty # pseudo-terminals 395#options RND_COM # use "com" randomness as well (BROKEN) 396pseudo-device clockctl # user control of clock subsystem 397pseudo-device ksyms # /dev/ksyms 398 399# wscons pseudo-devices 400pseudo-device wsmux # mouse & keyboard multiplexor 401pseudo-device wsfont 402 403# Veriexec 404# include "dev/veriexec.config" 405 406#options PAX_MPROTECT=0 # PaX mprotect(2) restrictions 407