1# $NetBSD: MMNET_GENERIC,v 1.56 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.mmnet" 22 23options INCLUDE_CONFIG_FILE # embed config file in kernel binary 24 25#ident "GENERIC-$Revision: 1.56 $" 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 DISKLABEL_EI # disklabel Endian Independent support 128#options NFSSERVER # Network File System server 129 130# Networking options 131options GATEWAY # packet forwarding 132options INET # IP + ICMP + TCP + UDP 133#options INET6 # IPV6 134#options IPSEC # IP security 135#options IPSEC_DEBUG # debug for IP security 136#options MROUTING # IP multicast routing 137#options PIM # Protocol Independent Multicast 138#options NETATALK # AppleTalk networking protocols 139options PPP_BSDCOMP # BSD-Compress compression support for PPP 140options PPP_DEFLATE # Deflate compression support for PPP 141options PPP_FILTER # Active filter support for PPP (requires bpf) 142#options TCP_DEBUG # Record last TCP_NDEBUG packets with SO_DEBUG 143 144#options ALTQ # Manipulate network interfaces' output queues 145#options ALTQ_BLUE # Stochastic Fair Blue 146#options ALTQ_CBQ # Class-Based Queueing 147#options ALTQ_CDNR # Diffserv Traffic Conditioner 148#options ALTQ_FIFOQ # First-In First-Out Queue 149#options ALTQ_FLOWVALVE # RED/flow-valve (red-penalty-box) 150#options ALTQ_HFSC # Hierarchical Fair Service Curve 151#options ALTQ_LOCALQ # Local queueing discipline 152#options ALTQ_PRIQ # Priority Queueing 153#options ALTQ_RED # Random Early Detection 154#options ALTQ_RIO # RED with IN/OUT 155#options ALTQ_WFQ # Weighted Fair Queueing 156 157# These options enable verbose messages for several subsystems. 158# Warning, these may compile large string tables into the kernel! 159options MIIVERBOSE # verbose PHY autoconfig messages 160options PCMCIAVERBOSE # verbose PCMCIA configuration messages 161options SCSIVERBOSE # human readable SCSI error messages 162options USBVERBOSE # verbose USB device autoconfig messages 163 164options NFS_BOOT_DHCP,NFS_BOOT_BOOTPARAM 165 166# 167# wscons options 168# 169# builtin terminal emulations 170#options WSEMUL_SUN # sun terminal emulation 171#options WSEMUL_VT100 # VT100 / VT220 emulation 172# customization of console and kernel output - see dev/wscons/wsdisplayvar.h 173#options WSDISPLAY_CUSTOM_OUTPUT # color customization from wsconsctl(8) 174#options WS_DEFAULT_FG=WSCOL_WHITE 175#options WS_DEFAULT_BG=WSCOL_BLACK 176#options WS_DEFAULT_COLATTR="(0)" 177#options WS_DEFAULT_MONOATTR="(0)" 178#options WS_KERNEL_FG=WSCOL_GREEN 179#options WS_KERNEL_BG=WSCOL_BLACK 180#options WS_KERNEL_COLATTR="" 181#options WS_KERNEL_MONOATTR="" 182# customization of console border color 183#options WSDISPLAY_CUSTOM_BORDER # custom border colors via wsconsctl(8) 184#options WSDISPLAY_BORDER_COLOR=WSCOL_BLUE # default color 185# compatibility to other console drivers 186#options WSDISPLAY_COMPAT_PCVT # emulate some ioctls 187#options WSDISPLAY_COMPAT_SYSCONS # emulate some ioctls 188#options WSDISPLAY_COMPAT_USL # wsconscfg VT handling 189#options WSDISPLAY_COMPAT_RAWKBD # can get raw scancodes 190#options WSKBD_EVENT_AUTOREPEAT # auto repeat in event mode 191#options WSKBD_USONLY # strip off non-US keymaps 192# don't attach pckbd as the console if no PS/2 keyboard is found 193#options PCKBD_CNATTACH_MAY_FAIL 194# see dev/pckbport/wskbdmap_mfii.c for implemented layouts 195#options PCKBD_LAYOUT="(KB_DE | KB_NODEAD)" # for pckbd driver 196#options UKBD_LAYOUT="(KB_DE | KB_NODEAD)" # for ukbd driver 197# allocate a number of virtual screens at autoconfiguration time 198#options WSDISPLAY_DEFAULTSCREENS=4 199# use a large software cursor that doesn't blink 200#options PCDISPLAY_SOFTCURSOR 201# modify the screen type of the console; defaults to "80x25" 202#options VGA_CONSOLE_SCREENTYPE="\"80x24\"" 203# work around a hardware bug that loaded fonts don't work; found on ATI cards 204#options VGA_CONSOLE_ATI_BROKEN_FONTSEL 205# console scrolling support. 206#options WSDISPLAY_SCROLLSUPPORT 207# enable VGA raster mode capable of displaying multilingual text on console 208#options VGA_RASTERCONSOLE 209# enable splash screen support; requires hw driver support 210#options SPLASHSCREEN 211 212# Kernel root file system and dump configuration. 213#config netbsd root on sd0c type ffs 214config netbsd root on ? type ? 215#config netbsd root on ? type ? 216#config netbsd root on ? type nfs 217 218# 219# Device configuration 220# 221 222mainbus0 at root 223 224cpu* at mainbus? 225 226# Basic Bus Support 227at91bus0 at mainbus? # AT91 bus 228 229 230# Integrated peripherals: 231# On-chip interrupt controller 232at91aic0 at at91bus0 addr 0xfffff000 size 0x200 233 234# On-chip timer 235#at91st0 at at91bus0 addr 0xfffffd00 size 0x100 pid 1 236at91tctmr0 at at91bus0 addr 0xfffa0000 size 0x40 pid 17 237 238# On-chip debug UART 239at91dbgu0 at at91bus0 addr 0xfffff200 size 0x200 pid 1 240 241# On-chip UARTs 242#at91usart0 at at91bus0 addr 0xfffc0000 size 0x4000 pid 6 243#at91usart1 at at91bus0 addr 0xfffc4000 size 0x4000 pid 7 244#at91usart2 at at91bus0 addr 0xfffc8000 size 0x4000 pid 8 245#at91usart3 at at91bus0 addr 0xfffcc000 size 0x4000 pid 9 246 247# On-chip ethernet 248at91emac0 at at91bus0 addr 0xfffc4000 size 0x4000 pid 21 249 250# General purpose I/O 251at91pio0 at at91bus0 addr 0xfffff400 size 0x200 pid 2 252at91pio1 at at91bus0 addr 0xfffff600 size 0x200 pid 3 253at91pio2 at at91bus0 addr 0xfffff800 size 0x200 pid 4 254gpio* at at91pio? 255 256# On-chip CF interface 257#at91cf0 at at91bus0 addr 0x50000000 size 0x900000 pid 4 258#pcmcia0 at at91cf0 259 260# On-chip USB 1.1 261ohci0 at at91bus0 addr 0x00500000 size 0x100000 pid 20 262 263# On-chip SPI 264#at91spi0 at at91bus0 addr 0xfffe0000 size 0x4000 pid 13 265#spi0 at at91spi0 266#spi_obuf0 at spi0 slave 1 267#gpio* at spi_obuf? 268 269# On-chip I2C 270at91twi0 at at91bus0 addr 0xfffac000 size 0x4000 pid 11 271iic0 at at91twi? 272#ds1672rtc* at iic0 addr 0x68 273#seeprom* at iic0 addr 0x50 flags 32 # 4096 bytes 274 275# Hardware monitors 276 277# AMD 768 and 8111 power/ACPI controllers 278#dbcool* at iic? addr 0x2C # Unknown other motherboard(s) 279#dbcool* at iic? addr 0x2D # Tyan S2881 280#dbcool* at iic? addr 0x2E # Tyan S2882-D 281 282# 1-Wire support 283#gpioow* at gpio? offset 6 mask 0x1 # 1-wire bitbanging via gpio 284#onewire* at gpioow? 285 286# 1-Wire devices 287#owtemp* at onewire? # Temperature sensors 288 289# SCSI Controllers and Devices 290 291# SCSI bus support 292scsibus* at scsi? 293 294# SCSI devices 295sd* at scsibus? target ? lun ? # SCSI disk drives 296#st* at scsibus? target ? lun ? # SCSI tape drives 297#cd* at scsibus? target ? lun ? # SCSI CD-ROM drives 298#ch* at scsibus? target ? lun ? # SCSI autochangers 299#ses* at scsibus? target ? lun ? # SCSI Enclosure Services devices 300#ss* at scsibus? target ? lun ? # SCSI scanners 301#uk* at scsibus? target ? lun ? # SCSI unknown 302 303 304# ATAPI bus support 305atapibus* at atapi? 306 307# ATAPI devices 308# flags have the same meaning as for IDE drives. 309#cd* at atapibus? drive ? flags 0x0000 # ATAPI CD-ROM drives 310sd* at atapibus? drive ? flags 0x0000 # ATAPI disk drives 311#st* at atapibus? drive ? flags 0x0000 # ATAPI tape drives 312#uk* at atapibus? drive ? flags 0x0000 # ATAPI unknown 313 314 315# Miscellaneous mass storage devices 316 317 318 319# Network Interfaces 320 321# MII/PHY support 322#acphy* at mii? phy ? # Altima AC101 and AMD Am79c874 PHYs 323#amhphy* at mii? phy ? # AMD 79c901 Ethernet PHYs 324#bmtphy* at mii? phy ? # Broadcom BCM5201 and BCM5202 PHYs 325#brgphy* at mii? phy ? # Broadcom BCM5400-family PHYs 326#ciphy* at mii? phy ? # Cicada CS8201 Gig-E PHYs 327#dmphy* at mii? phy ? # Davicom DM9101 PHYs 328#exphy* at mii? phy ? # 3Com internal PHYs 329#gentbi* at mii? phy ? # Generic Ten-Bit 1000BASE-[CLS]X PHYs 330#glxtphy* at mii? phy ? # Level One LXT-1000 PHYs 331#gphyter* at mii? phy ? # NS83861 Gig-E PHY 332#icsphy* at mii? phy ? # Integrated Circuit Systems ICS189x 333#igphy* at mii? phy ? # Intel IGP01E1000 334#ikphy* at mii? phy ? # Intel 82563 PHYs 335#inphy* at mii? phy ? # Intel 82555 PHYs 336#iophy* at mii? phy ? # Intel 82553 PHYs 337#lxtphy* at mii? phy ? # Level One LXT-970 PHYs 338#makphy* at mii? phy ? # Marvell Semiconductor 88E1000 PHYs 339#nsphy* at mii? phy ? # NS83840 PHYs 340#nsphyter* at mii? phy ? # NS83843 PHYs 341#pnaphy* at mii? phy ? # generic HomePNA PHYs 342#qsphy* at mii? phy ? # Quality Semiconductor QS6612 PHYs 343rgephy* at mii? phy ? # Realtek 8169S/8110S internal PHYs 344rlphy* at mii? phy ? # Realtek 8139/8201L PHYs 345#sqphy* at mii? phy ? # Seeq 80220/80221/80223 PHYs 346#tlphy* at mii? phy ? # ThunderLAN PHYs 347#tqphy* at mii? phy ? # TDK Semiconductor PHYs 348ukphy* at mii? phy ? # generic unknown PHYs 349#urlphy* at mii? phy ? # Realtek RTL8150L internal PHYs 350 351 352# USB Controller and Devices 353 354# USB bus support 355usb* at ohci? 356 357# USB Hubs 358uhub* at usb? 359uhub* at uhub? port ? configuration ? interface ? 360 361# USB HID device 362#uhidev* at uhub? port ? configuration ? interface ? 363 364# USB Mice 365#ums* at uhidev? reportid ? 366#wsmouse* at ums? mux 0 367 368# USB eGalax touch-panel 369#uep* at uhub? port ? 370#wsmouse* at uep? mux 0 371 372# USB Keyboards 373#ukbd* at uhidev? reportid ? 374#wskbd* at ukbd? console ? mux 1 375 376# USB serial adapter 377#ucycom* at uhidev? reportid ? 378 379# USB Generic HID devices 380#uhid* at uhidev? reportid ? 381 382# USB Printer 383#ulpt* at uhub? port ? configuration ? interface ? 384 385# USB Modem 386#umodem* at uhub? port ? configuration ? 387#ucom* at umodem? 388 389# USB Mass Storage 390umass* at uhub? port ? configuration ? interface ? 391 392# USB audio 393#uaudio* at uhub? port ? configuration ? 394 395# USB MIDI 396#umidi* at uhub? port ? configuration ? 397 398# USB IrDA 399# USB-IrDA bridge spec 400#uirda* at uhub? port ? configuration ? interface ? 401#irframe* at uirda? 402 403# SigmaTel STIr4200 USB/IrDA Bridge 404#ustir* at uhub? port ? 405#irframe* at ustir? 406 407# USB Ethernet adapters 408aue* at uhub? port ? # ADMtek AN986 Pegasus based adapters 409axe* at uhub? port ? # ASIX AX88172 based adapters 410cdce* at uhub? port ? # CDC, Ethernet Networking Control Model 411cue* at uhub? port ? # CATC USB-EL1201A based adapters 412kue* at uhub? port ? # Kawasaki LSI KL5KUSB101B based adapters 413mue* at uhub? port ? # Microchip LAN75xx/LAN78xx based adapters 414udav* at uhub? port ? # Davicom DM9601 based adapters 415ure* at uhub? port ? # Realtek RTL8152/RTL8153 based adapters 416url* at uhub? port ? # Realtek RTL8150L based adapters 417 418# USB 802.11 adapters 419atu* at uhub? port ? # Atmel AT76C50XX based adapters 420ural* at uhub? port ? # Ralink Technology RT2500USB 802.11a/b/g 421rum* at uhub? port ? # Ralink Technology RT2501/RT2601 802.11a/b/g 422 423# Prolific PL2301/PL2302 host-to-host adapter 424upl* at uhub? port ? 425 426# Serial adapters 427ubsa* at uhub? port ? # Belkin serial adapter 428ucom* at ubsa? portno ? 429 430uftdi* at uhub? port ? # FTDI FT8U100AX serial adapter 431ucom* at uftdi? portno ? 432 433#uipaq* at uhub? port ? # iPAQ PDAs 434#ucom* at uipaq? portno ? 435 436umct* at uhub? port ? # MCT USB-RS232 serial adapter 437ucom* at umct? portno ? 438 439uplcom* at uhub? port ? # I/O DATA USB-RSAQ2 serial adapter 440ucom* at uplcom? portno ? 441 442uvscom* at uhub? port ? # SUNTAC Slipper U VS-10U serial adapter 443ucom* at uvscom? portno ? 444 445# USB Handspring Visor 446#uvisor* at uhub? port ? 447#ucom* at uvisor? 448 449# Kyocera AIR-EDGE PHONE 450#ukyopon* at uhub? port ? 451#ucom* at ukyopon? portno ? 452 453# USB scanners that use SCSI emulation, e.g., HP5300 454#usscanner* at uhub? port ? 455 456# Topfield TF5000PVR range of DVB recorders 457#utoppy* at uhub? port ? 458 459# D-Link DSB-R100 USB radio 460#udsbr* at uhub? port ? 461#radio* at udsbr? 462 463# USB Generic driver 464#ugen* at uhub? port ? 465 466 467# IrDA and Consumer Ir devices 468 469# Toshiba Oboe 470 471# Audio Devices 472 473# Audio support 474#audio* at audiobus? 475 476#spkr* at audio? # PC speaker (synthesized) 477 478# MIDI support 479#midi* at midibus? 480#midi* at pcppi? # MIDI interface to the PC speaker 481 482 483 484# Bluetooth Controller and Device support 485 486# Bluetooth PCMCIA Controllers 487#bt3c* at pcmcia? function ? # 3Com 3CRWB6096-A 488 489# Bluetooth USB Controllers 490#ubt* at uhub? port ? configuration ? interface ? 491 492# Bluetooth Device Hub 493#bthub* at bt3c? 494#bthub* at ubt? 495 496# Bluetooth HID support 497#bthidev* at bthub? 498 499# Bluetooth Mouse 500#btms* at bthidev? reportid ? 501#wsmouse* at btms? mux 0 502 503# Bluetooth Keyboard 504#btkbd* at bthidev? reportid ? 505#wskbd* at btkbd? console ? mux 1 506 507# Bluetooth Audio support 508#btsco* at bthub? 509 510 511 512 513# Pseudo-Devices 514 515#pseudo-device crypto # /dev/crypto device 516#pseudo-device swcrypto # software crypto implementation 517 518# disk/mass storage pseudo-devices 519#pseudo-device ccd # concatenated/striped disk devices 520#pseudo-device cgd # cryptographic disk devices 521#pseudo-device raid # RAIDframe disk driver 522#options RAID_AUTOCONFIG # auto-configuration of RAID components 523# Options to enable various other RAIDframe RAID types. 524#options RF_INCLUDE_EVENODD=1 525#options RF_INCLUDE_RAID5_RS=1 526#options RF_INCLUDE_PARITYLOGGING=1 527#options RF_INCLUDE_CHAINDECLUSTER=1 528#options RF_INCLUDE_INTERDECLUSTER=1 529#options RF_INCLUDE_PARITY_DECLUSTERING=1 530#options RF_INCLUDE_PARITY_DECLUSTERING_DS=1 531#pseudo-device fss # file system snapshot device 532#pseudo-device putter # for puffs and pud 533 534pseudo-device md # memory disk device (ramdisk) 535#pseudo-device vnd # disk-like interface to files 536#options VND_COMPRESSION # compressed vnd(4) 537 538# network pseudo-devices 539pseudo-device bpfilter # Berkeley packet filter 540#pseudo-device carp # Common Address Redundancy Protocol 541pseudo-device npf # NPF packet filter 542pseudo-device loop # network loopback 543pseudo-device ppp # Point-to-Point Protocol 544#pseudo-device pppoe # PPP over Ethernet (RFC 2516) 545#pseudo-device sl # Serial Line IP 546#pseudo-device irframetty # IrDA frame line discipline 547#pseudo-device tap # virtual Ethernet 548pseudo-device tun # network tunneling over tty 549#pseudo-device gre # generic L3 over IP tunnel 550#pseudo-device gif # IPv[46] over IPv[46] tunnel (RFC1933) 551#pseudo-device faith # IPv[46] tcp relay translation i/f 552#pseudo-device stf # 6to4 IPv6 over IPv4 encapsulation 553#pseudo-device vlan # IEEE 802.1q encapsulation 554#pseudo-device bridge # simple inter-network bridging 555#pseudo-device vether # Virtual Ethernet for bridge 556# srt is EXPERIMENTAL 557#pseudo-device srt # source-address-based routing 558 559# miscellaneous pseudo-devices 560pseudo-device pty # pseudo-terminals 561#pseudo-device sequencer # MIDI sequencer 562#options RND_COM # use "com" randomness as well (BROKEN) 563pseudo-device clockctl # user control of clock subsystem 564pseudo-device ksyms # /dev/ksyms 565 566# a pseudo device needed for Coda # also needs CODA (above) 567#pseudo-device vcoda # coda minicache <-> venus comm. 568 569# wscons pseudo-devices 570#pseudo-device wsmux # mouse & keyboard multiplexor 571#pseudo-device wsfont 572 573# Veriexec 574# include "dev/veriexec.config" 575 576options PAX_MPROTECT=0 # PaX mprotect(2) restrictions 577