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