GENERIC revision 1.124
138032Speter# $NetBSD: GENERIC,v 1.124 2017/09/14 07:58:42 mrg Exp $ 238032Speter# 338032Speter# GENERIC machine description file 4266692Sgshapiro# 538032Speter# This machine description file is used to generate the default NetBSD 638032Speter# kernel. The generic kernel does not include all options, subsystems 738032Speter# and device drivers, but should be useful for most applications. 838032Speter# 938032Speter# The machine description file can be customised for your specific 1038032Speter# machine to reduce the kernel size and improve its performance. 1138032Speter# 1238032Speter# For further information on compiling NetBSD kernels, see the config(8) 1338032Speter# man page. 1490792Sgshapiro# 1590792Sgshapiro# For further information on hardware support for this architecture, see 1690792Sgshapiro# the intro(4) man page. For further information about kernel options 1790792Sgshapiro# for this architecture, see the options(4) man page. For an explanation 1890792Sgshapiro# of each device driver in this file see the section 4 man page for the 1990792Sgshapiro# device. 2038032Speter 2138032Speterinclude "arch/mmeye/conf/std.mmeye" 22132943Sgshapiro 23132943Sgshapirooptions INCLUDE_CONFIG_FILE # embed config file in kernel binary 2438032Speter 2538032Speter#ident "GENERIC-$Revision: 1.124 $" 2638032Speter 2790792Sgshapiromaxusers 16 # estimated number of users 2890792Sgshapiro 2990792Sgshapiro# CPU support 3090792Sgshapirooptions SH3 3190792Sgshapirooptions SH7708R # 100MHz 3290792Sgshapirooptions MMEYE 3338032Speteroptions MMEYE_NEW_INT=0xb000000e 3490792Sgshapiro#options MMEYE_NO_CACHE 3538032Speteroptions PCLOCK=33330000 # 33.33MHz 3638032Speteroptions INITTODR_ALWAYS_USE_RTC 3738032Speter 3838032Speteroptions IOM_RAM_SIZE=0x01000000 # 16MB 3938032Speteroptions IOM_RAM_BEGIN=0x0c000000 40132943Sgshapiromakeoptions DEFTEXTADDR="0x8c010000" 41132943Sgshapiro 4238032Speter# Standard system options 4338032Speter#options INSECURE # disable kernel security levels 4464562Sgshapiro 4590792Sgshapirooptions HZ=50 # clock interrupt generates every 1/HZ sec 4690792Sgshapirooptions NTP # NTP phase/frequency locked loop 4764562Sgshapirooptions KTRACE # system call tracing via ktrace(1) 4890792Sgshapiro 4964562Sgshapirooptions SYSVMSG # System V-like message queues 5038032Speteroptions SYSVSEM # System V-like semaphores 5138032Speteroptions SYSVSHM # System V-like memory sharing 5264562Sgshapiro 5364562Sgshapirooptions USERCONF # userconf(4) support 5490792Sgshapiro#options PIPE_SOCKETPAIR # smaller, but slower pipe(2) 5538032Speteroptions SYSCTL_INCLUDE_DESCR # Include sysctl descriptions in kernel 5638032Speter 5738032Speter# Diagnostic/debugging support options 5864562Sgshapiro#options DIAGNOSTIC # cheap kernel consistency checks 5964562Sgshapiro#options DEBUG # expensive debugging checks/support 6064562Sgshapiro#options DDB # in-kernel debugger 6164562Sgshapiro#options SYSCALL_DEBUG 6238032Speter#makeoptions DEBUG="-g" # compile full symbol table 6338032Speter 6438032Speter# Compatibility options 6590792Sgshapiroinclude "conf/compat_netbsd14.config" 6690792Sgshapiro 6790792Sgshapirooptions BSDDISKLABEL_EI # endian independent disklabel support 6890792Sgshapirooptions COMPAT_MMEYE_OLDLABEL # old mmeye's disklabel support 6990792Sgshapiro 7090792Sgshapiro# Executable format options 7190792Sgshapirooptions EXEC_COFF # COFF executables 7290792Sgshapiro 7338032Speter# File systems 7490792Sgshapirofile-system FFS # UFS 7590792Sgshapirofile-system EXT2FS # second extended file system (linux) 7690792Sgshapirofile-system LFS # log-structured file system 7790792Sgshapirofile-system MFS # memory file system 7890792Sgshapirofile-system NFS # Network File System client 7990792Sgshapirofile-system CD9660 # ISO 9660 + Rock Ridge file system 8090792Sgshapirofile-system MSDOSFS # MS-DOS file system 8190792Sgshapirofile-system FDESC # /dev/fd 8290792Sgshapirofile-system KERNFS # /kern 8390792Sgshapirofile-system NULLFS # loopback file system 8490792Sgshapirofile-system OVERLAY # overlay file system 8590792Sgshapirofile-system PUFFS # Userspace file systems (e.g. ntfs-3g & sshfs) 8690792Sgshapirofile-system PROCFS # /proc 8790792Sgshapirofile-system UMAPFS # NULLFS + uid and gid remapping 8890792Sgshapirofile-system UNION # union file system 8990792Sgshapirofile-system CODA # Coda File System; also needs vcoda (below) 9038032Speterfile-system PTYFS # /dev/pts/N support 9138032Speterfile-system TMPFS # Efficient memory file-system 9238032Speter#file-system UDF # experimental - OSTA UDF CD/DVD file-system 9338032Speter 9438032Speter# File system options 9538032Speter#options QUOTA # legacy UFS quotas 9638032Speter#options QUOTA2 # new, in-filesystem UFS quotas 9738032Speter#options FFS_EI # FFS Endian Independent support 9838032Speteroptions WAPBL # File system journaling support 9938032Speter#options UFS_DIRHASH # UFS Large Directory Hashing - Experimental 10038032Speteroptions NFSSERVER # Network File System server 10138032Speter#options FFS_NO_SNAPSHOT # No FFS snapshot support 10238032Speter#options UFS_EXTATTR # Extended attribute support for UFS1 103285303Sgshapiro#options EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and 10438032Speter # immutable) behave as system flags. 10538032Speter 10638032Speter# Networking options 107132943Sgshapiro#options GATEWAY # packet forwarding 10864562Sgshapirooptions INET # IP + ICMP + TCP + UDP 10938032Speteroptions INET6 # IPV6 11064562Sgshapiro#options IPSEC # IP security 11138032Speter#options IPSEC_DEBUG # debug for IP security 11264562Sgshapiro#options MROUTING # IP multicast routing 11338032Speter#options PIM # Protocol Independent Multicast 11438032Speter#options NETATALK # AppleTalk networking protocols 11538032Speter#options PPP_BSDCOMP # BSD-Compress compression support for PPP 11664562Sgshapiro#options PPP_DEFLATE # Deflate compression support for PPP 11738032Speter#options PPP_FILTER # Active filter support for PPP (requires bpf) 11838032Speter#options IPFILTER_LOG # ipmon(8) log support 11938032Speter#options IPFILTER_LOOKUP # ippool(8) support 12064562Sgshapirooptions IPFILTER_COMPAT # Compat for IP-Filter 12138032Speter#options IPFILTER_DEFAULT_BLOCK # block all packets by default 122285303Sgshapiro#options TCP_DEBUG # Record last TCP_NDEBUG packets with SO_DEBUG 12338032Speter 12438032Speter#options ALTQ # Manipulate network interfaces' output queues 12538032Speter#options ALTQ_BLUE # Stochastic Fair Blue 126285303Sgshapiro#options ALTQ_CBQ # Class-Based Queueing 12738032Speter#options ALTQ_CDNR # Diffserv Traffic Conditioner 12838032Speter#options ALTQ_FIFOQ # First-In First-Out Queue 129132943Sgshapiro#options ALTQ_FLOWVALVE # RED/flow-valve (red-penalty-box) 13038032Speter#options ALTQ_HFSC # Hierarchical Fair Service Curve 13138032Speter#options ALTQ_LOCALQ # Local queueing discipline 13238032Speter#options ALTQ_PRIQ # Priority Queueing 13338032Speter#options ALTQ_RED # Random Early Detection 13464562Sgshapiro#options ALTQ_RIO # RED with IN/OUT 13538032Speter#options ALTQ_WFQ # Weighted Fair Queueing 13638032Speter 137285303Sgshapirooptions NFS_BOOT_DHCP # Support DHCP NFS root 13838032Speter 13938032Speter# These options enable verbose messages for several subsystems. 14038032Speter# Warning, these may compile large string tables into the kernel! 14164562Sgshapirooptions PCMCIAVERBOSE # verbose PCMCIA configuration messages 14238032Speter 14338032Speter# Kernel root file system and dump configuration. 144285303Sgshapiroconfig netbsd root on ? type ? 14538032Speter 14638032Speter# 14738032Speter# Device configuration 14838032Speter# 14938032Speter 15038032Spetermainbus0 at root 15138032Speter 15238032Spetershb* at mainbus? 15364562Sgshapiro 15438032Speterrtc* at shb? 15538032Speter 15664562Sgshapirocom0 at mainbus? addr1 0xa4000000 irq1 11 15738032Spetercom1 at mainbus? addr1 0xa4000008 irq1 12 15838032Speter 15938032Speter# SH PCMCIA controllers 16038032Spetermmeyepcmcia0 at mainbus? addr1 0xb000000a addr2 0xb8000000 irq1 3 irq2 10 16164562Sgshapirommeyepcmcia1 at mainbus? addr1 0xb000000c addr2 0xb9000000 irq1 4 irq2 9 16238032Speter 16338032Speter# PCMCIA bus support 16490792Sgshapiropcmcia* at mmeyepcmcia? controller ? socket ? 16538032Speter 16638032Spetercom* at pcmcia? function ? # Modems and serial cards 16764562Sgshapirowdc* at pcmcia? function ? 16838032Speteratabus* at ata? 16938032Speterwd* at atabus? drive ? # the drives themselves 17038032Speter 17138032Speterep* at pcmcia? function ? # 3Com 3c589 and 3c562 Ethernet 172141858Sgshapirombe* at pcmcia? function ? # MB8696x based Ethernet 17338032Speterne* at pcmcia? function ? # NE2000-compatible Ethernet 17490792Sgshapirosm* at pcmcia? function ? # Megahertz Ethernet 17590792Sgshapiro 176157001Sgshapiro# Pseudo-Devices 17764562Sgshapiro 17838032Speter# 17964562Sgshapiro# accept filters 18038032Speterpseudo-device accf_data # "dataready" accept filter 18138032Speterpseudo-device accf_http # "httpready" accept filter 18238032Speter 18338032Speterpseudo-device ccd # concatenated/striped disk devices 18464562Sgshapiro#pseudo-device cgd # cryptographic disk devices 18538032Speter#pseudo-device raid # RAIDframe disk driver 18638032Speter#options RAID_AUTOCONFIG # auto-configuration of RAID components 18738032Speter# Options to enable various other RAIDframe RAID types. 18890792Sgshapiro# options RF_INCLUDE_EVENODD=1 18938032Speter# options RF_INCLUDE_RAID5_RS=1 19064562Sgshapiro# options RF_INCLUDE_PARITYLOGGING=1 19138032Speter# options RF_INCLUDE_CHAINDECLUSTER=1 19238032Speter# options RF_INCLUDE_INTERDECLUSTER=1 19338032Speter# options RF_INCLUDE_PARITY_DECLUSTERING=1 19438032Speter# options RF_INCLUDE_PARITY_DECLUSTERING_DS=1 19538032Speterpseudo-device fss # file system snapshot device 19638032Speterpseudo-device vnd # disk-like interface to files 19738032Speter#options VND_COMPRESSION # compressed vnd(4) 19864562Sgshapiropseudo-device bpfilter # Berkeley packet filter 19938032Speter#pseudo-device carp # Common Address Redundancy Protocol 20038032Speterpseudo-device ipfilter # IP filter (firewall) and NAT 20164562Sgshapiropseudo-device loop # network loopback 20266494Sgshapiropseudo-device ppp # Point-to-Point Protocol 20338032Speterpseudo-device pppoe # PPP over Ethernet (RFC 2516) 20438032Speterpseudo-device sl # Serial Line IP 20538032Speterpseudo-device strip # Starmode Radio IP (Metricom) 20638032Speterpseudo-device tun # network tunneling over tty 20764562Sgshapiropseudo-device tap # virtual Ethernet 20838032Speterpseudo-device gre # generic L3 over IP tunnel 20964562Sgshapiropseudo-device gif # IPv[46] over IPv[46] tunnel (RFC1933) 21038032Speter#pseudo-device faith # IPv[46] tcp relay translation i/f 21164562Sgshapiropseudo-device stf # 6to4 IPv6 over IPv4 encapsulation 21264562Sgshapiropseudo-device vlan # IEEE 802.1q encapsulation 21364562Sgshapiropseudo-device bridge # simple inter-network bridging 21464562Sgshapiro#options BRIDGE_IPF # bridge uses IP/IPv6 pfil hooks too 215#pseudo-device agr # IEEE 802.3ad link aggregation 216pseudo-device pty # pseudo-terminals 217pseudo-device vcoda # coda minicache <-> venus comm. 218#pseudo-device md # memory disk device (ramdisk) 219pseudo-device clockctl # user control of clock subsystem 220pseudo-device ksyms # /dev/ksyms 221#pseudo-device pf # PF packet filter 222#pseudo-device pflog # PF log if 223pseudo-device putter # for puffs and pud 224 225# Enable the hooks used for initializing the root memory-disk. 226#options MEMORY_DISK_HOOKS 227#options MEMORY_DISK_IS_ROOT # force root on memory disk 228#options MEMORY_DISK_SERVER=0 # no userspace memory disk support 229#options MEMORY_DISK_ROOT_SIZE=3074 # size of memory disk, in blocks 230 231# Veriexec 232# 233# a pseudo device needed for veriexec 234#pseudo-device veriexec 235# 236# Uncomment the fingerprint methods below that are desired. Note that 237# removing fingerprint methods will have almost no impact on the kernel 238# code size. 239# 240#options VERIFIED_EXEC_FP_SHA256 241#options VERIFIED_EXEC_FP_SHA384 242#options VERIFIED_EXEC_FP_SHA512 243