1# $NetBSD: MMNET_GENERIC,v 1.55 2022/08/07 02:52:25 simonb 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.mmnet" 22 23options INCLUDE_CONFIG_FILE # embed config file in kernel binary 24 25#ident "GENERIC-$Revision: 1.55 $" 26 27maxusers 32 # estimated number of users 28 29# CPU support. 30options CPU_ARM9E 31makeoptions CPUFLAGS="-mtune=arm926ej-s -mcpu=arm926ej-s" 32 33# CPU-related options. 34 35#options MULTIBOOT # Multiboot support (see multiboot(8)) 36 37# delay between "rebooting ..." message and hardware reset, in milliseconds 38#options CPURESET_DELAY=2000 39 40# This option allows you to force a serial console at the specified 41# I/O address. see console(4) for details. 42#options CONSDEVNAME="\"com\"",CONADDR=0x2f8,CONSPEED=57600 43# you don't want the option below ON iff you are using the 44# serial console option of the new boot strap code. 45 46# Standard system options 47 48#options INSECURE # disable kernel security levels - X needs this 49 50options RTC_OFFSET=0 # hardware clock is this many mins. west of GMT 51options NTP # NTP phase/frequency locked loop 52 53options KTRACE # system call tracing via ktrace(1) 54 55options SYSVMSG # System V-like message queues 56options SYSVSEM # System V-like semaphores 57options SYSVSHM # System V-like memory sharing 58 59#options USERCONF # userconf(4) support 60#options PIPE_SOCKETPAIR # smaller, but slower pipe(2) 61options SYSCTL_INCLUDE_DESCR # Include sysctl descriptions in kernel 62 63# Beep when it is safe to power down the system (requires sysbeep) 64#options BEEP_ONHALT 65# Some tunable details of the above feature (default values used below) 66#options BEEP_ONHALT_COUNT=3 # Times to beep 67#options BEEP_ONHALT_PITCH=1500 # Default frequency (in Hz) 68#options BEEP_ONHALT_PERIOD=250 # Default duration (in msecs) 69 70# Alternate buffer queue strategies for better responsiveness under high 71# disk I/O load. 72#options BUFQ_READPRIO 73#options BUFQ_PRIOCSCAN 74 75# Diagnostic/debugging support options 76options DIAGNOSTIC # expensive kernel consistency checks 77options DEBUG # expensive debugging checks/support 78options DDB # in-kernel debugger 79options DDB_ONPANIC=1 # see also sysctl(7): `ddb.onpanic' 80options DDB_HISTORY_SIZE=512 # enable history editing in DDB 81#options KGDB # remote debugger 82#options KGDB_DEVNAME="\"com\"",KGDB_DEVADDR=0x3f8,KGDB_DEVRATE=9600 83makeoptions DEBUG="-g" # compile full symbol table 84makeoptions COPTS="-Os" 85makeoptions COPY_SYMTAB=1 86#options SYSCALL_STATS # per syscall counts 87#options SYSCALL_TIMES # per syscall times 88#options SYSCALL_TIMES_HASCOUNTER # use 'broken' rdtsc (soekris) 89 90# Compatibility options 91 92include "conf/compat_netbsd16.config" 93options COMPAT_NETBSD32 # allow running arm (e.g. non-earm) binaries 94 95#options COMPAT_OSSAUDIO # OSS (Voxware) audio driver compatibility 96#options COMPAT_LINUX # binary compatibility with Linux 97 98# File systems 99file-system FFS # UFS 100#file-system EXT2FS # second extended file system (linux) 101#file-system LFS # log-structured file system 102file-system MFS # memory file system 103file-system NFS # Network File System client 104#file-system NTFS # Windows/NT file system (experimental) 105#file-system CD9660 # ISO 9660 + Rock Ridge file system 106file-system MSDOSFS # MS-DOS file system 107#file-system FDESC # /dev/fd 108file-system KERNFS # /kern 109file-system NULLFS # loopback file system 110#file-system OVERLAY # overlay file system 111#file-system PROCFS # /proc 112#file-system PUFFS # Userspace file systems (e.g. ntfs-3g & sshfs) 113#file-system UMAPFS # NULLFS + uid and gid remapping 114file-system UNION # union file system 115#file-system CODA # Coda File System; also needs vcoda (below) 116file-system PTYFS # /dev/ptm support 117file-system TMPFS # Efficient memory file-system 118#file-system UDF # experimental - OSTA UDF CD/DVD file-system 119 120# File system options 121#options FFS_EI # FFS Endian Independent support 122options FFS_NO_SNAPSHOT # No FFS snapshot support 123#options QUOTA # legacy UFS quotas 124#options UFS_DIRHASH # UFS Large Directory Hashing 125#options UFS_EXTATTR # Extended attribute support for UFS1 126options WAPBL # File system journaling support 127#options EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and 128 # immutable) behave as system flags. 129#options DISKLABEL_EI # disklabel Endian Independent support 130#options NFSSERVER # Network File System server 131 132# Networking options 133options GATEWAY # packet forwarding 134options INET # IP + ICMP + TCP + UDP 135#options INET6 # IPV6 136#options IPSEC # IP security 137#options IPSEC_DEBUG # debug for IP security 138#options MROUTING # IP multicast routing 139#options PIM # Protocol Independent Multicast 140#options NETATALK # AppleTalk networking protocols 141options PPP_BSDCOMP # BSD-Compress compression support for PPP 142options PPP_DEFLATE # Deflate compression support for PPP 143options PPP_FILTER # Active filter support for PPP (requires bpf) 144#options TCP_DEBUG # Record last TCP_NDEBUG packets with SO_DEBUG 145 146#options ALTQ # Manipulate network interfaces' output queues 147#options ALTQ_BLUE # Stochastic Fair Blue 148#options ALTQ_CBQ # Class-Based Queueing 149#options ALTQ_CDNR # Diffserv Traffic Conditioner 150#options ALTQ_FIFOQ # First-In First-Out Queue 151#options ALTQ_FLOWVALVE # RED/flow-valve (red-penalty-box) 152#options ALTQ_HFSC # Hierarchical Fair Service Curve 153#options ALTQ_LOCALQ # Local queueing discipline 154#options ALTQ_PRIQ # Priority Queueing 155#options ALTQ_RED # Random Early Detection 156#options ALTQ_RIO # RED with IN/OUT 157#options ALTQ_WFQ # Weighted Fair Queueing 158 159# These options enable verbose messages for several subsystems. 160# Warning, these may compile large string tables into the kernel! 161options MIIVERBOSE # verbose PHY autoconfig messages 162options PCMCIAVERBOSE # verbose PCMCIA configuration messages 163options SCSIVERBOSE # human readable SCSI error messages 164options USBVERBOSE # verbose USB device autoconfig messages 165 166options NFS_BOOT_DHCP,NFS_BOOT_BOOTPARAM 167 168# 169# wscons options 170# 171# builtin terminal emulations 172#options WSEMUL_SUN # sun terminal emulation 173#options WSEMUL_VT100 # VT100 / VT220 emulation 174# customization of console and kernel output - see dev/wscons/wsdisplayvar.h 175#options WSDISPLAY_CUSTOM_OUTPUT # color customization from wsconsctl(8) 176#options WS_DEFAULT_FG=WSCOL_WHITE 177#options WS_DEFAULT_BG=WSCOL_BLACK 178#options WS_DEFAULT_COLATTR="(0)" 179#options WS_DEFAULT_MONOATTR="(0)" 180#options WS_KERNEL_FG=WSCOL_GREEN 181#options WS_KERNEL_BG=WSCOL_BLACK 182#options WS_KERNEL_COLATTR="" 183#options WS_KERNEL_MONOATTR="" 184# customization of console border color 185#options WSDISPLAY_CUSTOM_BORDER # custom border colors via wsconsctl(8) 186#options WSDISPLAY_BORDER_COLOR=WSCOL_BLUE # default color 187# compatibility to other console drivers 188#options WSDISPLAY_COMPAT_PCVT # emulate some ioctls 189#options WSDISPLAY_COMPAT_SYSCONS # emulate some ioctls 190#options WSDISPLAY_COMPAT_USL # wsconscfg VT handling 191#options WSDISPLAY_COMPAT_RAWKBD # can get raw scancodes 192#options WSKBD_EVENT_AUTOREPEAT # auto repeat in event mode 193#options WSKBD_USONLY # strip off non-US keymaps 194# don't attach pckbd as the console if no PS/2 keyboard is found 195#options PCKBD_CNATTACH_MAY_FAIL 196# see dev/pckbport/wskbdmap_mfii.c for implemented layouts 197#options PCKBD_LAYOUT="(KB_DE | KB_NODEAD)" # for pckbd driver 198#options UKBD_LAYOUT="(KB_DE | KB_NODEAD)" # for ukbd driver 199# allocate a number of virtual screens at autoconfiguration time 200#options WSDISPLAY_DEFAULTSCREENS=4 201# use a large software cursor that doesn't blink 202#options PCDISPLAY_SOFTCURSOR 203# modify the screen type of the console; defaults to "80x25" 204#options VGA_CONSOLE_SCREENTYPE="\"80x24\"" 205# work around a hardware bug that loaded fonts don't work; found on ATI cards 206#options VGA_CONSOLE_ATI_BROKEN_FONTSEL 207# console scrolling support. 208#options WSDISPLAY_SCROLLSUPPORT 209# enable VGA raster mode capable of displaying multilingual text on console 210#options VGA_RASTERCONSOLE 211# enable splash screen support; requires hw driver support 212#options SPLASHSCREEN 213 214# Kernel root file system and dump configuration. 215#config netbsd root on sd0c type ffs 216config netbsd root on ? type ? 217#config netbsd root on ? type ? 218#config netbsd root on ? type nfs 219 220# 221# Device configuration 222# 223 224mainbus0 at root 225 226cpu* at mainbus? 227 228# Basic Bus Support 229at91bus0 at mainbus? # AT91 bus 230 231 232# Integrated peripherals: 233# On-chip interrupt controller 234at91aic0 at at91bus0 addr 0xfffff000 size 0x200 235 236# On-chip timer 237#at91st0 at at91bus0 addr 0xfffffd00 size 0x100 pid 1 238at91tctmr0 at at91bus0 addr 0xfffa0000 size 0x40 pid 17 239 240# On-chip debug UART 241at91dbgu0 at at91bus0 addr 0xfffff200 size 0x200 pid 1 242 243# On-chip UARTs 244#at91usart0 at at91bus0 addr 0xfffc0000 size 0x4000 pid 6 245#at91usart1 at at91bus0 addr 0xfffc4000 size 0x4000 pid 7 246#at91usart2 at at91bus0 addr 0xfffc8000 size 0x4000 pid 8 247#at91usart3 at at91bus0 addr 0xfffcc000 size 0x4000 pid 9 248 249# On-chip ethernet 250at91emac0 at at91bus0 addr 0xfffc4000 size 0x4000 pid 21 251 252# General purpose I/O 253at91pio0 at at91bus0 addr 0xfffff400 size 0x200 pid 2 254at91pio1 at at91bus0 addr 0xfffff600 size 0x200 pid 3 255at91pio2 at at91bus0 addr 0xfffff800 size 0x200 pid 4 256gpio* at at91pio? 257 258# On-chip CF interface 259#at91cf0 at at91bus0 addr 0x50000000 size 0x900000 pid 4 260#pcmcia0 at at91cf0 261 262# On-chip USB 1.1 263ohci0 at at91bus0 addr 0x00500000 size 0x100000 pid 20 264 265# On-chip SPI 266#at91spi0 at at91bus0 addr 0xfffe0000 size 0x4000 pid 13 267#spi0 at at91spi0 268#spi_obuf0 at spi0 slave 1 269#gpio* at spi_obuf? 270 271# On-chip I2C 272at91twi0 at at91bus0 addr 0xfffac000 size 0x4000 pid 11 273iic0 at at91twi? 274#ds1672rtc* at iic0 addr 0x68 275#seeprom* at iic0 addr 0x50 flags 32 # 4096 bytes 276 277# Hardware monitors 278 279# AMD 768 and 8111 power/ACPI controllers 280#dbcool* at iic? addr 0x2C # Unknown other motherboard(s) 281#dbcool* at iic? addr 0x2D # Tyan S2881 282#dbcool* at iic? addr 0x2E # Tyan S2882-D 283 284# 1-Wire support 285#gpioow* at gpio? offset 6 mask 0x1 # 1-wire bitbanging via gpio 286#onewire* at gpioow? 287 288# 1-Wire devices 289#owtemp* at onewire? # Temperature sensors 290 291# SCSI Controllers and Devices 292 293# SCSI bus support 294scsibus* at scsi? 295 296# SCSI devices 297sd* at scsibus? target ? lun ? # SCSI disk drives 298#st* at scsibus? target ? lun ? # SCSI tape drives 299#cd* at scsibus? target ? lun ? # SCSI CD-ROM drives 300#ch* at scsibus? target ? lun ? # SCSI autochangers 301#ses* at scsibus? target ? lun ? # SCSI Enclosure Services devices 302#ss* at scsibus? target ? lun ? # SCSI scanners 303#uk* at scsibus? target ? lun ? # SCSI unknown 304 305 306# ATAPI bus support 307atapibus* at atapi? 308 309# ATAPI devices 310# flags have the same meaning as for IDE drives. 311#cd* at atapibus? drive ? flags 0x0000 # ATAPI CD-ROM drives 312sd* at atapibus? drive ? flags 0x0000 # ATAPI disk drives 313#st* at atapibus? drive ? flags 0x0000 # ATAPI tape drives 314#uk* at atapibus? drive ? flags 0x0000 # ATAPI unknown 315 316 317# Miscellaneous mass storage devices 318 319 320 321# Network Interfaces 322 323# MII/PHY support 324#acphy* at mii? phy ? # Altima AC101 and AMD Am79c874 PHYs 325#amhphy* at mii? phy ? # AMD 79c901 Ethernet PHYs 326#bmtphy* at mii? phy ? # Broadcom BCM5201 and BCM5202 PHYs 327#brgphy* at mii? phy ? # Broadcom BCM5400-family PHYs 328#ciphy* at mii? phy ? # Cicada CS8201 Gig-E PHYs 329#dmphy* at mii? phy ? # Davicom DM9101 PHYs 330#exphy* at mii? phy ? # 3Com internal PHYs 331#gentbi* at mii? phy ? # Generic Ten-Bit 1000BASE-[CLS]X PHYs 332#glxtphy* at mii? phy ? # Level One LXT-1000 PHYs 333#gphyter* at mii? phy ? # NS83861 Gig-E PHY 334#icsphy* at mii? phy ? # Integrated Circuit Systems ICS189x 335#igphy* at mii? phy ? # Intel IGP01E1000 336#ikphy* at mii? phy ? # Intel 82563 PHYs 337#inphy* at mii? phy ? # Intel 82555 PHYs 338#iophy* at mii? phy ? # Intel 82553 PHYs 339#lxtphy* at mii? phy ? # Level One LXT-970 PHYs 340#makphy* at mii? phy ? # Marvell Semiconductor 88E1000 PHYs 341#nsphy* at mii? phy ? # NS83840 PHYs 342#nsphyter* at mii? phy ? # NS83843 PHYs 343#pnaphy* at mii? phy ? # generic HomePNA PHYs 344#qsphy* at mii? phy ? # Quality Semiconductor QS6612 PHYs 345rgephy* at mii? phy ? # Realtek 8169S/8110S internal PHYs 346rlphy* at mii? phy ? # Realtek 8139/8201L PHYs 347#sqphy* at mii? phy ? # Seeq 80220/80221/80223 PHYs 348#tlphy* at mii? phy ? # ThunderLAN PHYs 349#tqphy* at mii? phy ? # TDK Semiconductor PHYs 350ukphy* at mii? phy ? # generic unknown PHYs 351#urlphy* at mii? phy ? # Realtek RTL8150L internal PHYs 352 353 354# USB Controller and Devices 355 356# USB bus support 357usb* at ohci? 358 359# USB Hubs 360uhub* at usb? 361uhub* at uhub? port ? configuration ? interface ? 362 363# USB HID device 364#uhidev* at uhub? port ? configuration ? interface ? 365 366# USB Mice 367#ums* at uhidev? reportid ? 368#wsmouse* at ums? mux 0 369 370# USB eGalax touch-panel 371#uep* at uhub? port ? 372#wsmouse* at uep? mux 0 373 374# USB Keyboards 375#ukbd* at uhidev? reportid ? 376#wskbd* at ukbd? console ? mux 1 377 378# USB serial adapter 379#ucycom* at uhidev? reportid ? 380 381# USB Generic HID devices 382#uhid* at uhidev? reportid ? 383 384# USB Printer 385#ulpt* at uhub? port ? configuration ? interface ? 386 387# USB Modem 388#umodem* at uhub? port ? configuration ? 389#ucom* at umodem? 390 391# USB Mass Storage 392umass* at uhub? port ? configuration ? interface ? 393 394# USB audio 395#uaudio* at uhub? port ? configuration ? 396 397# USB MIDI 398#umidi* at uhub? port ? configuration ? 399 400# USB IrDA 401# USB-IrDA bridge spec 402#uirda* at uhub? port ? configuration ? interface ? 403#irframe* at uirda? 404 405# SigmaTel STIr4200 USB/IrDA Bridge 406#ustir* at uhub? port ? 407#irframe* at ustir? 408 409# USB Ethernet adapters 410aue* at uhub? port ? # ADMtek AN986 Pegasus based adapters 411axe* at uhub? port ? # ASIX AX88172 based adapters 412cdce* at uhub? port ? # CDC, Ethernet Networking Control Model 413cue* at uhub? port ? # CATC USB-EL1201A based adapters 414kue* at uhub? port ? # Kawasaki LSI KL5KUSB101B based adapters 415mue* at uhub? port ? # Microchip LAN75xx/LAN78xx based adapters 416udav* at uhub? port ? # Davicom DM9601 based adapters 417ure* at uhub? port ? # Realtek RTL8152/RTL8153 based adapters 418url* at uhub? port ? # Realtek RTL8150L based adapters 419 420# USB 802.11 adapters 421atu* at uhub? port ? # Atmel AT76C50XX based adapters 422ural* at uhub? port ? # Ralink Technology RT2500USB 802.11a/b/g 423rum* at uhub? port ? # Ralink Technology RT2501/RT2601 802.11a/b/g 424 425# Prolific PL2301/PL2302 host-to-host adapter 426upl* at uhub? port ? 427 428# Serial adapters 429ubsa* at uhub? port ? # Belkin serial adapter 430ucom* at ubsa? portno ? 431 432uftdi* at uhub? port ? # FTDI FT8U100AX serial adapter 433ucom* at uftdi? portno ? 434 435#uipaq* at uhub? port ? # iPAQ PDAs 436#ucom* at uipaq? portno ? 437 438umct* at uhub? port ? # MCT USB-RS232 serial adapter 439ucom* at umct? portno ? 440 441uplcom* at uhub? port ? # I/O DATA USB-RSAQ2 serial adapter 442ucom* at uplcom? portno ? 443 444uvscom* at uhub? port ? # SUNTAC Slipper U VS-10U serial adapter 445ucom* at uvscom? portno ? 446 447# USB Handspring Visor 448#uvisor* at uhub? port ? 449#ucom* at uvisor? 450 451# Kyocera AIR-EDGE PHONE 452#ukyopon* at uhub? port ? 453#ucom* at ukyopon? portno ? 454 455# USB scanners that use SCSI emulation, e.g., HP5300 456#usscanner* at uhub? port ? 457 458# Topfield TF5000PVR range of DVB recorders 459#utoppy* at uhub? port ? 460 461# D-Link DSB-R100 USB radio 462#udsbr* at uhub? port ? 463#radio* at udsbr? 464 465# USB Generic driver 466#ugen* at uhub? port ? 467 468 469# IrDA and Consumer Ir devices 470 471# Toshiba Oboe 472 473# Audio Devices 474 475# Audio support 476#audio* at audiobus? 477 478#spkr* at audio? # PC speaker (synthesized) 479 480# MIDI support 481#midi* at midibus? 482#midi* at pcppi? # MIDI interface to the PC speaker 483 484 485 486# Bluetooth Controller and Device support 487 488# Bluetooth PCMCIA Controllers 489#bt3c* at pcmcia? function ? # 3Com 3CRWB6096-A 490 491# Bluetooth USB Controllers 492#ubt* at uhub? port ? configuration ? interface ? 493 494# Bluetooth Device Hub 495#bthub* at bt3c? 496#bthub* at ubt? 497 498# Bluetooth HID support 499#bthidev* at bthub? 500 501# Bluetooth Mouse 502#btms* at bthidev? reportid ? 503#wsmouse* at btms? mux 0 504 505# Bluetooth Keyboard 506#btkbd* at bthidev? reportid ? 507#wskbd* at btkbd? console ? mux 1 508 509# Bluetooth Audio support 510#btsco* at bthub? 511 512 513 514 515# Pseudo-Devices 516 517#pseudo-device crypto # /dev/crypto device 518#pseudo-device swcrypto # software crypto implementation 519 520# disk/mass storage pseudo-devices 521#pseudo-device ccd # concatenated/striped disk devices 522#pseudo-device cgd # cryptographic disk devices 523#pseudo-device raid # RAIDframe disk driver 524#options RAID_AUTOCONFIG # auto-configuration of RAID components 525# Options to enable various other RAIDframe RAID types. 526#options RF_INCLUDE_EVENODD=1 527#options RF_INCLUDE_RAID5_RS=1 528#options RF_INCLUDE_PARITYLOGGING=1 529#options RF_INCLUDE_CHAINDECLUSTER=1 530#options RF_INCLUDE_INTERDECLUSTER=1 531#options RF_INCLUDE_PARITY_DECLUSTERING=1 532#options RF_INCLUDE_PARITY_DECLUSTERING_DS=1 533#pseudo-device fss # file system snapshot device 534#pseudo-device putter # for puffs and pud 535 536pseudo-device md # memory disk device (ramdisk) 537#pseudo-device vnd # disk-like interface to files 538#options VND_COMPRESSION # compressed vnd(4) 539 540# network pseudo-devices 541pseudo-device bpfilter # Berkeley packet filter 542#pseudo-device carp # Common Address Redundancy Protocol 543pseudo-device npf # NPF packet filter 544pseudo-device loop # network loopback 545pseudo-device ppp # Point-to-Point Protocol 546#pseudo-device pppoe # PPP over Ethernet (RFC 2516) 547#pseudo-device sl # Serial Line IP 548#pseudo-device irframetty # IrDA frame line discipline 549#pseudo-device tap # virtual Ethernet 550pseudo-device tun # network tunneling over tty 551#pseudo-device gre # generic L3 over IP tunnel 552#pseudo-device gif # IPv[46] over IPv[46] tunnel (RFC1933) 553#pseudo-device faith # IPv[46] tcp relay translation i/f 554#pseudo-device stf # 6to4 IPv6 over IPv4 encapsulation 555#pseudo-device vlan # IEEE 802.1q encapsulation 556#pseudo-device bridge # simple inter-network bridging 557#pseudo-device vether # Virtual Ethernet for bridge 558# srt is EXPERIMENTAL 559#pseudo-device srt # source-address-based routing 560 561# miscellaneous pseudo-devices 562pseudo-device pty # pseudo-terminals 563#pseudo-device sequencer # MIDI sequencer 564#options RND_COM # use "com" randomness as well (BROKEN) 565pseudo-device clockctl # user control of clock subsystem 566pseudo-device ksyms # /dev/ksyms 567 568# a pseudo device needed for Coda # also needs CODA (above) 569#pseudo-device vcoda # coda minicache <-> venus comm. 570 571# wscons pseudo-devices 572#pseudo-device wsmux # mouse & keyboard multiplexor 573#pseudo-device wsfont 574 575# Veriexec 576# include "dev/veriexec.config" 577 578options PAX_MPROTECT=0 # PaX mprotect(2) restrictions 579