1 1.14 gmcgarry # $NetBSD: GENERIC,v 1.14 2001/12/14 05:34:47 gmcgarry 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.1 marcus 23 1.1 marcus # Enable the hooks used for initializing the root memory-disk. 24 1.1 marcus options MEMORY_DISK_HOOKS 25 1.1 marcus options MEMORY_DISK_IS_ROOT # force root on memory disk 26 1.1 marcus options MEMORY_DISK_SERVER=0 # no userspace memory disk support 27 1.8 marcus options MINIROOTSIZE=2880 # size of memory disk, in blocks 28 1.13 lukem #options MINIROOTSIZE=6000 29 1.1 marcus 30 1.1 marcus options DONT_INIT_BSC 31 1.1 marcus 32 1.3 marcus # wscons options 33 1.3 marcus options WSEMUL_VT100 # VT100 / VT220 emulation 34 1.7 thorpej options FONT_BOLD8x16 35 1.3 marcus 36 1.1 marcus maxusers 16 # estimated number of users 37 1.1 marcus 38 1.1 marcus # CPU support 39 1.1 marcus options SH7750 40 1.13 lukem options SH4 41 1.13 lukem options DREAMCAST 42 1.13 lukem #options SH4_PCMCIA 43 1.1 marcus options EVBSH4 44 1.3 marcus #options MMEYE 45 1.13 lukem options PCLOCK=49900000 # 50MHz 46 1.13 lukem #options PCLOCK=50000000 # 50MHz 47 1.13 lukem options IOM_ROM_BEGIN=0x00000000 48 1.13 lukem options IOM_ROM_SIZE=0x00100000 # 1MB 49 1.13 lukem options IOM_RAM_BEGIN=0x8c000000 50 1.13 lukem options IOM_RAM_SIZE=0x01000000 # 16MB 51 1.13 lukem #options INITTODR_ALWAYS_USE_RTC 52 1.13 lukem #options BRAINS 53 1.13 lukem #options USE_RTCCLK 54 1.13 lukem #options SYNC_CLOCK_TO_RTC 55 1.1 marcus 56 1.13 lukem #options LED_ADDR=0xa8000000 57 1.1 marcus 58 1.1 marcus # Standard system options 59 1.1 marcus #options UCONSOLE # users can use TIOCCONS (for xconsole) 60 1.1 marcus #options INSECURE # disable kernel security levels 61 1.1 marcus 62 1.13 lukem #options RTC_OFFSET=-540 63 1.8 marcus options HZ=100 # clock interrupt generates every 1/HZ sec 64 1.1 marcus #options NTP # NTP phase/frequency locked loop 65 1.1 marcus 66 1.1 marcus #options KTRACE # system call tracing via ktrace(1) 67 1.1 marcus 68 1.1 marcus #options SYSVMSG # System V-like message queues 69 1.1 marcus #options SYSVSEM # System V-like semaphores 70 1.13 lukem #options SEMMNI=10 # number of semaphore identifiers 71 1.13 lukem #options SEMMNS=60 # number of semaphores in system 72 1.13 lukem #options SEMUME=10 # max number of undo entries per process 73 1.13 lukem #options SEMMNU=30 # number of undo structures in system 74 1.1 marcus #options SYSVSHM # System V-like memory sharing 75 1.1 marcus #options SHMMAXPGS=1024 # 1024 pages is the default 76 1.1 marcus 77 1.1 marcus # Diagnostic/debugging support options 78 1.1 marcus #options DIAGNOSTIC # cheap kernel consistency checks 79 1.1 marcus #options DEBUG # expensive debugging checks/support 80 1.1 marcus #options DDB # in-kernel debugger 81 1.1 marcus #makeoptions DEBUG="-g" # compile full symbol table 82 1.1 marcus #options SYSCALL_DEBUG 83 1.1 marcus #options UVMHIST 84 1.13 lukem #options UVMHIST_PRINT 85 1.1 marcus 86 1.1 marcus # Compatibility options 87 1.1 marcus options COMPAT_13 # NetBSD 1.3 88 1.1 marcus options COMPAT_14 # NetBSD 1.4, 89 1.1 marcus options COMPAT_43 # and 4.3BSD 90 1.1 marcus 91 1.1 marcus # Executable format options 92 1.1 marcus options EXEC_COFF # COFF executables 93 1.1 marcus options EXEC_ELF32 # 32-bit ELF executables 94 1.1 marcus 95 1.1 marcus # File systems 96 1.1 marcus file-system FFS # UFS 97 1.1 marcus file-system MFS # memory file system 98 1.6 thorpej file-system NFS # Network File System client 99 1.1 marcus file-system PROCFS # /proc 100 1.1 marcus file-system KERNFS # /kern 101 1.1 marcus #file-system NULLFS # loopback file system 102 1.1 marcus #file-system UMAPFS # NULLFS + uid and gid remapping 103 1.4 marcus file-system CD9660 # CD-ROM file system 104 1.1 marcus 105 1.1 marcus # File system options 106 1.1 marcus #options QUOTA # UFS quotas 107 1.1 marcus #options NFSSERVER # Network File System server 108 1.1 marcus 109 1.1 marcus # Networking options 110 1.1 marcus options INET # IP + ICMP + TCP + UDP 111 1.6 thorpej options NFS_BOOT_DHCP # Support DHCP NFS root 112 1.1 marcus 113 1.1 marcus #options PCIVERBOSE # verbose PCI device autoconfig messages 114 1.1 marcus #options PCI_CONFIG_DUMP # verbosely dump PCI config space 115 1.1 marcus #options PCMCIAVERBOSE # verbose PCMCIA configuration messages 116 1.1 marcus 117 1.1 marcus # Kernel root file system and dump configuration. 118 1.1 marcus #config netbsd root on ? type nfs 119 1.1 marcus #config netbsd root on wd0a type ffs 120 1.6 thorpej config netbsd root on ? type ? 121 1.1 marcus 122 1.1 marcus # 123 1.1 marcus # Device configuration 124 1.1 marcus # 125 1.1 marcus 126 1.1 marcus mainbus0 at root 127 1.1 marcus 128 1.1 marcus shb* at mainbus? 129 1.1 marcus 130 1.1 marcus # Serial Devices 131 1.13 lukem options SCIFCN_SPEED=57600 132 1.1 marcus scif0 at shb? port 0xffe80000 irq 12 133 1.3 marcus 134 1.6 thorpej pvr0 at shb? 135 1.13 lukem wsdisplay* at pvr? console ? 136 1.3 marcus 137 1.6 thorpej maple0 at shb? 138 1.6 thorpej mkbd* at maple? port ? subunit ? 139 1.6 thorpej wskbd* at mkbd? console ? 140 1.6 thorpej 141 1.6 thorpej gdrom0 at shb? 142 1.6 thorpej 143 1.6 thorpej g2bus0 at shb? 144 1.6 thorpej gapspci* at g2bus? # GAPS PCI bridge 145 1.6 thorpej pci* at gapspci? 146 1.6 thorpej rtk* at pci? dev ? function ? # SEGA Broadband Adapter 147 1.6 thorpej ukphy* at mii? phy ? 148 1.1 marcus 149 1.1 marcus # SH PCMCIA controllers 150 1.1 marcus #shpcic0 at shb? port 0xb000000a iomem 0xb8000000 iosiz 0x1000000 151 1.1 marcus #shpcic1 at shb? port 0xb000000c iomem 0xb9000000 iosiz 0x1000000 152 1.1 marcus 153 1.1 marcus # PCMCIA bus support 154 1.1 marcus #pcmcia* at shpcic? controller ? socket ? 155 1.1 marcus 156 1.1 marcus #com* at pcmcia? function ? # Modems and serial cards 157 1.1 marcus #wdc* at pcmcia? function ? 158 1.1 marcus #wd* at wdc? drive ? # the drives themselves 159 1.1 marcus 160 1.1 marcus #ep* at pcmcia? function ? # 3Com 3c589 and 3c562 Ethernet 161 1.1 marcus #mbe* at pcmcia? function ? # MB8696x based Ethernet 162 1.1 marcus #ne* at pcmcia? function ? # NE2000-compatible Ethernet 163 1.1 marcus #sm* at pcmcia? function ? # Megahertz Ethernet 164 1.1 marcus 165 1.1 marcus #pseudo-device vnd 4 # disk-like interface to files 166 1.1 marcus #pseudo-device bpfilter 8 # Berkeley packet filter 167 1.12 atatat #pseudo-device bridge # simple inter-network bridging 168 1.1 marcus #pseudo-device ipfilter # IP filter (firewall) and NAT 169 1.1 marcus pseudo-device loop # network loopback 170 1.1 marcus pseudo-device pty # pseudo-terminals 171 1.1 marcus #pseudo-device ppp 2 # Point-to-Point Protocol 172 1.1 marcus #pseudo-device tun 2 # network tunneling over tty 173 1.9 itojun pseudo-device rnd # /dev/random and in-kernel generator 174 1.1 marcus 175 1.1 marcus # Enable the hooks used for initializing the root memory-disk. 176 1.1 marcus #options MEMORY_DISK_HOOKS 177 1.1 marcus #options MEMORY_DISK_IS_ROOT # force root on memory disk 178 1.1 marcus #options MEMORY_DISK_SERVER=0 # no userspace memory disk support 179 1.1 marcus #options MINIROOTSIZE=3074 # size of memory disk, in blocks 180 1.1 marcus 181 1.1 marcus pseudo-device md 1 # memory disk device (ramdisk) 182