Home | History | Annotate | Line # | Download | only in conf
POWERMAC_G5 revision 1.39
      1 # Lean and mean config file for the POWERMAC G5
      2 # Author: Sanjay Lal <sanjayl (a] kymasys.com>
      3 
      4 include		"arch/macppc/conf/std.macppc.g5"
      5 
      6 options 	INCLUDE_CONFIG_FILE	# embed config file in kernel binary
      7 maxusers	32
      8 
      9 options 	PMAC_G5
     10 #options 	OFWOEA_DEBUG
     11 #no makeoptions	MACHINE_ARCH
     12 #makeoptions	MACHINE_ARCH="powerpc64"
     13 
     14 options 	ALTIVEC		# Include AltiVec support
     15 options 	EXSTORAGE_MAX=64
     16 #options 	MULTIPROCESSOR
     17 
     18 # Standard system options
     19 options 	INSECURE	# disable kernel security levels
     20 
     21 options 	RTC_OFFSET=0	# hardware clock is this many mins. west of GMT
     22 options 	NTP		# NTP phase/frequency locked loop
     23 options 	KTRACE		# system call tracing via ktrace(1)
     24 
     25 options 	SYSVMSG		# System V message queues
     26 options 	SYSVSEM		# System V semaphores
     27 #options 	SEMMNI=10	# number of semaphore identifiers
     28 #options 	SEMMNS=60	# number of semaphores in system
     29 #options 	SEMUME=10	# max number of undo entries per process
     30 #options 	SEMMNU=30	# number of undo structures in system
     31 options 	SYSVSHM		# System V shared memory
     32 #options 	SHMMAXPGS=1024	# 1024 pages is the default
     33 
     34 options 	MODULAR		# loadable kernel modules
     35 
     36 options 	USERCONF	# userconf(4) support
     37 #options 	PIPE_SOCKETPAIR	# smaller, but slower pipe(2)
     38 options 	SYSCTL_INCLUDE_DESCR	# Include sysctl descriptions in kernel
     39 
     40 # Alternate buffer queue strategies for better responsiveness under high
     41 # disk I/O load.
     42 #options 	BUFQ_READPRIO
     43 options 	BUFQ_PRIOCSCAN
     44 
     45 # Diagnostic/debugging support options
     46 options 	DIAGNOSTIC	# cheap kernel consistency checks
     47 #options 	DEBUG		# expensive debugging checks/support
     48 options 	ZS_CONSOLE_ABORT# allow break to get into DDB on serial
     49 options 	DDB		# in-kernel debugger
     50 options 	DDB_ONPANIC=1	# don't go into ddb on panic.
     51 options 	DDB_HISTORY_SIZE=512	# enable history editing in DDB
     52 options 	TRAP_PANICWAIT
     53 #options 	DDB_COMMANDONENTER="bt"
     54 
     55 makeoptions 	DEBUG="-g"	# compile full symbol table
     56 
     57 # Compatibility options
     58 include 	"conf/compat_netbsd70.config"
     59 #options 	COMPAT_BSDPTY	# /dev/[pt]ty?? ptys.
     60 
     61 # File systems
     62 file-system 	FFS		# UFS
     63 file-system 	MFS		# memory file system
     64 file-system 	TMPFS		# memory file system
     65 file-system 	KERNFS		# /kern
     66 file-system 	PROCFS		# /proc
     67 file-system 	NFS		# Network File System client
     68 #file-system 	CD9660		# ISO 9660 + Rock Ridge file system
     69 #file-system 	MSDOSFS		# MS-DOS file system
     70 file-system	PTYFS		# /dev/pts/N support
     71 #file-system	HFS		# experimental - Apple HFS+ (read-only)
     72 
     73 # File system options
     74 #options 	QUOTA		# legacy UFS quotas
     75 #options 	QUOTA2		# new, in-filesystem UFS quotas
     76 #options 	FFS_EI		# FFS Endian Independant support
     77 #options 	WAPBL		# File system journaling support
     78 #options 	UFS_DIRHASH	# UFS Large Directory Hashing - Experimental
     79 #options 	NFSSERVER	# Network File System server
     80 #options 	FFS_NO_SNAPSHOT	# ffs snapshots
     81 #options 	UFS_EXTATTR	# Extended attribute support for UFS1
     82 #options 	EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and
     83 				# immutable) behave as system flags.
     84 #options 	APPLE_UFS	# Apple UFS support in FFS
     85 # Networking options
     86 #options 	GATEWAY		# packet forwarding
     87 options 	INET		# IP + ICMP + TCP + UDP
     88 options 	INET6		# IPV6
     89 
     90 # These options enable verbose messages for several subsystems.
     91 # Warning, these may compile large string tables into the kernel!
     92 #options 	PCIVERBOSE	# verbose PCI device autoconfig messages
     93 #options 	MIIVERBOSE	# verbose PHY autoconfig messages
     94 #options 	PCI_CONFIG_DUMP	# verbosely dump PCI config space
     95 
     96 # wscons options
     97 #options 	WSEMUL_SUN			# sun terminal emulation
     98 options 	WSEMUL_VT100			# VT100 / VT220 emulation
     99 #options 	WSDISPLAY_COMPAT_USL		# wsconscfg VT handling
    100 #options 	WSDISPLAY_COMPAT_RAWKBD		# can get raw scancodes
    101 options 	WS_DEFAULT_FG=WSCOL_BLACK
    102 options 	WS_DEFAULT_BG=WSCOL_LIGHT_WHITE
    103 options 	WS_KERNEL_FG=WSCOL_GREEN
    104 options 	WS_KERNEL_BG=WSCOL_LIGHT_WHITE
    105 options 	FONT_GALLANT12x22
    106 
    107 # Kernel root file system and dump configuration.
    108 config		netbsd	root on ? type ?
    109 #config		netbsd	root on gem0 type nfs
    110 options         NFS_BOOT_DHCP
    111 
    112 #
    113 # Device configuration
    114 #
    115 
    116 mainbus* at root
    117 
    118 cpu0 	at mainbus?
    119 uni_n*	at mainbus?
    120 memory* at mainbus?
    121 spdmem* at memory? addr ?
    122 ki2c*	at uni_n?			# Keywest I2C
    123 
    124 ibmcpc* 	at mainbus?
    125 uninorth* 	at mainbus?
    126 smu* 		at mainbus?
    127 #options 	SMU_DEBUG
    128 smuiic* 	at smu?
    129 iic* 		at smuiic?
    130 
    131 
    132 pci*	at ibmcpc? bus ?
    133 pci*	at uninorth? bus ?
    134 pci*	at ppb? bus ?
    135 
    136 pchb*	at pci? dev ? function ?	# PCI-Host bridges
    137 ppb*	at pci? dev ? function ?	# PCI-PCI bridges
    138 
    139 obio0		at pci? dev ? function ?
    140 zsc*		at obio?
    141 zstty*		at zsc? channel ?
    142 snapper* 	at obio?
    143 ki2c*		at obio?	# Keywest I2C
    144 iic*		at i2cbus?
    145 
    146 admtemp* 	at iic?
    147 lmtemp* 	at iic?
    148 dstemp* 	at iic?
    149 adadc* 		at iic?
    150 fcu* 		at iic?
    151 smusat* 	at iic?
    152 deq* 		at iic?
    153 
    154 pmu* 		at obio?	# Apple PMU
    155 
    156 # Audio support
    157 audio*	at audiobus?
    158 
    159 spkr*	at audio?		# PC speaker (synthesized)
    160 wsbell* at spkr?
    161 
    162 gem*	at pci? dev ? function ?	# gmac ethernet
    163 #options 	GEM_DEBUG
    164 bge*	at pci? dev ? function ?	# borgcom ethernet
    165 bmtphy*	at mii? phy ?			# Broadcom BCM5201/BCM5202 PHYs
    166 brgphy*	at mii? phy ?			# Broadcom BCM5400 PHYs
    167 ukphy*	at mii? phy ?			# generic unknown PHYs
    168 
    169 # PCI IEEE1394 controllers
    170 #fwohci*	at pci? dev ? function ?	# IEEE1394 Open Host Controller
    171 
    172 # IEEE1394 nodes
    173 #ieee1394if* at fwohci?
    174 #fwip*	at ieee1394if?			# IP over IEEE1394
    175 #sbp*	at ieee1394if? euihi ? euilo ?
    176 #scsibus* at sbp?
    177 
    178 
    179 # PCI USB controllers
    180 ohci*	at pci? dev ? function ?	# USB Open Host Controller
    181 ehci*	at pci? dev ? function ?	# USB Enhanced Host Controller
    182 
    183 usb*	at ohci?					# USB bus support
    184 usb*	at ehci?					# USB bus support
    185 uhub*	at usb?						# USB Hubs
    186 uhub*	at uhub? port ?
    187 uhidev*	at uhub? port ? configuration ? interface ?	# USB HID device
    188 uhid*	at uhidev? reportid ?				# USB Generic HID
    189 ukbd*	at uhidev? reportid ?				# USB Keyboards
    190 wskbd*	at ukbd? console ?
    191 ums*	at uhidev? reportid ?				# USB Mice
    192 wsmouse* at ums?
    193 
    194 options		OFWOEA_WSCONS_NO_ROM_FONT
    195 genfb*	at pci? dev ? function ?	# Generic Open Firmware Framebuffer
    196 radeonfb*	at pci? dev ? function ?
    197 options 	RADEONFB_ALWAYS_ACCEL_PUTCHAR
    198 
    199 #radeon* 	at pci? dev ? function ?
    200 #radeondrmkmsfb* at radeonfbbus?
    201 
    202 #pciide* at pci? dev ? function ? flags 0x0000	# GENERIC pciide driver
    203 wdc* 	at pci? dev ? function ?		# Kauai ATA
    204 svwsata* at pci? dev ? function ?		# ServerWorks SATA controllers
    205 #options 	ATADEBUG
    206 obio*	at pci? dev ? function ?
    207 zsc*	at obio?
    208 zstty*	at zsc? channel ?
    209 
    210 wsdisplay0	at wsemuldisplaydev? console 1
    211 wsdisplay*	at wsemuldisplaydev?
    212 
    213 atabus* at ata?
    214 wd*	at atabus? drive ? flags 0x0000
    215 atapibus* at atapi?
    216 cd*	at atapibus? drive ? flags 0x0000	# ATAPI CD-ROM drives
    217 sd*	at atapibus? drive ? flags 0x0000	# ATAPI disk drives
    218 uk*	at atapibus? drive ? flags 0x0000	# ATAPI unknown
    219 
    220 
    221 #pseudo-device 	crypto			# opencrypto framework
    222 					# (disabled, requires generic softints)
    223 pseudo-device	vnd			# disk-like interface to files
    224 #pseudo-device	md			# memory disk device
    225 pseudo-device	loop			# network loopback
    226 pseudo-device	pty			# pseudo-terminals
    227 pseudo-device	openfirm		# /dev/openfirm
    228 pseudo-device	wsmux			# mouse and keyboard multiplexor
    229 pseudo-device	clockctl		# user control of clock subsystem
    230 pseudo-device	ksyms			# /dev/ksyms
    231 #pseudo-device	nsmb			# SMB requester
    232 #pseudo-device	pf			# PF packet filter
    233 #pseudo-device	pflog			# PF log if
    234 
    235 # Enable the hooks used for initializing the ram-disk.
    236 #options 	MEMORY_DISK_HOOKS
    237 #options 	MEMORY_DISK_IS_ROOT		# Force root on ram-disk
    238 #options 	MEMORY_DISK_ROOT_SIZE=4096	# 2 Megabytes
    239 #options 	MEMORY_DISK_RBFLAGS=RB_SINGLE	# boot in single-user mode
    240