1# $NetBSD: MALTA,v 1.103 2021/01/21 06:51:54 nia Exp $ 2 3include "arch/evbmips/conf/std.malta" 4 5#options INCLUDE_CONFIG_FILE # embed config file in kernel binary 6 7#ident "MALTA-$Revision: 1.103 $" 8 9maxusers 32 10 11options MIPS32 12options MIPS64 13 14options NOFPU # No FPU 15options FPEMUL # emulate FPU insn 16 17# Options for necessary to use MD 18# options MEMORY_DISK_HOOKS 19# options MEMORY_DISK_IS_ROOT # force root on memory disk 20# options MEMORY_DISK_SERVER=0 # no userspace memory disk support 21# options MEMORY_DISK_ROOT_SIZE=6144 # size of memory disk, in blocks 22#options MEMORY_DISK_ROOT_SIZE=16384 # size of memory disk, in blocks 23 24# Standard system options 25options KTRACE # system call tracing support 26options SYSVMSG # System V message queues 27options SYSVSEM # System V semaphores 28options SYSVSHM # System V shared memory 29options NTP # network time protocol 30 31# Debugging options 32options DIAGNOSTIC # extra kernel sanity checking 33#options DEBUG # extra kernel debugging support 34#options SYSCALL_DEBUG # symbolic syscall names 35options USERCONF # userconf(4) support 36#options SYSCTL_INCLUDE_DESCR # Include sysctl descriptions in kernel 37options DDB # kernel dynamic debugger 38options DDB_HISTORY_SIZE=100 # enable history editing in DDB 39makeoptions DEBUG="-g" # compile full symbol table 40makeoptions COPY_SYMTAB=1 # size for embedded symbol table 41 42# Compatibility options 43 44include "conf/compat_netbsd16.config" 45 46#options EXEC_ECOFF # exec ECOFF binaries 47#options COMPAT_ULTRIX # binary compatibility with Ultrix 48#options COMPAT_LINUX # binary compatibility with Linux 49#options COMPAT_OSSAUDIO # binary compatibility with Linux 50 51# File systems 52file-system FFS # Berkeley Fast Filesystem 53file-system MFS # memory-based filesystem 54#file-system EXT2FS # second extended file system (linux) 55file-system NFS # Sun NFS-compatible filesystem client 56#file-system KERNFS # kernel data-structure filesystem 57#file-system NULLFS # NULL layered filesystem 58#file-system OVERLAY # overlay file system 59#file-system FDESC # user file descriptor filesystem 60#file-system UMAPFS # uid/gid remapping filesystem 61#file-system LFS # Log-based filesystem (still experimental) 62#file-system PROCFS # /proc 63#file-system CD9660 # ISO 9660 + Rock Ridge file system 64file-system TMPFS # Efficient memory file system 65#file-system UNION # union file system 66#file-system MSDOSFS # MS-DOS FAT filesystem(s). 67#file-system CODA # Coda File System; also needs vcoda (below) 68file-system PTYFS # /dev/pts/N support 69 70# File system options 71#options NFSSERVER # Sun NFS-compatible filesystem server 72#options QUOTA # legacy UFS quotas 73#options QUOTA2 # new, in-filesystem UFS quotas 74options FFS_EI # FFS Endian Independent support 75options WAPBL # File system journaling support 76options FFS_NO_SNAPSHOT # No FFS snapshot support 77#options EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and 78 # immutable) behave as system flags. 79 80# Alternate buffer queue strategies for better responsiveness under high 81# disk I/O load. 82#options BUFQ_READPRIO 83options BUFQ_PRIOCSCAN 84 85# Networking options 86#options GATEWAY # IP packet forwarding 87options INET # Internet protocols 88#options INET6 # IPV6 89#options IPSEC # IP security 90#options IPSEC_DEBUG # debug for IP security 91#options MROUTING # packet forwarding of multicast packets 92#options PIM # Protocol Independent Multicast 93#options NETATALK # AppleTalk (over Ethernet) protocol 94#options PPP_BSDCOMP # BSD-Compress compression support for PPP 95#options PPP_DEFLATE # Deflate compression support for PPP 96#options PPP_FILTER # Active filter support for PPP (requires bpf) 97 98# JIT compiler for bpfilter 99#options SLJIT 100#options BPFJIT 101 102# These options enable verbose messages for several subsystems. 103# Warning, these may compile large string tables into the kernel! 104#options PCI_NETBSD_CONFIGURE # NetBSD configures the PCI bus 105options PCIVERBOSE # verbose PCI device autoconfig messages 106#options PCI_CONFIG_DUMP # verbosely dump PCI config space 107#options SCSIVERBOSE # human readable SCSI error messages 108options MIIVERBOSE # verbose PHY autoconfig messages 109 110# Bitmask for enabling the PCI IDE channels in the southbridge. 111# Set bit 0 (0x01) for channel 0, bit 1 (0x02) for channel 1. 112# 113# Do this if your firmware (usually PMON and YAMON) doens't enable the IDE 114# channels for you (thus causing the NetBSD `pciide' driver to ignore them). 115options PCI_NETBSD_ENABLE_IDE=0x1 116 117options NFS_BOOT_DHCP 118 119config netbsd root on ? type ? 120 121 122mainbus0 at root 123cpu0 at mainbus? 124gt0 at mainbus? 125 126#com2 at mainbus? # CBUS UART (ugh, 64 bit register spacing) 127 128pci* at gt0 129pchb* at pci? dev ? function ? 130pcib* at pci? dev ? function ? 131 132# ISA bus support 133isa* at pcib? 134 135# ISA devices 136mcclock* at isa? port 0x70 # mc146818-compatible 137com0 at isa? port 0x3f8 irq 4 # standard serial ports 138com1 at isa? port 0x2f8 irq 3 139#fdc0 at isa? port 0x3f0 irq 6 drq 2 # floppy controller 140 141# Floppy drives 142#fd* at fdc? drive ? 143 144# wscons 145#vga* at pci? dev ? function ? 146#wsdisplay* at vga? console ? 147#pckbc* at isa? # PC keyboard controller 148#pckbd* at pckbc? # PC keyboard (kbd port) 149#pms* at pckbc? # PS/2-style mouse (aux port) 150#wskbd* at pckbd? 151#wsmouse* at pms? 152 153# PCI SCSI controllers 154#adv* at pci? dev ? function ? # AdvanSys 1200[A,B], 9xx[U,UA] 155#adw* at pci? dev ? function ? # AdvanSys 9xxUW SCSI 156#ahc* at pci? dev ? function ? # Adaptec [23]94x, aic78x0 SCSI 157#bha* at pci? dev ? function ? # BusLogic 9xx SCSI 158#dpt* at pci? dev ? function ? # DPT SmartCache/SmartRAID 159#isp* at pci? dev ? function ? # Qlogic ISP [12]0x0 SCSI/FC 160#siop* at pci? dev ? function ? # NCR 53c8xx SCSI 161#pcscp* at pci? dev ? function ? # AMD 53c974 PCscsi-PCI SCSI 162 163# SCSI bus support 164#scsibus* at adv? 165#scsibus* at adw? 166#scsibus* at ahc? 167#scsibus* at bha? 168#scsibus* at dpt? 169#scsibus* at isp? 170#scsibus* at siop? 171#scsibus* at pcscp? 172 173# SCSI devices 174#sd* at scsibus? target ? lun ? # SCSI disk drives 175#st* at scsibus? target ? lun ? # SCSI tape drives 176#cd* at scsibus? target ? lun ? # SCSI CD-ROM drives 177#ch* at scsibus? target ? lun ? # SCSI autochangers 178#ss* at scsibus? target ? lun ? # SCSI scanners 179#uk* at scsibus? target ? lun ? # SCSI unknown 180 181# IDE and related devices 182# PCI IDE controllers - see pciide(4) for supported hardware. 183# The 0x0001 flag force the driver to use DMA, even if the driver doesn't know 184# how to set up DMA modes for this chip. This may work, or may cause 185# a machine hang with some controllers. 186pciide* at pci? dev ? function ? flags 0x0000 # GENERIC pciide driver 187acardide* at pci? dev ? function ? # Acard IDE controllers 188aceride* at pci? dev ? function ? # Acer Lab IDE controllers 189artsata* at pci? dev ? function ? # Intel i31244 SATA controller 190cmdide* at pci? dev ? function ? # CMD tech IDE controllers 191cypide* at pci? dev ? function ? # Cypress IDE controllers 192hptide* at pci? dev ? function ? # Triones/HighPoint IDE controllers 193optiide* at pci? dev ? function ? # Opti IDE controllers 194pdcide* at pci? dev ? function ? # Promise IDE controllers 195pdcsata* at pci? dev ? function ? # Promise SATA150 controllers 196satalink* at pci? dev ? function ? # SiI SATALink controllers 197siside* at pci? dev ? function ? # SiS IDE controllers 198slide* at pci? dev ? function ? # Symphony Labs IDE controllers 199viaide* at pci? dev ? function ? # VIA/AMD/Nvidia IDE controllers 200 201atabus* at ata? channel ? 202 203# IDE drives 204# Flags are used only with controllers that support DMA operations 205# and mode settings (e.g. some pciide controllers) 206# The lowest order four bits (rightmost digit) of the flags define the PIO 207# mode to use, the next set of four bits the DMA mode and the third set the 208# UltraDMA mode. For each set of four bits, the 3 lower bits define the mode 209# to use, and the last bit must be 1 for this setting to be used. 210# For DMA and UDMA, 0xf (1111) means 'disable'. 211# 0x0fac means 'use PIO mode 4, DMA mode 2, disable UltraDMA'. 212# (0xc=1100, 0xa=1010, 0xf=1111) 213# 0x0000 means "use whatever the drive claims to support". 214wd* at atabus? drive ? flags 0x0000 215 216# PCI network interfaces 217ath* at pci? dev ? function ? # Atheros WLAN 218#ep* at pci? dev ? function ? # 3Com 3c59x 219#ex* at pci? dev ? function ? # 3Com 90x[B] 220#epic* at pci? dev ? function ? # SMC EPIC/100 Ethernet 221#fxp* at pci? dev ? function ? # Intel EtherExpress PRO10+/100B 222pcn* at pci? dev ? function ? # AMD PCnet-PCI Ethernet 223options PCN_EVENT_COUNTERS 224#ne* at pci? dev ? function ? # NE2000-compatible Ethernet 225#ntwoc* at pci? dev ? function ? # Riscom/N2 PCI Sync Serial 226sip* at pci? dev ? function ? # SiS 900 Ethernet 227options SIP_EVENT_COUNTERS 228#tl* at pci? dev ? function ? # ThunderLAN-based Ethernet 229#tlp* at pci? dev ? function ? # DECchip 21x4x and clones 230#vr* at pci? dev ? function ? # VIA Rhine Fast Ethernet 231#rtk* at pci? dev ? function ? # Realtek 8129/8139 232 233# MII/PHY support 234#acphy* at mii? phy ? # DAltima AC101 and AMD Am79c874 PHYs 235#amhphy* at mii? phy ? # AMD 79c901 Ethernet PHYs 236#bmtphy* at mii? phy ? # Broadcom BCM5201 and BCM5202 PHYs 237#brgphy* at mii? phy ? # Broadcom BCM5400-family PHYs 238#dmphy* at mii? phy ? # Davicom DM9101 PHYs 239#exphy* at mii? phy ? # 3Com internal PHYs 240#glxtphy* at mii? phy ? # Level One LXT-1000 PHYs 241#gphyter* at mii? phy ? # NS83861 Gig-E PHY 242#icsphy* at mii? phy ? # Integrated Circuit Systems ICS1890 243#inphy* at mii? phy ? # Intel 82555 PHYs 244#iophy* at mii? phy ? # Intel 82553 PHYs 245#lxtphy* at mii? phy ? # Level One LXT-970 PHYs 246#makphy* at mii? phy ? # Marvell Semiconductor 88E1000 PHYs 247#nsphy* at mii? phy ? # NS83840 PHYs 248nsphyter* at mii? phy ? # NS83843 PHYs 249#pnaphy* at mii? phy ? # generic HomePNA PHYs 250#qsphy* at mii? phy ? # Quality Semiconductor QS6612 PHYs 251#sqphy* at mii? phy ? # Seeq 80220/80221/80223 PHYs 252#tlphy* at mii? phy ? # ThunderLAN PHYs 253#tqphy* at mii? phy ? # TDK Semiconductor PHYs 254ukphy* at mii? phy ? # generic unknown PHYs 255 256 257# USB 258ohci* at pci? dev ? function ? # USB Open Host Controller 259uhci* at pci? dev ? function ? # USB Univ. Host Controller 260 261# USB bus support 262usb* at uhci? 263usb* at ohci? 264 265# USB Hubs 266uhub* at usb? 267uhub* at uhub? port ? 268 269# .... 270 271# USB Generic driver 272ugen* at uhub? port ? 273 274# Audio Devices 275 276# PCI audio devices 277clct* at pci? dev ? function ? # Cirrus Logic CS4281 278 279# Audio support 280audio* at clct? 281 282spkr* at audio? # PC speaker (synthesized) 283 284# Pseudo-devices 285 286# Disk/mass storage pseudo-devices 287#pseudo-device ccd # concatenated disk devices 288#pseudo-device raid # RAIDframe disk driver 289#options RAID_AUTOCONFIG # auto-configuration of RAID 290#pseudo-device fss # file system snapshot device 291#pseudo-device md # memory disk device (ramdisk) 292pseudo-device vnd # disk-like interface to files 293 294# Network pseudo-devices 295pseudo-device bpfilter # Berkeley packet filter 296pseudo-device npf # NPF packet filter 297pseudo-device carp # Common Address Redundancy Protocol 298pseudo-device loop # network loopback 299#pseudo-device ppp # Point-to-Point Protocol 300#pseudo-device sl # Serial Line IP 301#pseudo-device tun # network tunneling over tty 302#pseudo-device tap # virtual Ethernet 303#pseudo-device gre # generic L3 over IP tunnel 304#pseudo-device ipip # RFC 2003 IP Encapsulation 305#pseudo-device gif # RFC1933 tunnel 306#pseudo-device faith # IPv[46] tcp relay translation 307#pseudo-device stf # 6to4 IPv6 over IPv4 encapsulation 308pseudo-device vlan # IEEE 802.1q encapsulation 309pseudo-device bridge # simple inter-network bridging 310#pseudo-device vether # Virtual Ethernet for bridge 311 312# Miscellaneous pseudo-devices 313pseudo-device pty # pseudo-terminals 314#pseudo-device sequencer # MIDI sequencer 315pseudo-device clockctl # user control of clock subsystem 316pseudo-device drvctl # user control of drive subsystem 317pseudo-device ksyms # /dev/ksyms 318 319# A pseudo device needed for Coda # also needs CODA (above) 320#pseudo-device vcoda # coda minicache <-> venus comm. 321 322include "dev/veriexec.config" 323