# $NetBSD: MMEYE,v 1.44 2018/08/01 20:04:12 maxv Exp $
#
# GENERIC -- everything that's currently supported
#
include "arch/mmeye/conf/std.mmeye"
#options INCLUDE_CONFIG_FILE # embed config file in kernel binary
maxusers 16 # estimated number of users
# CPU support
options SH3
options SH7708R # 100MHz
options MMEYE
options MMEYE_NEW_INT=0xb000000e
#options MMEYE_NO_CACHE
options PCLOCK=33330000 # 33.33MHz
options INITTODR_ALWAYS_USE_RTC
options IOM_RAM_SIZE=0x01000000 # 16MB
options IOM_RAM_BEGIN=0x0c000000
makeoptions DEFTEXTADDR="0x8c010000"
# Standard system options
#options INSECURE # disable kernel security levels
options HZ=50 # clock interrupt generates every 1/HZ sec
#options NTP # NTP phase/frequency locked loop
options KTRACE # system call tracing via ktrace(1)
options USERCONF # userconf(4) support
#options PIPE_SOCKETPAIR # smaller, but slower pipe(2)
#options SYSCTL_INCLUDE_DESCR # Include sysctl descriptions in kernel
# Diagnostic/debugging support options
#options DIAGNOSTIC # cheap kernel consistency checks
#options DEBUG # expensive debugging checks/support
#options DDB # in-kernel debugger
#makeoptions DEBUG="-g" # compile full symbol table
#options SYSCALL_DEBUG
# Compatibility options
include "conf/compat_netbsd14.config"
options BSDDISKLABEL_EI # endian independent disklabel support
options COMPAT_MMEYE_OLDLABEL # old mmeye's disklabel support
# Executable format options
options EXEC_COFF # COFF executables
# File systems
file-system FFS # UFS
file-system MFS # memory file system
file-system NFS # Network File System client
file-system PROCFS # /proc
#file-system PTYFS # /dev/pts/N support
options FFS_NO_SNAPSHOT # No FFS snapshot support
# Networking options
options INET # IP + ICMP + TCP + UDP
options NFS_BOOT_DHCP # Support DHCP NFS root
options PCMCIAVERBOSE # verbose PCMCIA configuration messages
# Kernel root file system and dump configuration.
#config netbsd root on ? type nfs
config netbsd root on wd0a type ffs
#
# Device configuration
#
mainbus0 at root
shb* at mainbus?
rtc* at shb?
com0 at mainbus? addr1 0xa4000000 irq1 11
com1 at mainbus? addr1 0xa4000008 irq1 12
# SH PCMCIA controllers
mmeyepcmcia0 at mainbus? addr1 0xb000000a addr2 0xb8000000 irq1 3 irq2 10
mmeyepcmcia1 at mainbus? addr1 0xb000000c addr2 0xb9000000 irq1 4 irq2 9
# PCMCIA bus support
pcmcia* at mmeyepcmcia? controller ? socket ?
com* at pcmcia? function ? # Modems and serial cards
wdc* at pcmcia? function ?
atabus* at ata?
wd* at atabus? drive ?
ep* at pcmcia? function ? # 3Com 3c589 and 3c562 Ethernet
mbe* at pcmcia? function ? # MB8696x based Ethernet
ne* at pcmcia? function ? # NE2000-compatible Ethernet
sm* at pcmcia? function ? # Megahertz Ethernet
pseudo-device vnd # disk-like interface to files
#pseudo-device fss # file system snapshot device
#pseudo-device bpfilter # Berkeley packet filter
#pseudo-device npf # NPF packet filter
pseudo-device loop # network loopback
pseudo-device pty # pseudo-terminals
pseudo-device clockctl # user control of clock subsystem
# Enable the hooks used for initializing the root memory-disk.
#options MEMORY_DISK_HOOKS
#options MEMORY_DISK_IS_ROOT # force root on memory disk
#options MEMORY_DISK_SERVER=0 # no userspace memory disk support
#options MEMORY_DISK_ROOT_SIZE=3074 # size of memory disk, in blocks
#pseudo-device md # memory disk device (ramdisk)