GENERIC revision 1.17
1# $NetBSD: GENERIC,v 1.17 2002/02/28 16:52:46 uch 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 30# wscons options 31options WSEMUL_VT100 # VT100 / VT220 emulation 32options FONT_BOLD8x16 33 34maxusers 16 # estimated number of users 35 36# CPU support 37options SH7750 38options SH4 39options PCLOCK=49900000 # 50MHz 40#options PCLOCK=50000000 # 50MHz 41options IOM_ROM_BEGIN=0x00000000 42options IOM_ROM_SIZE=0x00100000 # 1MB 43options IOM_RAM_BEGIN=0x8c000000 44options IOM_RAM_SIZE=0x01000000 # 16MB 45 46# Standard system options 47#options UCONSOLE # users can use TIOCCONS (for xconsole) 48#options INSECURE # disable kernel security levels 49 50#options RTC_OFFSET=-540 51options HZ=100 # clock interrupt generates every 1/HZ sec 52#options NTP # NTP phase/frequency locked loop 53 54#options KTRACE # system call tracing via ktrace(1) 55 56#options PIPE_SOCKETPAIR # smaller, but slower pipe(2) 57 58#options SYSVMSG # System V-like message queues 59#options SYSVSEM # System V-like semaphores 60#options SEMMNI=10 # number of semaphore identifiers 61#options SEMMNS=60 # number of semaphores in system 62#options SEMUME=10 # max number of undo entries per process 63#options SEMMNU=30 # number of undo structures in system 64#options SYSVSHM # System V-like memory sharing 65#options SHMMAXPGS=1024 # 1024 pages is the default 66 67# Diagnostic/debugging support options 68#options DIAGNOSTIC # cheap kernel consistency checks 69#options DEBUG # expensive debugging checks/support 70#options DDB # in-kernel debugger 71#makeoptions DEBUG="-g" # compile full symbol table 72#options SYSCALL_DEBUG 73#options UVMHIST 74#options UVMHIST_PRINT 75 76# Compatibility options 77options COMPAT_43 # and 4.3BSD 78 79# Executable format options 80options EXEC_COFF # COFF executables 81options EXEC_ELF32 # 32-bit ELF executables 82 83# File systems 84file-system FFS # UFS 85file-system MFS # memory file system 86file-system NFS # Network File System client 87file-system PROCFS # /proc 88file-system KERNFS # /kern 89#file-system NULLFS # loopback file system 90#file-system UMAPFS # NULLFS + uid and gid remapping 91file-system CD9660 # CD-ROM file system 92 93# File system options 94#options QUOTA # UFS quotas 95#options NFSSERVER # Network File System server 96 97# Networking options 98options INET # IP + ICMP + TCP + UDP 99options NFS_BOOT_DHCP # Support DHCP NFS root 100 101#options PCIVERBOSE # verbose PCI device autoconfig messages 102#options PCI_CONFIG_DUMP # verbosely dump PCI config space 103 104# Kernel root file system and dump configuration. 105#config netbsd root on ? type nfs 106#config netbsd root on wd0a type ffs 107config netbsd root on ? type ? 108 109# 110# Device configuration 111# 112 113mainbus0 at root 114 115shb* at mainbus? 116 117# Serial Devices 118options SCIFCN_SPEED=57600 119scif0 at shb? port 0xffe80000 irq 12 120 121pvr0 at shb? 122wsdisplay* at pvr? console ? 123 124maple0 at shb? 125mkbd* at maple? port ? subunit ? 126wskbd* at mkbd? console ? 127 128gdrom0 at shb? 129 130g2bus0 at shb? 131gapspci* at g2bus? # GAPS PCI bridge 132pci* at gapspci? 133rtk* at pci? dev ? function ? # SEGA Broadband Adapter 134ukphy* at mii? phy ? 135 136#pseudo-device vnd 4 # disk-like interface to files 137#pseudo-device bpfilter 8 # Berkeley packet filter 138#pseudo-device bridge # simple inter-network bridging 139#pseudo-device ipfilter # IP filter (firewall) and NAT 140pseudo-device loop # network loopback 141pseudo-device pty # pseudo-terminals 142#pseudo-device ppp 2 # Point-to-Point Protocol 143#pseudo-device pppoe # PPP over Ethernet (RFC 2516) 144#pseudo-device tun 2 # network tunneling over tty 145pseudo-device rnd # /dev/random and in-kernel generator 146pseudo-device md 1 # memory disk device (ramdisk) 147