1 1.23 atatat # $NetBSD: GENERIC,v 1.23 2002/04/25 15:06:25 atatat Exp $ 2 1.1 marcus # 3 1.14 gmcgarry # GENERIC machine description file 4 1.14 gmcgarry # 5 1.14 gmcgarry # This machine description file is used to generate the default NetBSD 6 1.14 gmcgarry # kernel. The generic kernel does not include all options, subsystems 7 1.14 gmcgarry # and device drivers, but should be useful for most applications. 8 1.1 marcus # 9 1.14 gmcgarry # The machine description file can be customised for your specific 10 1.14 gmcgarry # machine to reduce the kernel size and improve its performance. 11 1.14 gmcgarry # 12 1.14 gmcgarry # For further information on compiling NetBSD kernels, see the config(8) 13 1.14 gmcgarry # man page. 14 1.14 gmcgarry # 15 1.14 gmcgarry # For further information on hardware support for this architecture, see 16 1.14 gmcgarry # the intro(4) man page. For further information about kernel options 17 1.14 gmcgarry # for this architecture, see the options(4) man page. For an explanation 18 1.14 gmcgarry # of each device driver in this file see the section 4 man page for the 19 1.14 gmcgarry # device. 20 1.1 marcus 21 1.14 gmcgarry include "arch/dreamcast/conf/std.dreamcast" 22 1.23 atatat 23 1.23 atatat options INCLUDE_CONFIG_FILE # embed config file in kernel binary 24 1.1 marcus 25 1.20 uch maxusers 16 # estimated number of users 26 1.20 uch 27 1.1 marcus # Enable the hooks used for initializing the root memory-disk. 28 1.1 marcus options MEMORY_DISK_HOOKS 29 1.1 marcus options MEMORY_DISK_IS_ROOT # force root on memory disk 30 1.1 marcus options MEMORY_DISK_SERVER=0 # no userspace memory disk support 31 1.21 lukem options MEMORY_DISK_ROOT_SIZE=2880 # size of memory disk, in blocks 32 1.21 lukem #options MEMORY_DISK_ROOT_SIZE=6000 33 1.1 marcus 34 1.1 marcus # CPU support 35 1.20 uch options SH4 36 1.1 marcus options SH7750 37 1.13 lukem options PCLOCK=49900000 # 50MHz 38 1.13 lukem #options PCLOCK=50000000 # 50MHz 39 1.13 lukem options IOM_ROM_BEGIN=0x00000000 40 1.13 lukem options IOM_ROM_SIZE=0x00100000 # 1MB 41 1.13 lukem options IOM_RAM_BEGIN=0x8c000000 42 1.13 lukem options IOM_RAM_SIZE=0x01000000 # 16MB 43 1.1 marcus 44 1.1 marcus # Standard system options 45 1.1 marcus #options UCONSOLE # users can use TIOCCONS (for xconsole) 46 1.1 marcus #options INSECURE # disable kernel security levels 47 1.1 marcus 48 1.13 lukem #options RTC_OFFSET=-540 49 1.8 marcus options HZ=100 # clock interrupt generates every 1/HZ sec 50 1.1 marcus #options NTP # NTP phase/frequency locked loop 51 1.1 marcus 52 1.1 marcus #options KTRACE # system call tracing via ktrace(1) 53 1.16 jdolecek 54 1.22 gmcgarry #options USERCONF # userconf(4) support 55 1.16 jdolecek #options PIPE_SOCKETPAIR # smaller, but slower pipe(2) 56 1.1 marcus 57 1.1 marcus #options SYSVMSG # System V-like message queues 58 1.1 marcus #options SYSVSEM # System V-like semaphores 59 1.13 lukem #options SEMMNI=10 # number of semaphore identifiers 60 1.13 lukem #options SEMMNS=60 # number of semaphores in system 61 1.13 lukem #options SEMUME=10 # max number of undo entries per process 62 1.13 lukem #options SEMMNU=30 # number of undo structures in system 63 1.1 marcus #options SYSVSHM # System V-like memory sharing 64 1.1 marcus #options SHMMAXPGS=1024 # 1024 pages is the default 65 1.1 marcus 66 1.1 marcus # Diagnostic/debugging support options 67 1.1 marcus #options DIAGNOSTIC # cheap kernel consistency checks 68 1.1 marcus #options DEBUG # expensive debugging checks/support 69 1.1 marcus #options DDB # in-kernel debugger 70 1.18 uch #options KGDB # remote debugger 71 1.18 uch #options "KGDB_DEVNAME=\"scif\"",KGDB_DEVRATE=57600 72 1.1 marcus #makeoptions DEBUG="-g" # compile full symbol table 73 1.1 marcus #options SYSCALL_DEBUG 74 1.1 marcus #options UVMHIST 75 1.13 lukem #options UVMHIST_PRINT 76 1.1 marcus 77 1.1 marcus # Compatibility options 78 1.1 marcus options COMPAT_43 # and 4.3BSD 79 1.1 marcus 80 1.1 marcus # Executable format options 81 1.1 marcus options EXEC_COFF # COFF executables 82 1.1 marcus options EXEC_ELF32 # 32-bit ELF executables 83 1.1 marcus 84 1.1 marcus # File systems 85 1.1 marcus file-system FFS # UFS 86 1.1 marcus file-system MFS # memory file system 87 1.6 thorpej file-system NFS # Network File System client 88 1.1 marcus file-system PROCFS # /proc 89 1.1 marcus file-system KERNFS # /kern 90 1.1 marcus #file-system NULLFS # loopback file system 91 1.1 marcus #file-system UMAPFS # NULLFS + uid and gid remapping 92 1.4 marcus file-system CD9660 # CD-ROM file system 93 1.1 marcus 94 1.1 marcus # File system options 95 1.1 marcus #options QUOTA # UFS quotas 96 1.1 marcus #options NFSSERVER # Network File System server 97 1.1 marcus 98 1.1 marcus # Networking options 99 1.1 marcus options INET # IP + ICMP + TCP + UDP 100 1.6 thorpej options NFS_BOOT_DHCP # Support DHCP NFS root 101 1.1 marcus 102 1.1 marcus #options PCIVERBOSE # verbose PCI device autoconfig messages 103 1.1 marcus #options PCI_CONFIG_DUMP # verbosely dump PCI config space 104 1.1 marcus 105 1.1 marcus # Kernel root file system and dump configuration. 106 1.1 marcus #config netbsd root on ? type nfs 107 1.1 marcus #config netbsd root on wd0a type ffs 108 1.6 thorpej config netbsd root on ? type ? 109 1.1 marcus 110 1.20 uch 111 1.20 uch # wscons options 112 1.20 uch options WSEMUL_VT100 # VT100 / VT220 emulation 113 1.20 uch options FONT_BOLD8x16 114 1.20 uch 115 1.1 marcus # 116 1.1 marcus # Device configuration 117 1.1 marcus # 118 1.1 marcus 119 1.1 marcus mainbus0 at root 120 1.1 marcus 121 1.20 uch cpu* at mainbus? 122 1.20 uch shb* at mainbus? 123 1.1 marcus 124 1.1 marcus # Serial Devices 125 1.18 uch #options SCIFCONSOLE 126 1.13 lukem options SCIFCN_SPEED=57600 127 1.20 uch scif0 at shb? 128 1.3 marcus 129 1.6 thorpej pvr0 at shb? 130 1.13 lukem wsdisplay* at pvr? console ? 131 1.3 marcus 132 1.6 thorpej maple0 at shb? 133 1.6 thorpej mkbd* at maple? port ? subunit ? 134 1.6 thorpej wskbd* at mkbd? console ? 135 1.6 thorpej 136 1.6 thorpej gdrom0 at shb? 137 1.6 thorpej 138 1.6 thorpej g2bus0 at shb? 139 1.6 thorpej gapspci* at g2bus? # GAPS PCI bridge 140 1.6 thorpej pci* at gapspci? 141 1.6 thorpej rtk* at pci? dev ? function ? # SEGA Broadband Adapter 142 1.6 thorpej ukphy* at mii? phy ? 143 1.1 marcus 144 1.1 marcus #pseudo-device vnd 4 # disk-like interface to files 145 1.1 marcus #pseudo-device bpfilter 8 # Berkeley packet filter 146 1.12 atatat #pseudo-device bridge # simple inter-network bridging 147 1.1 marcus #pseudo-device ipfilter # IP filter (firewall) and NAT 148 1.1 marcus pseudo-device loop # network loopback 149 1.1 marcus pseudo-device pty # pseudo-terminals 150 1.1 marcus #pseudo-device ppp 2 # Point-to-Point Protocol 151 1.15 martin #pseudo-device pppoe # PPP over Ethernet (RFC 2516) 152 1.1 marcus #pseudo-device tun 2 # network tunneling over tty 153 1.9 itojun pseudo-device rnd # /dev/random and in-kernel generator 154 1.1 marcus pseudo-device md 1 # memory disk device (ramdisk) 155