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