Home | History | Annotate | Line # | Download | only in conf
GENERIC revision 1.16
      1 # $NetBSD: GENERIC,v 1.16 2002/01/27 13:23:15 jdolecek 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 
     21 include 	"arch/dreamcast/conf/std.dreamcast"
     22 
     23 # Enable the hooks used for initializing the root memory-disk.
     24 options 	MEMORY_DISK_HOOKS
     25 options 	MEMORY_DISK_IS_ROOT	# force root on memory disk
     26 options 	MEMORY_DISK_SERVER=0	# no userspace memory disk support
     27 options 	MINIROOTSIZE=2880	# size of memory disk, in blocks
     28 #options 	MINIROOTSIZE=6000
     29 
     30 options 	DONT_INIT_BSC
     31 
     32 # wscons options
     33 options 	WSEMUL_VT100		# VT100 / VT220 emulation
     34 options 	FONT_BOLD8x16
     35 
     36 maxusers	16		# estimated number of users
     37 
     38 # CPU support
     39 options 	SH7750
     40 options 	SH4
     41 options 	DREAMCAST
     42 #options 	SH4_PCMCIA
     43 options 	EVBSH4
     44 #options 	MMEYE
     45 options 	PCLOCK=49900000			# 50MHz
     46 #options 	PCLOCK=50000000			# 50MHz
     47 options 	IOM_ROM_BEGIN=0x00000000
     48 options 	IOM_ROM_SIZE=0x00100000		# 1MB
     49 options 	IOM_RAM_BEGIN=0x8c000000
     50 options 	IOM_RAM_SIZE=0x01000000		# 16MB
     51 #options 	INITTODR_ALWAYS_USE_RTC
     52 #options 	BRAINS
     53 #options 	USE_RTCCLK
     54 #options 	SYNC_CLOCK_TO_RTC
     55 
     56 #options 	LED_ADDR=0xa8000000
     57 
     58 # Standard system options
     59 #options 	UCONSOLE	# users can use TIOCCONS (for xconsole)
     60 #options 	INSECURE	# disable kernel security levels
     61 
     62 #options 	RTC_OFFSET=-540
     63 options 	HZ=100		# clock interrupt generates every 1/HZ sec
     64 #options 	NTP		# NTP phase/frequency locked loop
     65 
     66 #options 	KTRACE		# system call tracing via ktrace(1)
     67 
     68 #options	PIPE_SOCKETPAIR	# smaller, but slower pipe(2)
     69 
     70 #options 	SYSVMSG		# System V-like message queues
     71 #options 	SYSVSEM		# System V-like semaphores
     72 #options 	SEMMNI=10	# number of semaphore identifiers
     73 #options 	SEMMNS=60	# number of semaphores in system
     74 #options 	SEMUME=10	# max number of undo entries per process
     75 #options 	SEMMNU=30	# number of undo structures in system
     76 #options 	SYSVSHM		# System V-like memory sharing
     77 #options 	SHMMAXPGS=1024	# 1024 pages is the default
     78 
     79 # Diagnostic/debugging support options
     80 #options 	DIAGNOSTIC	# cheap kernel consistency checks
     81 #options 	DEBUG		# expensive debugging checks/support
     82 #options 	DDB		# in-kernel debugger
     83 #makeoptions	DEBUG="-g"	# compile full symbol table
     84 #options 	SYSCALL_DEBUG
     85 #options 	UVMHIST
     86 #options 	UVMHIST_PRINT
     87 
     88 # Compatibility options
     89 options 	COMPAT_13	# NetBSD 1.3
     90 options 	COMPAT_14	# NetBSD 1.4,
     91 options 	COMPAT_43	# and 4.3BSD
     92 
     93 # Executable format options
     94 options 	EXEC_COFF	# COFF executables
     95 options 	EXEC_ELF32	# 32-bit ELF executables
     96 
     97 # File systems
     98 file-system 	FFS		# UFS
     99 file-system 	MFS		# memory file system
    100 file-system 	NFS		# Network File System client
    101 file-system 	PROCFS		# /proc
    102 file-system 	KERNFS		# /kern
    103 #file-system 	NULLFS		# loopback file system
    104 #file-system 	UMAPFS		# NULLFS + uid and gid remapping
    105 file-system	CD9660		# CD-ROM file system
    106 
    107 # File system options
    108 #options 	QUOTA		# UFS quotas
    109 #options 	NFSSERVER	# Network File System server
    110 
    111 # Networking options
    112 options 	INET		# IP + ICMP + TCP + UDP
    113 options 	NFS_BOOT_DHCP	# Support DHCP NFS root
    114 
    115 #options 	PCIVERBOSE	# verbose PCI device autoconfig messages
    116 #options 	PCI_CONFIG_DUMP	# verbosely dump PCI config space
    117 #options 	PCMCIAVERBOSE	# verbose PCMCIA configuration messages
    118 
    119 # Kernel root file system and dump configuration.
    120 #config		netbsd	root on ? type nfs
    121 #config		netbsd	root on wd0a type ffs
    122 config		netbsd	root on ? type ?
    123 
    124 #
    125 # Device configuration
    126 #
    127 
    128 mainbus0 at root
    129 
    130 shb*	at mainbus?
    131 
    132 # Serial Devices
    133 options 	SCIFCN_SPEED=57600
    134 scif0 at shb? port 0xffe80000 irq 12
    135 
    136 pvr0		at shb?
    137 wsdisplay*	at pvr? console ?
    138 
    139 maple0		at shb?
    140 mkbd*		at maple? port ? subunit ?
    141 wskbd*		at mkbd? console ?
    142 
    143 gdrom0		at shb?
    144 
    145 g2bus0		at shb?
    146 gapspci*	at g2bus?			# GAPS PCI bridge
    147 pci*		at gapspci?
    148 rtk*		at pci? dev ? function ?	# SEGA Broadband Adapter
    149 ukphy*		at mii? phy ?
    150 
    151 # SH PCMCIA controllers
    152 #shpcic0	at shb? port 0xb000000a iomem 0xb8000000 iosiz 0x1000000
    153 #shpcic1	at shb? port 0xb000000c iomem 0xb9000000 iosiz 0x1000000
    154 
    155 # PCMCIA bus support
    156 #pcmcia*	at shpcic? controller ? socket ?
    157 
    158 #com*	at pcmcia? function ?		# Modems and serial cards
    159 #wdc*	at pcmcia? function ?
    160 #wd*	at wdc? drive ?			# the drives themselves
    161 
    162 #ep*	at pcmcia? function ?		# 3Com 3c589 and 3c562 Ethernet
    163 #mbe*	at pcmcia? function ?		# MB8696x based Ethernet
    164 #ne*	at pcmcia? function ?		# NE2000-compatible Ethernet
    165 #sm*	at pcmcia? function ?		# Megahertz Ethernet
    166 
    167 #pseudo-device	vnd		4	# disk-like interface to files
    168 #pseudo-device	bpfilter	8	# Berkeley packet filter
    169 #pseudo-device	bridge			# simple inter-network bridging
    170 #pseudo-device	ipfilter		# IP filter (firewall) and NAT
    171 pseudo-device	loop			# network loopback
    172 pseudo-device	pty			# pseudo-terminals
    173 #pseudo-device	ppp		2	# Point-to-Point Protocol
    174 #pseudo-device	pppoe			# PPP over Ethernet (RFC 2516)
    175 #pseudo-device	tun		2	# network tunneling over tty
    176 pseudo-device	rnd			# /dev/random and in-kernel generator
    177 
    178 # Enable the hooks used for initializing the root memory-disk.
    179 #options 	MEMORY_DISK_HOOKS
    180 #options 	MEMORY_DISK_IS_ROOT	# force root on memory disk
    181 #options 	MEMORY_DISK_SERVER=0	# no userspace memory disk support
    182 #options 	MINIROOTSIZE=3074	# size of memory disk, in blocks
    183 
    184 pseudo-device	md		1	# memory disk device (ramdisk)
    185