Home | History | Annotate | Line # | Download | only in conf
MMTAROMNEW revision 1.45
      1 #	$NetBSD: MMTAROMNEW,v 1.45 2011/02/19 10:46:27 kiyohara Exp $
      2 #
      3 #	GENERIC -- everything that's currently supported
      4 #
      5 
      6 include "arch/mmeye/conf/std.mmeye"
      7 
      8 #options 	INCLUDE_CONFIG_FILE	# embed config file in kernel binary
      9 
     10 # Enable the hooks used for initializing the root memory-disk.
     11 #options 	MEMORY_DISK_HOOKS
     12 #options 	MEMORY_DISK_IS_ROOT	# force root on memory disk
     13 #options 	MEMORY_DISK_SERVER=0	# no userspace memory disk support
     14 #options 	MEMORY_DISK_ROOT_SIZE=3074	# size of memory disk, in blocks
     15 
     16 options 	ROMIMAGE
     17 
     18 maxusers	32		# estimated number of users
     19 
     20 options		SH3
     21 options 	PCLOCK=33330000		# 33.33MHz
     22 options 	MMEYE_NEW_INT=0xb000000e
     23 #options 	MMEYE_NO_CACHE
     24 options 	INITTODR_ALWAYS_USE_RTC
     25 
     26 options 	IOM_RAM_SIZE=0x01000000	# 16MB
     27 options 	IOM_RAM_BEGIN=0x0c000000
     28 makeoptions	DEFTEXTADDR="0x8c010000"
     29 
     30 # This option allows you to force a serial console at the specified
     31 # I/O address.   see console(4) for details.
     32 #options 	CONSDEVNAME="\"com\""
     33 
     34 # Standard system options
     35 
     36 options 	INSECURE	# disable kernel security levels
     37 
     38 options 	RTC_OFFSET=0	# hardware clock is this many mins. west of GMT
     39 options 	HZ=10		# clock interrupt generates every 1/10 sec
     40 				# for Debug
     41 #options 	NTP		# NTP phase/frequency locked loop
     42 
     43 #options 	KTRACE		# system call tracing via ktrace(1)
     44 
     45 #options 	SYSVMSG		# System V-like message queues
     46 #options 	SYSVSEM		# System V-like semaphores
     47 #options 	SYSVSHM		# System V-like memory sharing
     48 
     49 options 	USERCONF	# userconf(4) support
     50 #options	PIPE_SOCKETPAIR	# smaller, but slower pipe(2)
     51 #options 	SYSCTL_INCLUDE_DESCR	# Include sysctl descriptions in kernel
     52 
     53 # Diagnostic/debugging support options
     54 #options 	DIAGNOSTIC	# cheap kernel consistency checks
     55 #options 	DEBUG		# expensive debugging checks/support
     56 #options 	KMEMSTATS	# kernel memory statistics (vmstat -m)
     57 #options 	DDB		# in-kernel debugger
     58 #options 	KGDB		# remote debugger
     59 #options 	KGDB_DEVNAME="\"com\"",KGDB_DEVADDR=0x3f8,KGDB_DEVRATE=9600
     60 #makeoptions	DEBUG="-g"	# compile full symbol table
     61 #options 	SYSCALL_DEBUG
     62 
     63 # Compatibility options
     64 options 	COMPAT_43	# and 4.3BSD
     65 #options 	TCP_COMPAT_42	# 4.2BSD TCP/IP bug compat. Not recommended.
     66 options 	BSDDISKLABEL_EI	# endian independent disklabel support
     67 options 	COMPAT_MMEYE_OLDLABEL	# old mmeye's disklabel support
     68 options		COMPAT_BSDPTY	# /dev/[pt]ty?? ptys.
     69 
     70 # Executable format options
     71 options 	EXEC_COFF	# 32-bit COFF executables (sh-compiler)
     72 
     73 # File systems
     74 file-system 	FFS		# UFS
     75 #file-system 	EXT2FS		# second extended file system (linux)
     76 #file-system 	LFS		# log-structured file system
     77 #file-system 	MFS		# memory file system
     78 #file-system 	NFS		# Network File System client
     79 #file-system 	CD9660		# ISO 9660 + Rock Ridge file system
     80 #file-system 	MSDOSFS		# MS-DOS file system
     81 #file-system 	FDESC		# /dev/fd
     82 #file-system 	KERNFS		# /kern
     83 file-system 	NULLFS		# loopback file system
     84 file-system 	PROCFS		# /proc
     85 file-system 	UMAPFS		# NULLFS + uid and gid remapping
     86 #file-system 	UNION		# union file system
     87 file-system	PTYFS		# /dev/pts/N support
     88 
     89 # File system options
     90 #options 	QUOTA		# UFS quotas
     91 #options 	NFSSERVER	# Network File System server
     92 options 	FFS_NO_SNAPSHOT	# No FFS snapshot support
     93 #options 	FIFO		# FIFOs; RECOMMENDED
     94 #options 	EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and
     95 				# immutable) behave as system flags.
     96 
     97 # Networking options
     98 #options 	GATEWAY		# packet forwarding
     99 #options 	INET		# IP + ICMP + TCP + UDP
    100 #options 	MROUTING	# IP multicast routing
    101 #options 	PIM		# Protocol Independent Multicast
    102 #options 	ISO,TPIP	# OSI
    103 #options 	EON		# OSI tunneling over IP
    104 #options 	NETATALK	# AppleTalk networking protocols
    105 #options 	PPP_BSDCOMP	# BSD-Compress compression support for PPP
    106 #options 	PPP_DEFLATE	# Deflate compression support for PPP
    107 #options 	PPP_FILTER	# Active filter support for PPP (requires bpf)
    108 #options 	PFIL_HOOKS	# pfil(9) packet filter hooks
    109 #options 	TCP_DEBUG	# Record last TCP_NDEBUG packets with SO_DEBUG
    110 
    111 # These options enable verbose messages for several subsystems.
    112 # Warning, these may compile large string tables into the kernel!
    113 options 	PCMCIAVERBOSE	# verbose PCMCIA configuration messages
    114 #options 	SCSIVERBOSE	# human readable SCSI error messages
    115 
    116 # Kernel root file system and dump configuration.
    117 #config		netbsd	root on ? type ?
    118 #config		netbsd	root on sd0a type ffs
    119 #config		netbsd	root on ? type nfs
    120 config		netbsd	root on wd0a type ffs
    121 
    122 #
    123 # Device configuration
    124 #
    125 
    126 mainbus0 at root
    127 
    128 shb* at mainbus?
    129 
    130 rtc*	at shb?
    131 
    132 com0	at mainbus? addr1 0xa4000000 irq1 11
    133 com1	at mainbus? addr1 0xa4000008 irq1 12
    134 
    135 # SH PCMCIA controllers
    136 mmeyepcmcia0 at mainbus? addr1 0xb000000a addr2 0xb8000000 irq1 3 irq2 10
    137 mmeyepcmcia1 at mainbus? addr1 0xb000000c addr2 0xb9000000 irq1 4 irq2 9
    138 
    139 # PCMCIA bus support
    140 pcmcia*	at mmeyepcmcia? controller ? socket ?
    141 
    142 # PCMCIA serial interfaces
    143 #com*	at pcmcia? function ?		# Modems and serial cards
    144 
    145 # SCSI Controllers and Devices
    146 
    147 # PCMCIA SCSI controllers
    148 #aic*	at pcmcia? function ?		# Adaptec APA-1460 SCSI
    149 
    150 # SCSI bus support
    151 #scsibus* at aic?
    152 
    153 # SCSI devices
    154 #sd*	at scsibus? target ? lun ?	# SCSI disk drives
    155 #st*	at scsibus? target ? lun ?	# SCSI tape drives
    156 #cd*	at scsibus? target ? lun ?	# SCSI CD-ROM drives
    157 #ch*	at scsibus? target ? lun ?	# SCSI autochangers
    158 #ss*	at scsibus? target ? lun ?	# SCSI scanners
    159 #uk*	at scsibus? target ? lun ?	# SCSI unknown
    160 
    161 
    162 # IDE and Related Devices
    163 
    164 wdc* at pcmcia? function ?
    165 
    166 # ATA (IDE) bus support
    167 atabus* at ata?
    168 
    169 # IDE drives
    170 wd*	at atabus? drive ?
    171 
    172 # ATAPI bus support
    173 #atapibus* at atapi?
    174 
    175 # ATAPI devices
    176 #cd*	at atapibus? drive ?		# ATAPI CD-ROM drives
    177 
    178 
    179 # Miscellaneous mass storage devices
    180 
    181 
    182 # Network Interfaces
    183 
    184 # PCMCIA network interfaces
    185 #ep*	at pcmcia? function ?		# 3Com 3c589 and 3c562 Ethernet
    186 #ne*	at pcmcia? function ?		# NE2000-compatible Ethernet
    187 #sm*	at pcmcia? function ?		# Megahertz Ethernet
    188 
    189 # MII/PHY support
    190 exphy*	at mii? phy ?			# 3Com internal PHYs
    191 icsphy*	at mii? phy ?			# Integrated Circuit Systems ICS189x
    192 inphy*	at mii? phy ?			# Intel 82555 PHYs
    193 lxtphy*	at mii? phy ?			# Level One LXT-970 PHYs
    194 nsphy*	at mii? phy ?			# NS83840 PHYs
    195 qsphy*	at mii? phy ?			# Quality Semiconductor QS6612 PHYs
    196 sqphy*	at mii? phy ?			# Seeq 80220/80221/80223 PHYs
    197 #tlphy*	at mii? phy ?			# ThunderLAN PHYs
    198 ukphy*	at mii? phy ?			# generic unknown PHYs
    199 
    200 
    201 # Pull in optional local configuration
    202 cinclude "arch/mmeye/conf/GENERIC.local"
    203 
    204 
    205 # Pseudo-Devices
    206 
    207 # disk/mass storage pseudo-devices
    208 #pseudo-device	ccd		4	# concatenated/striped disk devices
    209 #pseudo-device	fss			# file system snapshot device
    210 #pseudo-device	md			# memory disk device (ramdisk)
    211 #pseudo-device	vnd			# disk-like interface to files
    212 
    213 # network pseudo-devices
    214 #pseudo-device	bpfilter		# Berkeley packet filter
    215 #pseudo-device	ipfilter		# IP filter (firewall) and NAT
    216 #pseudo-device	loop			# network loopback
    217 #pseudo-device	ppp			# Point-to-Point Protocol
    218 #pseudo-device	sl			# Serial Line IP
    219 #pseudo-device	strip			# Starmode Radio IP (Metricom)
    220 #pseudo-device	tun			# network tunneling over tty
    221 
    222 # miscellaneous pseudo-devices
    223 #pseudo-device	pty			# pseudo-terminals
    224 pseudo-device	clockctl		# user control of clock subsystem
    225 
    226 # rnd is EXPERIMENTAL at this point.
    227 #pseudo-device	rnd			# /dev/random and in-kernel generator
    228 #options 	RND_COM			# use "com" randomness as well (BROKEN)
    229