# $NetBSD: MMTA,v 1.53 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
# 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
maxusers 32 # estimated number of users
# Standard system options
options SH3
options SH7708R # 100MHz
options PCLOCK=33330000 # 33.33MHz
options INITTODR_ALWAYS_USE_RTC
options IOM_RAM_SIZE=0x01000000 # 16MB
options IOM_RAM_BEGIN=0x0c000000
makeoptions DEFTEXTADDR="0x8c010000"
options INSECURE # disable kernel security levels
options RTC_OFFSET=-540 # hardware clock is this many mins. west of GMT
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 SYSVMSG # System V-like message queues
options SYSVSEM # System V-like semaphores
options SYSVSHM # System V-like memory sharing
#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
#options KGDB # remote debugger
#options KGDB_DEVNAME="\"com\"",KGDB_DEVADDR=0x3f8,KGDB_DEVRATE=9600
#makeoptions DEBUG="-g" # compile full symbol table
options SYSCALL_DEBUG
# Compatibility options
include "conf/compat_netbsd70.config"
options BSDDISKLABEL_EI # endian independent disklabel support
options COMPAT_MMEYE_OLDLABEL # old mmeye's disklabel support
# Executable format options
options EXEC_COFF # 32-bit COFF executables (sh-compiler)
# File systems
file-system FFS # UFS
#file-system EXT2FS # second extended file system (linux)
#file-system LFS # log-structured file system
file-system MFS # memory file system
file-system NFS # Network File System client
#file-system CD9660 # ISO 9660 + Rock Ridge file system
#file-system MSDOSFS # MS-DOS file system
file-system FDESC # /dev/fd
file-system KERNFS # /kern
file-system NULLFS # loopback file system
file-system PROCFS # /proc
file-system UMAPFS # NULLFS + uid and gid remapping
#file-system UNION # union file system
file-system PTYFS # /dev/pts/N support
# File system options
#options QUOTA # legacy UFS quotas
#options QUOTA2 # new, in-filesystem UFS quotas
options NFSSERVER # Network File System server
#options FIFO # FIFOs; RECOMMENDED
options FFS_NO_SNAPSHOT # No FFS snapshot support
#options EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and
# immutable) behave as system flags.
# Networking options
#options GATEWAY # packet forwarding
options INET # IP + ICMP + TCP + UDP
#options MROUTING # IP multicast routing
#options PIM # Protocol Independent Multicast
#options NETATALK # AppleTalk networking protocols
#options PPP_BSDCOMP # BSD-Compress compression support for PPP
#options PPP_DEFLATE # Deflate compression support for PPP
#options PPP_FILTER # Active filter support for PPP (requires bpf)
#options TCP_DEBUG # Record last TCP_NDEBUG packets with SO_DEBUG
# These options enable verbose messages for several subsystems.
# Warning, these may compile large string tables into the kernel!
options PCMCIAVERBOSE # verbose PCMCIA configuration messages
options MIIVERBOSE # verbose PHY autoconfig messages
#options SCSIVERBOSE # human readable SCSI error messages
# Kernel root file system and dump configuration.
#config netbsd root on ? type ?
#config netbsd root on sd0a type ffs
#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 ?
# Console Devices
# XXX
# PCMCIA serial interfaces
com* at pcmcia? function ? # Modems and serial cards
# SCSI Controllers and Devices
# PCMCIA SCSI controllers
#aic* at pcmcia? function ? # Adaptec APA-1460 SCSI
# SCSI bus support
#scsibus* at aic?
# SCSI devices
#sd* at scsibus? target ? lun ? # SCSI disk drives
#st* at scsibus? target ? lun ? # SCSI tape drives
#cd* at scsibus? target ? lun ? # SCSI CD-ROM drives
#ch* at scsibus? target ? lun ? # SCSI autochangers
#ss* at scsibus? target ? lun ? # SCSI scanners
#uk* at scsibus? target ? lun ? # SCSI unknown
# IDE and Related Devices
wdc* at pcmcia? function ?
# ATA (IDE) bus support
atabus* at ata?
# IDE drives
wd* at atabus? drive ?
# ATAPI bus support
#atapibus* at atapi?
# ATAPI devices
#cd* at atapibus? drive ? # ATAPI CD-ROM drives
# Miscellaneous mass storage devices
# Network Interfaces
# PCMCIA network interfaces
ep* at pcmcia? function ? # 3Com 3c589 and 3c562 Ethernet
ne* at pcmcia? function ? # NE2000-compatible Ethernet
#sm* at pcmcia? function ? # Megahertz Ethernet
# MII/PHY support
exphy* at mii? phy ? # 3Com internal PHYs
icsphy* at mii? phy ? # Integrated Circuit Systems ICS189x
inphy* at mii? phy ? # Intel 82555 PHYs
lxtphy* at mii? phy ? # Level One LXT-970 PHYs
nsphy* at mii? phy ? # NS83840 PHYs
qsphy* at mii? phy ? # Quality Semiconductor QS6612 PHYs
sqphy* at mii? phy ? # Seeq 80220/80221/80223 PHYs
#tlphy* at mii? phy ? # ThunderLAN PHYs
ukphy* at mii? phy ? # generic unknown PHYs
# Pull in optional local configuration
cinclude "arch/mmeye/conf/GENERIC.local"
# Pseudo-Devices
# disk/mass storage pseudo-devices
pseudo-device ccd # concatenated/striped disk devices
#pseudo-device fss # file system snapshot device
pseudo-device md # memory disk device (ramdisk)
pseudo-device vnd # disk-like interface to files
# network pseudo-devices
#pseudo-device bpfilter # Berkeley packet filter
#pseudo-device npf # NPF packet filter
pseudo-device loop # network loopback
pseudo-device ppp # Point-to-Point Protocol
#pseudo-device sl # Serial Line IP
#pseudo-device strip # Starmode Radio IP (Metricom)
pseudo-device tun # network tunneling over tty
# miscellaneous pseudo-devices
pseudo-device pty # pseudo-terminals
pseudo-device clockctl # user control of clock subsystem
# rnd is EXPERIMENTAL at this point.
#options RND_COM # use "com" randomness as well (BROKEN)