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