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