Home | History | Annotate | Line # | Download | only in conf
GENERIC revision 1.15
      1 # $NetBSD: GENERIC,v 1.15 2001/12/28 12:21:55 martin 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 	SYSVMSG		# System V-like message queues
     69 #options 	SYSVSEM		# System V-like semaphores
     70 #options 	SEMMNI=10	# number of semaphore identifiers
     71 #options 	SEMMNS=60	# number of semaphores in system
     72 #options 	SEMUME=10	# max number of undo entries per process
     73 #options 	SEMMNU=30	# number of undo structures in system
     74 #options 	SYSVSHM		# System V-like memory sharing
     75 #options 	SHMMAXPGS=1024	# 1024 pages is the default
     76 
     77 # Diagnostic/debugging support options
     78 #options 	DIAGNOSTIC	# cheap kernel consistency checks
     79 #options 	DEBUG		# expensive debugging checks/support
     80 #options 	DDB		# in-kernel debugger
     81 #makeoptions	DEBUG="-g"	# compile full symbol table
     82 #options 	SYSCALL_DEBUG
     83 #options 	UVMHIST
     84 #options 	UVMHIST_PRINT
     85 
     86 # Compatibility options
     87 options 	COMPAT_13	# NetBSD 1.3
     88 options 	COMPAT_14	# NetBSD 1.4,
     89 options 	COMPAT_43	# and 4.3BSD
     90 
     91 # Executable format options
     92 options 	EXEC_COFF	# COFF executables
     93 options 	EXEC_ELF32	# 32-bit ELF executables
     94 
     95 # File systems
     96 file-system 	FFS		# UFS
     97 file-system 	MFS		# memory file system
     98 file-system 	NFS		# Network File System client
     99 file-system 	PROCFS		# /proc
    100 file-system 	KERNFS		# /kern
    101 #file-system 	NULLFS		# loopback file system
    102 #file-system 	UMAPFS		# NULLFS + uid and gid remapping
    103 file-system	CD9660		# CD-ROM file system
    104 
    105 # File system options
    106 #options 	QUOTA		# UFS quotas
    107 #options 	NFSSERVER	# Network File System server
    108 
    109 # Networking options
    110 options 	INET		# IP + ICMP + TCP + UDP
    111 options 	NFS_BOOT_DHCP	# Support DHCP NFS root
    112 
    113 #options 	PCIVERBOSE	# verbose PCI device autoconfig messages
    114 #options 	PCI_CONFIG_DUMP	# verbosely dump PCI config space
    115 #options 	PCMCIAVERBOSE	# verbose PCMCIA configuration messages
    116 
    117 # Kernel root file system and dump configuration.
    118 #config		netbsd	root on ? type nfs
    119 #config		netbsd	root on wd0a type ffs
    120 config		netbsd	root on ? type ?
    121 
    122 #
    123 # Device configuration
    124 #
    125 
    126 mainbus0 at root
    127 
    128 shb*	at mainbus?
    129 
    130 # Serial Devices
    131 options 	SCIFCN_SPEED=57600
    132 scif0 at shb? port 0xffe80000 irq 12
    133 
    134 pvr0		at shb?
    135 wsdisplay*	at pvr? console ?
    136 
    137 maple0		at shb?
    138 mkbd*		at maple? port ? subunit ?
    139 wskbd*		at mkbd? console ?
    140 
    141 gdrom0		at shb?
    142 
    143 g2bus0		at shb?
    144 gapspci*	at g2bus?			# GAPS PCI bridge
    145 pci*		at gapspci?
    146 rtk*		at pci? dev ? function ?	# SEGA Broadband Adapter
    147 ukphy*		at mii? phy ?
    148 
    149 # SH PCMCIA controllers
    150 #shpcic0	at shb? port 0xb000000a iomem 0xb8000000 iosiz 0x1000000
    151 #shpcic1	at shb? port 0xb000000c iomem 0xb9000000 iosiz 0x1000000
    152 
    153 # PCMCIA bus support
    154 #pcmcia*	at shpcic? controller ? socket ?
    155 
    156 #com*	at pcmcia? function ?		# Modems and serial cards
    157 #wdc*	at pcmcia? function ?
    158 #wd*	at wdc? drive ?			# the drives themselves
    159 
    160 #ep*	at pcmcia? function ?		# 3Com 3c589 and 3c562 Ethernet
    161 #mbe*	at pcmcia? function ?		# MB8696x based Ethernet
    162 #ne*	at pcmcia? function ?		# NE2000-compatible Ethernet
    163 #sm*	at pcmcia? function ?		# Megahertz Ethernet
    164 
    165 #pseudo-device	vnd		4	# disk-like interface to files
    166 #pseudo-device	bpfilter	8	# Berkeley packet filter
    167 #pseudo-device	bridge			# simple inter-network bridging
    168 #pseudo-device	ipfilter		# IP filter (firewall) and NAT
    169 pseudo-device	loop			# network loopback
    170 pseudo-device	pty			# pseudo-terminals
    171 #pseudo-device	ppp		2	# Point-to-Point Protocol
    172 #pseudo-device	pppoe			# PPP over Ethernet (RFC 2516)
    173 #pseudo-device	tun		2	# network tunneling over tty
    174 pseudo-device	rnd			# /dev/random and in-kernel generator
    175 
    176 # Enable the hooks used for initializing the root memory-disk.
    177 #options 	MEMORY_DISK_HOOKS
    178 #options 	MEMORY_DISK_IS_ROOT	# force root on memory disk
    179 #options 	MEMORY_DISK_SERVER=0	# no userspace memory disk support
    180 #options 	MINIROOTSIZE=3074	# size of memory disk, in blocks
    181 
    182 pseudo-device	md		1	# memory disk device (ramdisk)
    183