1 1.34 jakllsch # $NetBSD: GENERIC_601,v 1.34 2025/02/16 18:04:57 jakllsch Exp $ 2 1.1 macallan # 3 1.1 macallan # GENERIC machine description file 4 1.1 macallan # 5 1.1 macallan # This machine description file is used to generate the default NetBSD 6 1.1 macallan # kernel. The generic kernel does not include all options, subsystems 7 1.1 macallan # and device drivers, but should be useful for most applications. 8 1.1 macallan # 9 1.1 macallan # The machine description file can be customised for your specific 10 1.1 macallan # machine to reduce the kernel size and improve its performance. 11 1.1 macallan # 12 1.1 macallan # For further information on compiling NetBSD kernels, see the config(8) 13 1.1 macallan # man page. 14 1.1 macallan # 15 1.1 macallan # For further information on hardware support for this architecture, see 16 1.1 macallan # the intro(4) man page. For further information about kernel options 17 1.1 macallan # for this architecture, see the options(4) man page. For an explanation 18 1.1 macallan # of each device driver in this file see the section 4 man page for the 19 1.1 macallan # device. 20 1.1 macallan # 21 1.1 macallan # For PPC 601, need "CPUFLAGS+= -mcpu=601" 22 1.1 macallan # 23 1.1 macallan # Openfirmware 1.0.5 require a kernel < 4M for netbooting 24 1.1 macallan # 25 1.1 macallan # this config more or less matches a Power Macintosh 7200 with a USB card 26 1.1 macallan 27 1.15 mrg include "arch/macppc/conf/std.macppc.601" 28 1.1 macallan 29 1.1 macallan options INCLUDE_CONFIG_FILE # embed config file in kernel binary 30 1.1 macallan 31 1.34 jakllsch ident "GENERIC-$Revision: 1.34 $" 32 1.1 macallan 33 1.1 macallan maxusers 32 34 1.1 macallan 35 1.1 macallan # Standard system options 36 1.1 macallan options INSECURE # disable kernel security levels 37 1.1 macallan 38 1.1 macallan options RTC_OFFSET=0 # hardware clock is this many mins. west of GMT 39 1.1 macallan options NTP # NTP phase/frequency locked loop 40 1.1 macallan options KTRACE # system call tracing via ktrace(1) 41 1.1 macallan 42 1.1 macallan options SYSVMSG # System V message queues 43 1.1 macallan options SYSVSEM # System V semaphores 44 1.1 macallan options SYSVSHM # System V shared memory 45 1.1 macallan 46 1.1 macallan options MODULAR # new style module(7) framework 47 1.5 jnemeth options MODULAR_DEFAULT_AUTOLOAD 48 1.1 macallan 49 1.1 macallan #options USERCONF # userconf(4) support 50 1.1 macallan #options PIPE_SOCKETPAIR # smaller, but slower pipe(2) 51 1.1 macallan options SYSCTL_INCLUDE_DESCR # Include sysctl descriptions in kernel 52 1.1 macallan 53 1.16 sevan # Alternate buffer queue strategies for better responsiveness under high 54 1.16 sevan # disk I/O load. 55 1.1 macallan #options BUFQ_READPRIO 56 1.18 sevan options BUFQ_PRIOCSCAN 57 1.1 macallan 58 1.1 macallan # Diagnostic/debugging support options 59 1.1 macallan #options DIAGNOSTIC # cheap kernel consistency checks 60 1.1 macallan #options DEBUG # expensive debugging checks/support 61 1.1 macallan options ZS_CONSOLE_ABORT# allow break to get into DDB on serial 62 1.1 macallan options DDB # in-kernel debugger 63 1.1 macallan #options DDB_ONPANIC=0 # don't go into ddb on panic. 64 1.1 macallan options DDB_HISTORY_SIZE=512 # enable history editing in DDB 65 1.1 macallan #options TRAP_PANICWAIT 66 1.17 sevan #options DDB_COMMANDONENTER="bt" 67 1.1 macallan 68 1.1 macallan #makeoptions DEBUG="-g" # compile full symbol table 69 1.1 macallan 70 1.1 macallan # Compatibility options 71 1.15 mrg include "conf/compat_netbsd50.config" 72 1.15 mrg 73 1.1 macallan #options COMPAT_386BSD_MBRPART # recognize old partition ID 74 1.1 macallan #options COMPAT_LINUX # Linux binary compatibility 75 1.29 nia #options COMPAT_OSSAUDIO # Linux binary compatibility 76 1.1 macallan 77 1.1 macallan # Wedge support 78 1.1 macallan options DKWEDGE_AUTODISCOVER # Automatically add dk(4) instances 79 1.1 macallan options DKWEDGE_METHOD_GPT # Supports GPT partitions as wedges 80 1.12 rin #options DKWEDGE_METHOD_BSDLABEL # Support disklabel entries as wedges 81 1.12 rin #options DKWEDGE_METHOD_MBR # Support MBR partitions as wedges 82 1.3 christos options DKWEDGE_METHOD_APPLE # Support Apple partitions as wedges 83 1.12 rin #options DKWEDGE_METHOD_RDB # Support RDB partitions as wedges 84 1.32 charlott #options DKWEDGE_METHOD_TOS # Support Atari "TOS" partitions as wedges 85 1.1 macallan 86 1.1 macallan # File systems 87 1.1 macallan file-system FFS # UFS 88 1.1 macallan #file-system EXT2FS # second extended file system (linux) 89 1.1 macallan #file-system LFS # log-structured file system 90 1.1 macallan #file-system MFS # memory file system 91 1.1 macallan file-system NFS # Network File System client 92 1.1 macallan file-system CD9660 # ISO 9660 + Rock Ridge file system 93 1.1 macallan #file-system MSDOSFS # MS-DOS file system 94 1.1 macallan file-system FDESC # /dev/fd 95 1.1 macallan file-system KERNFS # /kern 96 1.1 macallan #file-system NULLFS # loopback file system 97 1.1 macallan #file-system OVERLAY # overlay file system 98 1.1 macallan #file-system PUFFS # Userspace file systems (e.g. ntfs-3g & sshfs) 99 1.1 macallan file-system PROCFS # /proc 100 1.1 macallan #file-system UMAPFS # NULLFS + uid and gid remapping 101 1.1 macallan #file-system UNION # union file system 102 1.1 macallan file-system PTYFS # /dev/pts/N support 103 1.1 macallan file-system TMPFS # Efficient memory file-system 104 1.1 macallan #file-system UDF # experimental - OSTA UDF CD/DVD file-system 105 1.1 macallan #file-system HFS # experimental - Apple HFS+ (read-only) 106 1.1 macallan 107 1.1 macallan # File system options 108 1.30 simonb #options APPLE_UFS # Apple UFS support in FFS 109 1.30 simonb #options FFS_EI # FFS Endian Independent support 110 1.30 simonb #options FFS_NO_SNAPSHOT # No FFS snapshot support 111 1.1 macallan #options QUOTA # legacy UFS quotas 112 1.1 macallan #options QUOTA2 # new, in-filesystem UFS quotas 113 1.30 simonb #options UFS_DIRHASH # UFS Large Directory Hashing 114 1.30 simonb #options UFS_EXTATTR # Extended attribute support for UFS1 115 1.1 macallan options WAPBL # File system journaling support 116 1.30 simonb #options NFSSERVER # Network File System server 117 1.1 macallan 118 1.1 macallan options NFS_BOOT_DHCP # Support DHCP NFS root 119 1.1 macallan 120 1.1 macallan # Networking options 121 1.1 macallan #options GATEWAY # packet forwarding 122 1.1 macallan options INET # IP + ICMP + TCP + UDP 123 1.1 macallan options INET6 # IPV6 124 1.1 macallan #options IPSEC # IP security 125 1.1 macallan #options IPSEC_DEBUG # debug for IP security 126 1.1 macallan #options MROUTING # IP multicast routing 127 1.1 macallan #options PIM # Protocol Independent Multicast 128 1.1 macallan #options NETATALK # AppleTalk networking protocols 129 1.1 macallan #options PPP_BSDCOMP # BSD-Compress compression support for PPP 130 1.1 macallan #options PPP_DEFLATE # Deflate compression support for PPP 131 1.1 macallan #options PPP_FILTER # Active filter support for PPP (requires bpf) 132 1.1 macallan #options TCP_DEBUG # Record last TCP_NDEBUG packets with SO_DEBUG 133 1.1 macallan 134 1.1 macallan #options ALTQ # Manipulate network interfaces' output queues 135 1.1 macallan #options ALTQ_BLUE # Stochastic Fair Blue 136 1.1 macallan #options ALTQ_CBQ # Class-Based Queueing 137 1.1 macallan #options ALTQ_CDNR # Diffserv Traffic Conditioner 138 1.1 macallan #options ALTQ_FIFOQ # First-In First-Out Queue 139 1.1 macallan #options ALTQ_FLOWVALVE # RED/flow-valve (red-penalty-box) 140 1.1 macallan #options ALTQ_HFSC # Hierarchical Fair Service Curve 141 1.1 macallan #options ALTQ_LOCALQ # Local queueing discipline 142 1.1 macallan #options ALTQ_PRIQ # Priority Queueing 143 1.1 macallan #options ALTQ_RED # Random Early Detection 144 1.1 macallan #options ALTQ_RIO # RED with IN/OUT 145 1.1 macallan #options ALTQ_WFQ # Weighted Fair Queueing 146 1.1 macallan 147 1.1 macallan # These options enable verbose messages for several subsystems. 148 1.1 macallan # Warning, these may compile large string tables into the kernel! 149 1.1 macallan options PCIVERBOSE # verbose PCI device autoconfig messages 150 1.1 macallan options MIIVERBOSE # verbose PHY autoconfig messages 151 1.1 macallan #options PCI_CONFIG_DUMP # verbosely dump PCI config space 152 1.1 macallan options SCSIVERBOSE # human readable SCSI error messages 153 1.1 macallan options USBVERBOSE # verbose USB device autoconfig messages 154 1.1 macallan 155 1.1 macallan # wscons options 156 1.1 macallan #options WSEMUL_SUN # sun terminal emulation 157 1.1 macallan options WSEMUL_VT100 # VT100 / VT220 emulation 158 1.1 macallan options WSDISPLAY_COMPAT_PCVT # emulate some ioctls 159 1.1 macallan options WSDISPLAY_COMPAT_SYSCONS # emulate some ioctls 160 1.1 macallan options WSDISPLAY_COMPAT_USL # VT handling 161 1.1 macallan 162 1.1 macallan options WS_DEFAULT_FG=WSCOL_BLACK 163 1.1 macallan options WS_DEFAULT_BG=WSCOL_LIGHT_WHITE 164 1.1 macallan options WS_KERNEL_FG=WSCOL_GREEN 165 1.1 macallan options WS_KERNEL_BG=WSCOL_LIGHT_WHITE 166 1.34 jakllsch options WSDISPLAY_SCROLLSUPPORT 167 1.1 macallan 168 1.1 macallan #options WSDISPLAY_COMPAT_RAWKBD # can get raw scancodes 169 1.33 jakllsch options WSDISPLAY_CUSTOM_OUTPUT # color customization from wsconsctl(8) 170 1.1 macallan options FONT_GALLANT12x22 171 1.1 macallan options FONT_QVSS8x15 # a smaller font for lower resolutions 172 1.1 macallan options FONT_DROID_SANS_MONO12x22 173 1.1 macallan #options FONT_DROID_SANS_MONO8x16 174 1.1 macallan 175 1.1 macallan # Optional Mac keyboard tweaks 176 1.1 macallan 177 1.1 macallan # Tweak the keyboard driver to treat the caps lock key on an ADB 178 1.1 macallan # keyboard as a control key; requires special remapping because of 179 1.1 macallan # ADB's strange emulation of a mechanically-locked key. 180 1.1 macallan #options CAPS_IS_CONTROL 181 1.1 macallan 182 1.1 macallan # On Mac laptops, several function keys double as "hot keys" 183 1.1 macallan # (brightness, volume, eject) when the Fn modifier is held down. Mac 184 1.1 macallan # OS X likes to reprogram the keyboard controller to send hot key 185 1.1 macallan # events when Fn is not held down and send function key events when it 186 1.1 macallan # is. This option transforms the non-keyboard "button" events back 187 1.1 macallan # into function key events. 188 1.1 macallan # enabled by default since trying to control brightness with those causes 189 1.1 macallan # trouble on pretty much all halfway recent Apple laptops 190 1.1 macallan options FORCE_FUNCTION_KEYS 191 1.1 macallan 192 1.1 macallan # Kernel root file system and dump configuration. 193 1.1 macallan config netbsd root on ? type ? 194 1.1 macallan 195 1.1 macallan # 196 1.1 macallan # Device configuration 197 1.1 macallan # 198 1.1 macallan 199 1.1 macallan mainbus* at root 200 1.1 macallan 201 1.1 macallan cpu* at mainbus? 202 1.1 macallan bandit* at mainbus? 203 1.1 macallan 204 1.1 macallan pci* at bandit? bus ? 205 1.1 macallan pci* at ppb? bus ? 206 1.1 macallan 207 1.1 macallan pchb* at pci? dev ? function ? # PCI-Host bridges 208 1.1 macallan ppb* at pci? dev ? function ? # PCI-PCI bridges 209 1.1 macallan 210 1.1 macallan # PCI SCSI controllers 211 1.23 scole ahc* at pci? dev ? function ? # Adaptec 294x, aic78x0 SCSI 212 1.1 macallan 213 1.1 macallan # Display devices 214 1.1 macallan # 215 1.8 macallan # The 7200's onboard video is unsupported by OF so we need either a 216 1.1 macallan # graphics card that works as OF console or a serial console. 217 1.1 macallan # The only cards known to work ( so far ) are PCI Voodoo3s flashed with the 218 1.1 macallan # official Macintosh firmware from 3Dfx. The others should work but are 219 1.1 macallan # untested with OF 1.0.5 220 1.1 macallan 221 1.25 scole # this will take over the console if output-device is set to 'platinum'. 222 1.25 scole # It will provide a NetBSD console, but still won't work with OF 223 1.8 macallan platinumfb0 at mainbus? 224 1.8 macallan 225 1.1 macallan #gffb* at pci? function ? # NVIDIA GeForce2 MX 226 1.1 macallan #machfb* at pci? function ? # ATI Mach 64, Rage, Rage Pro 227 1.1 macallan #r128fb* at pci? function ? # ATI Rage 128 228 1.1 macallan voodoofb* at pci? function ? # 3Dfx Voodoo3 229 1.1 macallan 230 1.1 macallan # ATI Radeon. Still has problems on some hardware 231 1.1 macallan #radeonfb* at pci? function ? 232 1.1 macallan 233 1.1 macallan # generic PCI framebuffer, should work with everything supported by OF 234 1.1 macallan genfb* at pci? function ? 235 1.1 macallan 236 1.1 macallan # make sure the console display is always wsdisplay0 237 1.1 macallan wsdisplay0 at wsemuldisplaydev? console 1 238 1.1 macallan wsdisplay* at wsemuldisplaydev? 239 1.1 macallan 240 1.1 macallan obio* at pci? dev ? function ? 241 1.1 macallan 242 1.1 macallan mc* at obio? # MACE ethernet 243 1.1 macallan esp* at obio? flags 0x00ff # 53c9x SCSI 244 1.1 macallan # the 7200 has no mesh but other PMacs with 601 cards may 245 1.1 macallan mesh* at obio? flags 0xffff # MESH SCSI 246 1.1 macallan nvram* at obio? # nvram 247 1.1 macallan 248 1.1 macallan # the new, improved ADB subsystem 249 1.1 macallan 250 1.1 macallan cuda* at obio? # CUDA, for Old World PowerMacs 251 1.1 macallan nadb* at adb_bus? # ADB bus enumerator, at cuda or pmu 252 1.1 macallan adbkbd* at nadb? # ADB keyboard 253 1.1 macallan adbms* at nadb? # ADB mice and touchpads 254 1.1 macallan 255 1.1 macallan wskbd* at wskbddev? console ? 256 1.1 macallan wsmouse* at wsmousedev? 257 1.1 macallan 258 1.1 macallan iic0 at cuda0 # CUDA's IIC bus 259 1.1 macallan 260 1.1 macallan zsc* at obio? 261 1.1 macallan zstty* at zsc? channel ? 262 1.1 macallan 263 1.1 macallan awacs* at obio? # Apple audio device 264 1.1 macallan 265 1.1 macallan # Cryptographic Devices 266 1.1 macallan 267 1.1 macallan # PCI cryptographic devices 268 1.1 macallan # (disabled, requires opencrypto framework which requires generic softints 269 1.1 macallan #hifn* at pci? dev ? function ? # Hifn 7755/7811/795x 270 1.1 macallan #ubsec* at pci? dev ? function ? # Broadcom 5501/5601/580x/582x 271 1.1 macallan 272 1.1 macallan 273 1.1 macallan scsibus* at scsi? 274 1.1 macallan 275 1.1 macallan sd* at scsibus? target ? lun ? # SCSI disks 276 1.1 macallan #st* at scsibus? target ? lun ? # SCSI tape drives 277 1.1 macallan cd* at scsibus? target ? lun ? # SCSI CD-ROM drives 278 1.1 macallan #ch* at scsibus? target ? lun ? # SCSI autochangers 279 1.1 macallan #ss* at scsibus? target ? lun ? # SCSI scanners 280 1.1 macallan #uk* at scsibus? target ? lun ? # SCSI unknown 281 1.1 macallan 282 1.1 macallan # PCI USB controllers 283 1.1 macallan ohci* at pci? dev ? function ? # USB Open Host Controller 284 1.1 macallan #ehci* at pci? dev ? function ? # USB Enhanced Host Controller 285 1.1 macallan 286 1.1 macallan #usb* at ehci? # USB bus support 287 1.1 macallan usb* at ohci? # USB bus support 288 1.1 macallan uhub* at usb? # USB Hubs 289 1.1 macallan uhub* at uhub? port ? 290 1.1 macallan 291 1.1 macallan uhidev* at uhub? port ? configuration ? interface ? # USB HID device 292 1.1 macallan 293 1.1 macallan ums* at uhidev? reportid ? # USB Mice 294 1.22 scole wsmouse* at ums? mux 0 295 1.1 macallan ukbd* at uhidev? reportid ? # USB Keyboards 296 1.1 macallan uhid* at uhidev? reportid ? # USB Generic HID 297 1.1 macallan 298 1.1 macallan umass* at uhub? port ? configuration ? interface ? # USB Mass Storage 299 1.1 macallan ugen* at uhub? port ? configuration ? interface ? # USB Generic driver 300 1.1 macallan 301 1.1 macallan # Audio Devices 302 1.1 macallan 303 1.1 macallan # Audio support 304 1.1 macallan audio* at audiobus? 305 1.1 macallan 306 1.11 christos spkr* at audio? # PC speaker (synthesized) 307 1.9 nat 308 1.1 macallan # 309 1.1 macallan # accept filters 310 1.1 macallan #pseudo-device accf_data # "dataready" accept filter 311 1.1 macallan #pseudo-device accf_http # "httpready" accept filter 312 1.1 macallan 313 1.1 macallan #pseudo-device crypto # /dev/crypto device 314 1.1 macallan # (disabled, requires generic softints) 315 1.1 macallan #pseudo-device swcrypto # software crypto implementation 316 1.1 macallan pseudo-device vnd # disk-like interface to files 317 1.1 macallan #options VND_COMPRESSION # compressed vnd(4) 318 1.1 macallan #pseudo-device ccd # concatenated/striped disk devices 319 1.1 macallan #pseudo-device cgd # cryptographic disk devices 320 1.1 macallan #pseudo-device raid # RAIDframe disk driver 321 1.1 macallan #options RAID_AUTOCONFIG # auto-configuration of RAID components 322 1.1 macallan # Options to enable various other RAIDframe RAID types. 323 1.1 macallan # options RF_INCLUDE_EVENODD=1 324 1.1 macallan # options RF_INCLUDE_RAID5_RS=1 325 1.1 macallan # options RF_INCLUDE_PARITYLOGGING=1 326 1.1 macallan # options RF_INCLUDE_CHAINDECLUSTER=1 327 1.1 macallan # options RF_INCLUDE_INTERDECLUSTER=1 328 1.1 macallan # options RF_INCLUDE_PARITY_DECLUSTERING=1 329 1.1 macallan # options RF_INCLUDE_PARITY_DECLUSTERING_DS=1 330 1.1 macallan pseudo-device fss # file system snapshot device 331 1.1 macallan #pseudo-device md # memory disk device 332 1.1 macallan pseudo-device loop # network loopback 333 1.22 scole pseudo-device bpfilter # packet filter 334 1.21 maxv #pseudo-device npf # NPF packet filter 335 1.1 macallan #pseudo-device ppp # Point-to-Point Protocol 336 1.1 macallan #pseudo-device pppoe # PPP over Ethernet (RFC 2516) 337 1.1 macallan #pseudo-device sl # Serial Line IP 338 1.1 macallan #pseudo-device tun # network tunneling over tty 339 1.22 scole #pseudo-device tap # virtual Ethernet 340 1.1 macallan #pseudo-device gre # generic L3 over IP tunnel 341 1.1 macallan #pseudo-device gif # IPv[46] over IPv[46] tunnel (RFC1933) 342 1.1 macallan #pseudo-device faith # IPv[46] tcp relay translation i/f 343 1.1 macallan #pseudo-device stf # 6to4 IPv6 over IPv4 encapsulation 344 1.1 macallan #pseudo-device vlan # IEEE 802.1q encapsulation 345 1.1 macallan #pseudo-device bridge # simple inter-network bridging 346 1.28 roy #pseudo-device vether # Virtual Ethernet for bridge 347 1.1 macallan #pseudo-device agr # IEEE 802.3ad link aggregation 348 1.1 macallan pseudo-device pty # pseudo-terminals 349 1.1 macallan pseudo-device openfirm # /dev/openfirm 350 1.1 macallan pseudo-device wsmux # mouse and keyboard multiplexer 351 1.1 macallan #pseudo-device swwdog # software watchdog driver - swwdog(4) 352 1.1 macallan pseudo-device clockctl # user control of clock subsystem 353 1.1 macallan pseudo-device ksyms # /dev/ksyms 354 1.1 macallan #pseudo-device putter # for puffs and pud 355 1.1 macallan 356 1.1 macallan # userland interface to drivers, including autoconf and properties retrieval 357 1.1 macallan pseudo-device drvctl 358 1.1 macallan 359 1.1 macallan # Veriexec 360 1.24 sevan # include "dev/veriexec.config" 361 1.1 macallan 362 1.1 macallan #options PAX_MPROTECT=0 # PaX mprotect(2) restrictions 363 1.22 scole 364 1.23 scole rlphy* at mii? phy ? # Realtek 8139/8201L PHYs 365 1.23 scole rtk* at pci? dev ? function ? # Realtek 8129/8139 366 1.22 scole 367 1.22 scole #rgephy* at mii? phy ? # Realtek 8169S/8110S internal PHYs 368 1.22 scole #ral* at pci? dev ? function ? # Ralink Technology RT25x0 802.11a/b/g 369